Scott Baker | d5a396e | 2016-11-23 17:03:03 -0800 | [diff] [blame] | 1 | --- |
| 2 | # Runs "make cleanup", deletes XOS, reinstalls, and restarts XOS |
| 3 | |
| 4 | - name: Include vars |
| 5 | hosts: head |
| 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: Reinstall XOS |
| 15 | hosts: head |
| 16 | roles: |
| 17 | - xos-uninstall |
| 18 | - xos-install |
| 19 | - xos-config |
| 20 | - xos-head-start |
| 21 | |
| 22 | - name: Reprovision compute nodes |
| 23 | hosts: head |
| 24 | tasks: |
| 25 | - name: Delete maas inventory |
| 26 | command: cord prov delete -a |
| 27 | tags: |
| 28 | - skip_ansible_lint |