add support for running ansible on the head node to provision the compute node
Change-Id: I4adda3e903423e68893d2354d6c9c36469ebb517
diff --git a/roles/ansible/meta/main.yml b/roles/ansible/meta/main.yml
new file mode 100644
index 0000000..49e9f79
--- /dev/null
+++ b/roles/ansible/meta/main.yml
@@ -0,0 +1,14 @@
+---
+galaxy_info:
+ author: Ciena Blueplanet
+ description: Ability to excute Ansible Playbooks
+ company: Ciena Blueplanet
+ license: Apache 2.0
+ min_ansible_version: 2.0
+ platforms:
+ - name: Ubuntu
+ versions:
+ - trusty
+ galaxy_tags:
+ - cord
+dependencies: []
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