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:
softwarefactory-project-zuul[bot]
2018-10-24 15:53:57 +00:00
committed by GitHub
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: |