We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51476c7 commit ec92d59Copy full SHA for ec92d59
roles/logstash/tasks/logstash-security.yml
@@ -74,6 +74,8 @@
74
src: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.p12"
75
dest: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.p12_{{ ansible_date_time.iso8601_micro }}"
76
mode: preserve
77
+ owner: root
78
+ group: root
79
remote_src: true
80
when: logstash_check_cert_file_ca_host.stat.exists
81
register: logstash_move_cert_file_ca_host
@@ -94,6 +96,8 @@
94
96
src: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.zip"
95
97
dest: "{{ elasticstack_ca_dir }}/{{ ansible_hostname }}-ls.zip_{{ ansible_date_time.iso8601_micro }}"
98
99
100
101
102
when: logstash_check_cert_zip_file_ca_host.stat.exists
103
register: logstash_move_cert_zip_file_ca_host
0 commit comments