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:
David Moreau Simard 2018-10-23 22:13:06 -04:00 committed by Ryan Petrello
parent b132f855a0
commit 1dd44df471
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777
3 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,9 @@ rabbitmq_erlang_cookie=cookiemonster
admin_user=admin
admin_password=password
# Whether or not to create preload data for demonstration purposes
create_preload_data=True
# AWX Secret key
# It's *very* important that this stay the same between upgrades or you will lose the ability to decrypt
# your credentials

View File

@ -1,5 +1,6 @@
---
dockerhub_version: "{{ lookup('file', playbook_dir + '/../VERSION') }}"
create_preload_data: True
admin_user: 'admin'
admin_email: 'root@localhost'

View File

@ -192,6 +192,7 @@
bash -c "awx-manage create_preload_data"
register: cdo
changed_when: "'added' in cdo.stdout"
when: create_preload_data | bool
- name: Delete management pod
shell: |