This commit is contained in:
mperochon 2017-06-06 14:40:10 +02:00
parent ac32f03c0d
commit 9dc1010f1e

View file

@ -49,7 +49,7 @@
group: "{{ issue_cert_file_group | d('root' )}}" group: "{{ issue_cert_file_group | d('root' )}}"
mode: "{{ issue_cert_file_mode | d('0644') }}" mode: "{{ issue_cert_file_mode | d('0644') }}"
owner: "{{ issue_cert_file_owner | d('root') }}" owner: "{{ issue_cert_file_owner | d('root') }}"
when: when:
- inventory_hostname in play_hosts - inventory_hostname in play_hosts
- inventory_hostname == issue_cert_hosts|first - inventory_hostname == issue_cert_hosts|first
@ -60,8 +60,9 @@
group: "{{ issue_cert_file_group | d('root' )}}" group: "{{ issue_cert_file_group | d('root' )}}"
mode: "{{ issue_cert_file_mode | d('0640') }}" mode: "{{ issue_cert_file_mode | d('0640') }}"
owner: "{{ issue_cert_file_owner | d('root') }}" owner: "{{ issue_cert_file_owner | d('root') }}"
when: inventory_hostname in play_hosts when:
- inventory_hostname in play_hosts
- inventory_hostname == issue_cert_hosts|first
- name: issue_cert | Copy issuing CA cert - name: issue_cert | Copy issuing CA cert
copy: copy: