From: Oleg Broytman Date: Sat, 27 Jul 2019 15:31:53 +0000 (+0300) Subject: Fix(install-dehydrated): Fix condition X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9d040c6339aee466dd57ab082017fcb840297dca;p=ansible.git Fix(install-dehydrated): Fix condition --- diff --git a/playbooks/debian/roles/install-dehydrated/tasks/main.yml b/playbooks/debian/roles/install-dehydrated/tasks/main.yml index 7672bc8..2169c5d 100644 --- a/playbooks/debian/roles/install-dehydrated/tasks/main.yml +++ b/playbooks/debian/roles/install-dehydrated/tasks/main.yml @@ -14,21 +14,21 @@ purge: yes state: latest update_cache: yes - when: dehydrated.stat.exists + when: not dehydrated.stat.exists - name: Prepare to clone dehydrated local_action: module: file path: /usr/local/src/LetsEncrypt state: directory - when: dehydrated.stat.exists + when: not dehydrated.stat.exists - name: Clone dehydrated local_action: module: git repo: https://github.com/lukas2511/dehydrated.git dest: /usr/local/src/LetsEncrypt - when: dehydrated.stat.exists + when: not dehydrated.stat.exists - name: Prepare the server to syncronize dehydrated become: true