File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 41
41
src : /etc/beats/certs
42
42
dest : " /etc/beats/certs_{{ ansible_date_time.iso8601_micro }}"
43
43
mode : preserve
44
+ owner : root
45
+ group : root
44
46
remote_src : true
45
47
when : beats_check_cert_path.stat.exists
46
48
register : beats_move_cert_directory
68
70
src : " {{ elasticstack_ca_dir }}/{{ ansible_hostname }}-beats.zip"
69
71
dest : " {{ elasticstack_ca_dir }}/{{ ansible_hostname }}-beats.zip_{{ ansible_date_time.iso8601_micro }}"
70
72
mode : preserve
73
+ owner : root
74
+ group : root
71
75
remote_src : true
72
76
when : beats_check_cert_file.stat.exists
73
77
register : beats_move_cert_file
95
99
src : " {{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-beats.zip"
96
100
dest : " {{ lookup('config', 'DEFAULT_LOCAL_TMP') | dirname }}/{{ ansible_hostname }}-beats.zip_{{ ansible_date_time.iso8601_micro }}"
97
101
mode : preserve
102
+ owner : root
103
+ group : root
98
104
when : beats_check_temporary_cert.stat.exists
99
105
register : beats_move_cert_file
100
106
You can’t perform that action at this time.
0 commit comments