commit | ed101549c89555e7143e9d34f107f25c720ccd4e | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Wed May 18 20:26:15 2016 -0700 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Wed May 18 20:26:15 2016 -0700 |
tree | 56586569d00790776d5598245a3234592790b809 | |
parent | 73ff2c2285912ca4f6f1306c970944abd87d27df [diff] [blame] |
add support for running ansible on the head node to provision the compute node Change-Id: I4adda3e903423e68893d2354d6c9c36469ebb517
diff --git a/roles/ansible/tasks/main.yml b/roles/ansible/tasks/main.yml new file mode 100644 index 0000000..f97ecf8 --- /dev/null +++ b/roles/ansible/tasks/main.yml
@@ -0,0 +1,10 @@ +- name: Ansible Repository + become: yes + apt_repository: + repo="ppa:ansible/ansible" + +- name: Ensure Ansible + become: yes + apt: + name=ansible + state=latest