blob: d159ff112f2104e0bfb2baf4a6bd0bc08303d9a0 [file] [log] [blame]
Andy Bavier3a1d0642016-07-01 14:11:39 -04001---
2# xos-compute-setup/tasks/main.yml
3#
4# Tell XOS that a new compute node has been added
5
Scott Bakerdb5c8c72016-11-08 08:40:06 -08006- name: Build XOS containers
7 command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "make new-nodes |& tee xos-new-nodes.out"
Zack Williams35624562016-08-28 17:12:26 -07008 tags:
Scott Bakerdb5c8c72016-11-08 08:40:06 -08009 - skip_ansible_lint
Andy Bavier30d27c92016-09-15 15:59:17 -040010
11- name: Pause 5 seconds
12 pause: seconds=5
13
Scott Bakerdb5c8c72016-11-08 08:40:06 -080014- name: Rebuild VTN configuration with new nodes block
15 command: chdir="{{ service_profile_repo_dest }}/{{ xos_configuration }}" bash -c "rm -f vtn-external.yaml; make vtn |& tee xos-makevtn2.out"
Andy Bavier30d27c92016-09-15 15:59:17 -040016 tags:
Scott Bakerdb5c8c72016-11-08 08:40:06 -080017 - skip_ansible_lint