library/roles/ubuntu-deb-general/tasks/pki-basics.yml: Fix a conditional.

This commit is contained in:
Andrea Dell'Amico 2016-09-13 13:48:00 +02:00
parent 80132d9e80
commit dee341975b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
- name: When we are going to install letsencrypt certificates, create a preliminary path and a self signed cert. Check if a certificate already exists. If so, skip all the related tasks
stat: path={{ letsencrypt_acme_user_home }}/live/{{ ansible_fqdn }}
register: true_cert
when: letsencrypt_acme_install is defined and letsencrypt_acme_install
when: ( letsencrypt_acme_install is defined and letsencrypt_acme_install )
tags: [ 'pki', 'ssl', 'letsencrypt' ]
- name: When we are going to install letsencrypt certificates, create a preliminary path and a self signed cert. Now the physical paths