Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 1 | --- |
2 | # copy-cord-playbook.yml | ||||
3 | # Copy the cord directory from config node to head node | ||||
4 | |||||
5 | - name: Include vars | ||||
6 | hosts: config | ||||
7 | tasks: | ||||
8 | - name: Include variables | ||||
9 | include_vars: "{{ item }}" | ||||
10 | with_items: | ||||
11 | - "profile_manifests/{{ cord_profile }}.yml" | ||||
12 | - profile_manifests/local_vars.yml | ||||
13 | |||||
14 | - name: Copy cord directory structure to head node | ||||
15 | hosts: head | ||||
16 | roles: | ||||
17 | - copy-cord | ||||
18 |