blob: 6ba451b43478e7e30c5b3e4496ade8c448599216 [file] [log] [blame]
Andy Bavier29682912017-01-24 10:28:58 -05001---
2# Creates a fabric configuration using 'cord generate'
3# Mainly useful for CiaB right now
4
5- name: Include vars
6 hosts: head
7 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
Zack Williamsa2763112017-01-03 11:38:38 -070011 - profile_manifests/cord_defaults.yml
12 - profile_manifests/cord.yml
13 - profile_manifests/example_keystone.yml
Andy Bavier29682912017-01-24 10:28:58 -050014
15- name: Prep fabric on head node
16 hosts: head
17 roles:
18 - fabric-head-prep
19
20- name: Prep fabric on compute nodes
21 hosts: compute
22 remote_user: ubuntu
23 roles:
24 - fabric-compute-prep
25
26- name: Refresh fabric config
27 hosts: head
28 roles:
29 - fabric-refresh