From bdc501ac3e3c4a05ed90faa24b37a20d564c249d Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 8 Jan 2024 12:56:23 +0300 Subject: [PATCH] mode 0644 for ca crt --- tasks/ca.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/ca.yaml b/tasks/ca.yaml index cd22182..56c28c4 100644 --- a/tasks/ca.yaml +++ b/tasks/ca.yaml @@ -80,6 +80,7 @@ copy: content: "{{ cacert_ca_cert }}" dest: "{{ host_item.path }}/{{ cacert_ca_name }}.crt" + mode: 0644 loop: "{{ cacert_ca_copy_to.hosts }}" loop_control: loop_var: host_item @@ -90,6 +91,7 @@ copy: content: "{{ cacert_ca_cert }}" dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt" + mode: 0644 loop: "{{ cacert_ca_copy_to.hosts }}" loop_control: loop_var: host_item @@ -127,6 +129,7 @@ copy: content: "{{ cacert_ca_cert }}" dest: "{{ group_item.path }}/{{ cacert_ca_name }}.crt" + mode: 0644 loop: "{{ cacert_ca_copy_to.groups }}" loop_control: loop_var: group_item @@ -137,6 +140,7 @@ copy: content: "{{ cacert_ca_cert }}" dest: "/etc/pki/ca-trust/source/anchors/{{ cacert_ca_name }}.crt" + mode: 0644 loop: "{{ cacert_ca_copy_to.groups }}" loop_control: loop_var: group_item