Scott Baker | e0a8089 | 2016-11-23 12:07:07 -0800 | [diff] [blame] | 1 | --- |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 2 | # xos-config/tasks/main.yml |
Scott Baker | e0a8089 | 2016-11-23 12:07:07 -0800 | [diff] [blame] | 3 | |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 4 | - name: Bootstrap XOS database - create site, deployment, admin user |
| 5 | command: "python /opt/xos/tosca/run.py none /opt/cord_profile/{{ item }}" |
| 6 | with_items: |
| 7 | - "fixtures.yaml" |
| 8 | - "deployment.yaml" |
| 9 | tags: |
| 10 | - skip_ansible_lint # TOSCA loading should be idempotent |
| 11 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 12 | - name: Configure XOS with profile specific TOSCA |
| 13 | command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}" |
| 14 | with_items: "{{ xos_tosca_config_templates }}" |
| 15 | tags: |
| 16 | - skip_ansible_lint # TOSCA loading should be idempotent |
Scott Baker | e0a8089 | 2016-11-23 12:07:07 -0800 | [diff] [blame] | 17 | |