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 | |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 6 | - name: Create nodes/vtn TOSCA config |
| 7 | template: |
| 8 | src: "{{ item }}.j2" |
| 9 | dest: "{{ service_profile_repo_dest }}/{{ xos_configuration }}/{{ item }}" |
| 10 | owner: "{{ ansible_user_id }}" |
| 11 | mode: 0644 |
| 12 | with_items: |
| 13 | - vtn.yaml |
| 14 | - nodes.yaml |
Scott Baker | 995641b | 2016-11-15 17:09:26 -0800 | [diff] [blame] | 15 | |
Scott Baker | db5c8c7 | 2016-11-08 08:40:06 -0800 | [diff] [blame] | 16 | - name: Rebuild VTN configuration with new nodes block |
Scott Baker | 995641b | 2016-11-15 17:09:26 -0800 | [diff] [blame] | 17 | make: |
| 18 | chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}" |
| 19 | target: vtn |
Zack Williams | 682450e | 2016-11-19 09:04:41 -0700 | [diff] [blame] | 20 | |