mode 0644 for ca crt

This commit is contained in:
ace 2024-01-08 12:56:23 +03:00
parent 110cffff7a
commit bdc501ac3e
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -80,6 +80,7 @@
copy: copy:
content: "{{ cacert_ca_cert }}" content: "{{ cacert_ca_cert }}"
dest: "{{ host_item.path }}/{{ cacert_ca_name }}.crt" dest: "{{ host_item.path }}/{{ cacert_ca_name }}.crt"
mode: 0644
loop: "{{ cacert_ca_copy_to.hosts }}" loop: "{{ cacert_ca_copy_to.hosts }}"
loop_control: loop_control:
loop_var: host_item loop_var: host_item
@ -90,6 +91,7 @@
copy: copy:
content: "{{ cacert_ca_cert }}" content: "{{ cacert_ca_cert }}"
dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt" dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt"
mode: 0644
loop: "{{ cacert_ca_copy_to.hosts }}" loop: "{{ cacert_ca_copy_to.hosts }}"
loop_control: loop_control:
loop_var: host_item loop_var: host_item
@ -127,6 +129,7 @@
copy: copy:
content: "{{ cacert_ca_cert }}" content: "{{ cacert_ca_cert }}"
dest: "{{ group_item.path }}/{{ cacert_ca_name }}.crt" dest: "{{ group_item.path }}/{{ cacert_ca_name }}.crt"
mode: 0644
loop: "{{ cacert_ca_copy_to.groups }}" loop: "{{ cacert_ca_copy_to.groups }}"
loop_control: loop_control:
loop_var: group_item loop_var: group_item
@ -137,6 +140,7 @@
copy: copy:
content: "{{ cacert_ca_cert }}" content: "{{ cacert_ca_cert }}"
dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt" dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt"
mode: 0644
loop: "{{ cacert_ca_copy_to.groups }}" loop: "{{ cacert_ca_copy_to.groups }}"
loop_control: loop_control:
loop_var: group_item loop_var: group_item