blob: 08c4f73a96c9c6ca22350ef4e19fdf720c012e59 [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
Scott Baker995641b2016-11-15 17:09:26 -08007 make:
8 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
9 target: new-nodes
Andy Bavier30d27c92016-09-15 15:59:17 -040010
11- name: Pause 5 seconds
12 pause: seconds=5
13
Scott Baker995641b2016-11-15 17:09:26 -080014- name: Remove vtn-external.yaml
15 file: path="{{ service_profile_repo_dest }}/{{ xos_configuration }}/vtn-external.yaml" state=absent
16
Scott Bakerdb5c8c72016-11-08 08:40:06 -080017- name: Rebuild VTN configuration with new nodes block
Scott Baker995641b2016-11-15 17:09:26 -080018 make:
19 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
20 target: vtn