diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2021-08-03 07:12:52 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2021-08-03 07:12:52 +0200 |
commit | de89895d6dae10920ecddf966899c7b9bb9c21e6 (patch) | |
tree | fe9067ea18462896f3e9c3fde43574192798d4b3 /roles/dbreplication | |
parent | f07f06caefa79d047697c09f827c4640ff2793d9 (diff) | |
download | playbooks-ansible-de89895d6dae10920ecddf966899c7b9bb9c21e6.tar.gz playbooks-ansible-de89895d6dae10920ecddf966899c7b9bb9c21e6.tar.xz playbooks-ansible-de89895d6dae10920ecddf966899c7b9bb9c21e6.zip |
Fix destination file names for client certs
Diffstat (limited to 'roles/dbreplication')
-rw-r--r-- | roles/dbreplication/tasks/crt.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/dbreplication/tasks/crt.yml b/roles/dbreplication/tasks/crt.yml index 24d871a..82ece6d 100644 --- a/roles/dbreplication/tasks/crt.yml +++ b/roles/dbreplication/tasks/crt.yml @@ -2,7 +2,7 @@ - name: Installation du certificat client copy: src: "certs/{{ ansible_hostname }}.{{ item }}.{{ crtversion }}.crt" - dest: /etc/pki/tls/certs/ + dest: "/etc/pki/tls/certs/{{ ansible_hostname }}.{{ item }}.crt" owner: root group: root mode: 0644 @@ -14,7 +14,7 @@ - name: Installation de la clé cliente copy: src: "certs/{{ ansible_hostname }}.{{ item }}.{{ crtversion }}.key" - dest: /etc/pki/tls/private/ + dest: "/etc/pki/tls/private/{{ ansible_hostname }}.{{ item }}.key" owner: root group: root mode: 0400 |