Andy Bavier | 3a1d064 | 2016-07-01 14:11:39 -0400 | [diff] [blame] | 1 | --- |
| 2 | # xos-compute-setup/tasks/main.yml |
| 3 | # |
| 4 | # Tell XOS that a new compute node has been added |
| 5 | |
Scott Baker | db5c8c7 | 2016-11-08 08:40:06 -0800 | [diff] [blame] | 6 | - name: Build XOS containers |
Scott Baker | 995641b | 2016-11-15 17:09:26 -0800 | [diff] [blame] | 7 | make: |
| 8 | chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}" |
| 9 | target: new-nodes |
Andy Bavier | 30d27c9 | 2016-09-15 15:59:17 -0400 | [diff] [blame] | 10 | |
| 11 | - name: Pause 5 seconds |
| 12 | pause: seconds=5 |
| 13 | |
Scott Baker | 995641b | 2016-11-15 17:09:26 -0800 | [diff] [blame] | 14 | - name: Remove vtn-external.yaml |
| 15 | file: path="{{ service_profile_repo_dest }}/{{ xos_configuration }}/vtn-external.yaml" state=absent |
| 16 | |
Scott Baker | db5c8c7 | 2016-11-08 08:40:06 -0800 | [diff] [blame] | 17 | - name: Rebuild VTN configuration with new nodes block |
Scott Baker | 995641b | 2016-11-15 17:09:26 -0800 | [diff] [blame] | 18 | make: |
| 19 | chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}" |
| 20 | target: vtn |