| # compute-node-refresh-playbook.yml |
| # Re-adds compute nodes to a XOS after a teardown cycle |
| # This analogous to the legacy `make vtn` command in service-profile |
| # On physical/CiaB w/MaaS: |
| # ansible-playbook -i /etc/maas/ansible/pod-inventory --extra-vars=@/opt/cord/build/genconfig/config.yml compute-node-refresh-playbook.yml |
| - name: Include variables |
| include_vars: "{{ item }}" |
| - "profile_manifests/{{ cord_profile }}.yml" |
| - profile_manifests/local_vars.yml |
| - name: Recreate compute node configuration |
| - include: add-onboard-containers-playbook.yml |
| - name: Enable compute nodes in XOS |