mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03:30
Fixed a bug, where the redis.conf first would be stored with mod 0600
and in the next task changed to 0666. This has broke the ability to rerun the playbook. Signed-off-by: JoelKle <34544090+JoelKle@users.noreply.github.com>
This commit is contained in:
parent
caab751215
commit
699f186890
@ -12,22 +12,22 @@
|
||||
|
||||
- name: Create Docker Compose Configuration
|
||||
template:
|
||||
src: "{{ item }}.j2"
|
||||
dest: "{{ docker_compose_dir }}/{{ item }}"
|
||||
mode: 0600
|
||||
with_items:
|
||||
- environment.sh
|
||||
- credentials.py
|
||||
- docker-compose.yml
|
||||
- nginx.conf
|
||||
- redis.conf
|
||||
src: "{{ item.file }}.j2"
|
||||
dest: "{{ docker_compose_dir }}/{{ item.file }}"
|
||||
mode: "{{ item.mode }}"
|
||||
loop:
|
||||
- file: environment.sh
|
||||
mode: "0600"
|
||||
- file: credentials.py
|
||||
mode: "0600"
|
||||
- file: docker-compose.yml
|
||||
mode: "0600"
|
||||
- file: nginx.conf
|
||||
mode: "0600"
|
||||
- file: redis.conf
|
||||
mode: "0664"
|
||||
register: awx_compose_config
|
||||
|
||||
- name: Set redis config to other group readable to satisfy redis-server
|
||||
file:
|
||||
path: "{{ docker_compose_dir }}/redis.conf"
|
||||
mode: 0666
|
||||
|
||||
- name: Render SECRET_KEY file
|
||||
copy:
|
||||
content: "{{ secret_key }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user