| --- |
| # xos-compute-setup/tasks/main.yml |
| # |
| # Tell XOS that a new compute node has been added |
| |
| - name: Build XOS containers |
| command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make new-nodes |& tee xos-new-nodes.out" |
| tags: |
| - skip_ansible_lint |
| |
| - name: Pause 5 seconds |
| pause: seconds=5 |
| |
| - name: Rebuild VTN configuration with new nodes block |
| command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "rm -f vtn-external.yaml; make vtn |& tee xos-makevtn2.out" |
| tags: |
| - skip_ansible_lint |