aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-13 16:44:10 +0000
committerGerrit Code Review <review@openstack.org>2016-09-13 16:44:10 +0000
commit6d03a0581996546116834d4296d86f4294419e0a (patch)
tree97e2192e6ff0b9dcd4a6cda20eb2ef8350f3ebed
parent7db277b1459effca5e8b3a13090d7b08639346cc (diff)
parent924fbb6f7a44f1b42a70f558578b2635c8b49d70 (diff)
downloadkolla-6d03a0581996546116834d4296d86f4294419e0a.tar.gz
kolla-6d03a0581996546116834d4296d86f4294419e0a.zip
Merge "Fix permissions of tmp files"
-rw-r--r--ansible/roles/ceph/tasks/bootstrap_mons.yml4
-rw-r--r--ansible/roles/mariadb/tasks/lookup_cluster.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/ansible/roles/ceph/tasks/bootstrap_mons.yml b/ansible/roles/ceph/tasks/bootstrap_mons.yml
index 2200c4f98..e145b0c3c 100644
--- a/ansible/roles/ceph/tasks/bootstrap_mons.yml
+++ b/ansible/roles/ceph/tasks/bootstrap_mons.yml
@@ -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
diff --git a/ansible/roles/mariadb/tasks/lookup_cluster.yml b/ansible/roles/mariadb/tasks/lookup_cluster.yml
index b14afedc8..fefc9d325 100644
--- a/ansible/roles/mariadb/tasks/lookup_cluster.yml
+++ b/ansible/roles/mariadb/tasks/lookup_cluster.yml
@@ -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