Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 1 | --- |
| 2 | # Prepares the CORD head node for installing OpenStack, ONOS, and XOS |
| 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: DNS Server and apt-cacher-ng Setup |
| 15 | hosts: head |
| 16 | become: yes |
| 17 | roles: |
| 18 | - { role: dns-nsd, when: not on_maas } |
| 19 | - { role: dns-unbound, when: not on_maas } |
| 20 | - apt-cacher-ng |
| 21 | |
| 22 | - name: Configure all hosts to use DNS server |
| 23 | hosts: all |
| 24 | become: yes |
| 25 | roles: |
| 26 | - { role: dns-configure, when: not on_maas } |
| 27 | |
| 28 | - name: Prep systems |
| 29 | hosts: all |
| 30 | become: yes |
| 31 | roles: |
| 32 | - common-prep |
| 33 | - { role: cloudlab-prep, when: on_cloudlab } |