mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Merge pull request #2517 from dmsimard/preload_data
Let users disable create_preload_data if it isn't necessary Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -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