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
3 changed files with 5 additions and 0 deletions

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: |