blob: 14b3d45e501b09c91581c8f54a5ca6276f067d50 [file] [log] [blame]
Scott Bakere0a80892016-11-23 12:07:07 -08001---
Zack Williamsa2763112017-01-03 11:38:38 -07002# xos-config/tasks/main.yml
Scott Bakere0a80892016-11-23 12:07:07 -08003
Andy Bavier9e7d54a2017-04-17 11:37:02 -04004- 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 Williamsa2763112017-01-03 11:38:38 -070012- 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 Bakere0a80892016-11-23 12:07:07 -080017