forked from ISTI-ansible-roles/ansible-roles
library/roles/ubuntu-deb-general/tasks/pki-basics.yml: Add the 'ca' tag to the tasks that create the /etc/pki directory tree.
This commit is contained in:
parent
2a18f55e34
commit
37b22b5f6b
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue