mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Mount SECRET_KEY into dev env & document it
This commit is contained in:
@@ -30,6 +30,12 @@
|
||||
when: not lookup('vars', item.item, default='')
|
||||
loop: "{{ secrets.results }}"
|
||||
|
||||
- name: Write out SECRET_KEY
|
||||
copy:
|
||||
content: "{{ secret_key }}"
|
||||
dest: "{{ sources_dest }}/SECRET_KEY"
|
||||
no_log: true
|
||||
|
||||
- name: Render configuration templates
|
||||
template:
|
||||
src: "{{ item }}.j2"
|
||||
|
||||
@@ -30,6 +30,7 @@ services:
|
||||
- "../../docker-compose/_sources/database.py:/etc/tower/conf.d/database.py"
|
||||
- "../../docker-compose/_sources/websocket_secret.py:/etc/tower/conf.d/websocket_secret.py"
|
||||
- "../../docker-compose/_sources/local_settings.py:/etc/tower/conf.d/local_settings.py"
|
||||
- "../../docker-compose/_sources/SECRET_KEY:/etc/tower/SECRET_KEY"
|
||||
- "redis_socket:/var/run/redis/:rw"
|
||||
privileged: true
|
||||
tty: true
|
||||
|
||||
Reference in New Issue
Block a user