blob: d8de0ede08937a39df18c5c7d40296babb770e51 [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
Zack Williams682450e2016-11-19 09:04:41 -07006- 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 Baker995641b2016-11-15 17:09:26 -080015
Scott Bakerdb5c8c72016-11-08 08:40:06 -080016- name: Rebuild VTN configuration with new nodes block
Scott Baker995641b2016-11-15 17:09:26 -080017 make:
18 chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}"
19 target: vtn
Zack Williams682450e2016-11-19 09:04:41 -070020