Merge "Fix permissions of tmp files"
This commit is contained in:
commit
6d03a05819
@ -6,7 +6,7 @@
|
||||
run_once: True
|
||||
|
||||
- name: Creating temp file on localhost
|
||||
local_action: copy content=None dest=/tmp/kolla_ceph_cluster mode=0600
|
||||
local_action: copy content=None dest=/tmp/kolla_ceph_cluster mode=0644
|
||||
changed_when: False
|
||||
always_run: True
|
||||
run_once: True
|
||||
@ -19,7 +19,7 @@
|
||||
register: ceph_mon_config_volume
|
||||
|
||||
- name: Writing hostname of host with existing cluster files to temp file
|
||||
local_action: copy content="{{ inventory_hostname }}" dest=/tmp/kolla_ceph_cluster mode=0600
|
||||
local_action: copy content="{{ inventory_hostname }}" dest=/tmp/kolla_ceph_cluster mode=0644
|
||||
changed_when: False
|
||||
always_run: True
|
||||
when: not ceph_mon_config_volume.changed
|
||||
|
@ -6,7 +6,7 @@
|
||||
run_once: True
|
||||
|
||||
- name: Creating temp file on localhost
|
||||
local_action: copy content=None dest=/tmp/kolla_mariadb_cluster mode=0600
|
||||
local_action: copy content=None dest=/tmp/kolla_mariadb_cluster mode=0644
|
||||
changed_when: False
|
||||
always_run: True
|
||||
run_once: True
|
||||
@ -19,7 +19,7 @@
|
||||
register: mariadb_volume
|
||||
|
||||
- name: Writing hostname of host with existing cluster files to temp file
|
||||
local_action: copy content={{ ansible_hostname }} dest=/tmp/kolla_mariadb_cluster mode=0600
|
||||
local_action: copy content={{ ansible_hostname }} dest=/tmp/kolla_mariadb_cluster mode=0644
|
||||
changed_when: False
|
||||
always_run: True
|
||||
when: not mariadb_volume | changed
|
||||
|
Loading…
Reference in New Issue
Block a user