From 37b22b5f6b2117116f03acbeb5ec79cebc5ac822 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 20 Jan 2017 18:31:31 +0100 Subject: [PATCH] library/roles/ubuntu-deb-general/tasks/pki-basics.yml: Add the 'ca' tag to the tasks that create the /etc/pki directory tree. --- ubuntu-deb-general/tasks/pki-basics.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}