blob: d05e0345fbdb522dabc16f4071260561b8566abe [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Scott Bakere0a80892016-11-23 12:07:07 -080017---
Zack Williamsa2763112017-01-03 11:38:38 -070018# xos-config/tasks/main.yml
Scott Bakere0a80892016-11-23 12:07:07 -080019
Matteo Scandolob92469d2017-07-28 17:32:00 -070020# TODO move this to the TOSCA container
21
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080022# - name: Bootstrap XOS database - create site, deployment, admin user
23# command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
24# with_items:
25# - "fixtures.yaml"
26# - "deployment.yaml"
27# tags:
28# - skip_ansible_lint # TOSCA loading should be idempotent
Andy Bavier9e7d54a2017-04-17 11:37:02 -040029
Matteo Scandolo1ed76b82017-12-05 13:58:22 -080030# - name: Configure XOS with OpenStack config
31# command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
32# with_items:
33# - openstack.yaml
34# tags:
35# - skip_ansible_lint # TOSCA loading should be idempotent
Zack Williams3eca6472017-06-22 18:18:38 -070036
Zack Williamsa2763112017-01-03 11:38:38 -070037- name: Configure XOS with profile specific TOSCA
38 command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} /opt/cord_profile/{{ item }}"
39 with_items: "{{ xos_tosca_config_templates }}"
40 tags:
41 - skip_ansible_lint # TOSCA loading should be idempotent
Scott Bakere0a80892016-11-23 12:07:07 -080042