blob: 39ecd35d4294b432ac1a42a69ee6f6e00e941c84 [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 Williams3eca6472017-06-22 18:18:38 -070012- name: Configure XOS with OpenStack config
13 when: use_openstack
14 command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
15 with_items:
16 - openstack.yaml
17 tags:
18 - skip_ansible_lint # TOSCA loading should be idempotent
19
Zack Williamsa2763112017-01-03 11:38:38 -070020- name: Configure XOS with profile specific TOSCA
21 command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
22 with_items: "{{ xos_tosca_config_templates }}"
23 tags:
24 - skip_ansible_lint # TOSCA loading should be idempotent
Scott Bakere0a80892016-11-23 12:07:07 -080025