Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 1 | --- |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame^] | 2 | # cord-prep-platform.yml |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 3 | # Prepares the CORD head node for installing OpenStack, ONOS, and XOS |
| 4 | |
| 5 | - name: Include vars |
| 6 | hosts: all |
| 7 | tasks: |
| 8 | - name: Include variables |
| 9 | include_vars: "{{ item }}" |
| 10 | with_items: |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame^] | 11 | - "profile_manifests/{{ cord_profile }}.yml" |
| 12 | - profile_manifests/local_vars.yml |
Andy Bavier | 12262e7 | 2016-12-02 11:36:57 -0500 | [diff] [blame] | 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 } |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame^] | 34 | |