mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 08:57:35 -02:30
Let users disable create_preload_data if it isn't necessary
The demo things might not be desirable in a production environment.
This commit is contained in:
committed by
Ryan Petrello
parent
b132f855a0
commit
1dd44df471
@@ -88,6 +88,9 @@ rabbitmq_erlang_cookie=cookiemonster
|
|||||||
admin_user=admin
|
admin_user=admin
|
||||||
admin_password=password
|
admin_password=password
|
||||||
|
|
||||||
|
# Whether or not to create preload data for demonstration purposes
|
||||||
|
create_preload_data=True
|
||||||
|
|
||||||
# AWX Secret key
|
# AWX Secret key
|
||||||
# It's *very* important that this stay the same between upgrades or you will lose the ability to decrypt
|
# It's *very* important that this stay the same between upgrades or you will lose the ability to decrypt
|
||||||
# your credentials
|
# your credentials
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
dockerhub_version: "{{ lookup('file', playbook_dir + '/../VERSION') }}"
|
dockerhub_version: "{{ lookup('file', playbook_dir + '/../VERSION') }}"
|
||||||
|
create_preload_data: True
|
||||||
|
|
||||||
admin_user: 'admin'
|
admin_user: 'admin'
|
||||||
admin_email: 'root@localhost'
|
admin_email: 'root@localhost'
|
||||||
|
|||||||
@@ -192,6 +192,7 @@
|
|||||||
bash -c "awx-manage create_preload_data"
|
bash -c "awx-manage create_preload_data"
|
||||||
register: cdo
|
register: cdo
|
||||||
changed_when: "'added' in cdo.stdout"
|
changed_when: "'added' in cdo.stdout"
|
||||||
|
when: create_preload_data | bool
|
||||||
|
|
||||||
- name: Delete management pod
|
- name: Delete management pod
|
||||||
shell: |
|
shell: |
|
||||||
|
|||||||
Reference in New Issue
Block a user