Zack Williams | 5223dd9 | 2017-02-28 23:38:02 -0700 | [diff] [blame] | 1 | --- |
2 | # deploy-computenode-playbook.yml | ||||
3 | # deploys compute nodes with Juju, creates config | ||||
4 | |||||
5 | - name: Include vars | ||||
6 | hosts: all | ||||
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: Deploy compute nodes, create configuration | ||||
15 | hosts: head | ||||
16 | roles: | ||||
17 | - juju-compute-setup | ||||
18 | - compute-node-config | ||||
19 |