X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Froles%2Finstall-dehydrated%2Ftasks%2Fmain.yml;fp=playbooks%2Fdebian%2Froles%2Finstall-dehydrated%2Ftasks%2Fmain.yml;h=2169c5da5a9a34f9e2fc6d77ec53b88c6cef173c;hb=9d040c6339aee466dd57ab082017fcb840297dca;hp=7672bc86c05be347305e4db09d28f6bca6a21d3a;hpb=2692d7b8c687c1135ce2e86192291a5176f7ef7b;p=ansible.git 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