aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorMaksim Malchuk <maksim.malchuk@gmail.com>2023-05-03 00:37:59 +0300
committerMaksim Malchuk <maksim.malchuk@gmail.com>2023-05-31 14:22:34 +0300
commit5fd8117098d3fec6d96f6a918cc2d2bfa2f14c86 (patch)
treef51cea9cf6d66467c673b81f7c4510a74c0b3fb6 /tests/run.yml
parentd30d1fd655f6e82e53ddc9704dcec2331f4579e0 (diff)
downloadkolla-ansible-5fd8117098d3fec6d96f6a918cc2d2bfa2f14c86.tar.gz
kolla-ansible-5fd8117098d3fec6d96f6a918cc2d2bfa2f14c86.zip
Fix passwords.yml permissions
The kolla-genpwd, kolla-mergepwd, kolla-readpwd and kolla-writepwd commands now creates or updates passwords.yml with correct permissions. Also they display warning message about incorrect permissions. Closes-Bug: #2018338 Change-Id: I4b50053ced9150499d1d09fd4a0ec2e243cf938b Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run.yml b/tests/run.yml
index 8c5f3c970..e693db446 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -285,6 +285,7 @@
copy:
src: "{{ kolla_ansible_src_dir }}/etc/kolla/passwords.yml"
dest: /etc/kolla/passwords.yml
+ mode: "0640"
remote_src: true
- name: generate passwords
@@ -671,6 +672,7 @@
copy:
src: "{{ kolla_ansible_src_dir }}/etc/kolla/passwords.yml"
dest: /etc/kolla/passwords.yml
+ mode: "0640"
remote_src: true
- name: generate new passwords