diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-08-11 12:12:10 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-08-11 12:02:29 +0000 |
| commit | 87efdce24bc802777d4da58f9f63c8d0838e7120 (patch) | |
| tree | c3082078e3a02d32dd503948c9bbd610f9ca6f12 | |
| parent | 352f91ac1077d557d833b199cb5a5d489e96437f (diff) | |
| download | kolla-ansible-87efdce24bc802777d4da58f9f63c8d0838e7120.tar.gz kolla-ansible-87efdce24bc802777d4da58f9f63c8d0838e7120.zip | |
Fix post-deploy mode
Ansible changed the default mode for files, even in stable
releases. [1]
This change restores the previous default (with the common
umask).
[1] https://github.com/ansible/ansible/pull/70221
Change-Id: I0f81214b4f95fe8a378844745ebc77f3c43027ab
Closes-Bug: #1891145
| -rw-r--r-- | ansible/post-deploy.yml | 1 | ||||
| -rw-r--r-- | releasenotes/notes/bug-1891145-95e3943e8e030962.yaml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index f0bc32c88..8112d9fd3 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -7,4 +7,5 @@ template: src: "roles/common/templates/admin-openrc.sh.j2" dest: "{{ node_config }}/admin-openrc.sh" + mode: 0644 run_once: True diff --git a/releasenotes/notes/bug-1891145-95e3943e8e030962.yaml b/releasenotes/notes/bug-1891145-95e3943e8e030962.yaml new file mode 100644 index 000000000..e9fce1415 --- /dev/null +++ b/releasenotes/notes/bug-1891145-95e3943e8e030962.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes ``post-deploy`` action with new Ansible releases setting a wrong mode + on the created file. `LP#1891145 <https://launchpad.net/bugs/1891145>`__ |
