From 9d040c6339aee466dd57ab082017fcb840297dca Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 27 Jul 2019 18:31:53 +0300 Subject: [PATCH] Fix(install-dehydrated): Fix condition --- playbooks/debian/roles/install-dehydrated/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2