diff --git a/ubuntu-deb-general/tasks/pki-basics.yml b/ubuntu-deb-general/tasks/pki-basics.yml index 05034436..feeadeda 100644 --- a/ubuntu-deb-general/tasks/pki-basics.yml +++ b/ubuntu-deb-general/tasks/pki-basics.yml @@ -1,12 +1,12 @@ --- - name: Ensure that the PKI directory exists file: path={{ pki_dir }} state=directory owner=root group=root mode=0755 - tags: [ 'pki', 'ssl', 'letsencrypt' ] + tags: [ 'pki', 'ssl', 'ca', 'letsencrypt' ] - name: Ensure that the PKI subdirectories exist file: path={{ pki_dir }}/{{ item }} state=directory owner=root group=root mode=0755 with_items: '{{ pki_subdirs }}' - tags: [ 'pki', 'ssl', 'letsencrypt' ] + tags: [ 'pki', 'ssl', 'ca', 'letsencrypt' ] - 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 | default(omit) }}/live/{{ ansible_fqdn }}