diff --git a/tasks/src/uwsm.yml b/tasks/src/uwsm.yml index c9e6bea..41b0439 100644 --- a/tasks/src/uwsm.yml +++ b/tasks/src/uwsm.yml @@ -14,9 +14,11 @@ - name: Check for installed {{ pkg }} register: stat_uwsm_inst ansible.builtin.stat: - path: "{{ uwsm.prefix }}" + path: "{{ uwsm.prefix }}/bin/uwsm" - name: Build and install {{ uwsm }} + when: + - not stat_uwsm_inst.stat.exists block: - name: Clone git repository {{ pkg }} ansible.builtin.git: