Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 1 | --- |
| 2 | # Installs the automation scripts used by MaaS to provision nodes. |
| 3 | |
| 4 | - name: Include vars |
| 5 | hosts: all |
| 6 | tasks: |
| 7 | - name: Include variables |
| 8 | include_vars: "{{ item }}" |
| 9 | with_items: |
| 10 | - vars/cord_defaults.yml |
| 11 | - vars/cord.yml |
| 12 | - vars/example_keystone.yml |
| 13 | |
| 14 | - name: Set up Automated Compute Node Provisioning |
| 15 | hosts: head |
| 16 | roles: |
| 17 | - { role: automation-integration, when: on_maas } |
| 18 | |
| 19 | - name: Prologue |
| 20 | hosts: head |
| 21 | roles: |
| 22 | - head-prologue |