Restrict permissions to wesher config
This commit is contained in:
parent
fb6a899a26
commit
fb25b52e7a
@ -39,6 +39,8 @@
|
|||||||
create: true
|
create: true
|
||||||
regexp: "^{{ item.split('=')[0] }}"
|
regexp: "^{{ item.split('=')[0] }}"
|
||||||
line: "{{ item }}"
|
line: "{{ item }}"
|
||||||
|
owner: root
|
||||||
|
mode: "0600"
|
||||||
loop:
|
loop:
|
||||||
- WESHER_CLUSTER_KEY={{ wesher_key }}
|
- WESHER_CLUSTER_KEY={{ wesher_key }}
|
||||||
- WESHER_JOIN={% for host in ansible_play_hosts %}{{ hostvars[host].ansible_default_ipv4.address }}{% if not loop.last %},{% endif %}{% endfor %}
|
- WESHER_JOIN={% for host in ansible_play_hosts %}{{ hostvars[host].ansible_default_ipv4.address }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user