summaryrefslogtreecommitdiffstats
path: root/roles/openshift_ansible_inventory/tasks/main.yml
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-04-09 16:43:14 -0400
committerKenny Woodson <kwoodson@redhat.com>2015-04-09 16:43:14 -0400
commit1917cd3f88299c4dc23ef344c0e2aefc7e79db4f (patch)
treedd653ab5eba05b27054a322e494275d2b030e10b /roles/openshift_ansible_inventory/tasks/main.yml
parent285ff520ec5090bb89277efc3c89601b01e69990 (diff)
downloadopenshift-1917cd3f88299c4dc23ef344c0e2aefc7e79db4f.tar.gz
openshift-1917cd3f88299c4dc23ef344c0e2aefc7e79db4f.tar.bz2
openshift-1917cd3f88299c4dc23ef344c0e2aefc7e79db4f.tar.xz
openshift-1917cd3f88299c4dc23ef344c0e2aefc7e79db4f.zip
Adding a multi_ec2 yaml configure role
Diffstat (limited to 'roles/openshift_ansible_inventory/tasks/main.yml')
-rw-r--r--roles/openshift_ansible_inventory/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_ansible_inventory/tasks/main.yml b/roles/openshift_ansible_inventory/tasks/main.yml
new file mode 100644
index 000000000..3990d5750
--- /dev/null
+++ b/roles/openshift_ansible_inventory/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- yum:
+ name: openshift-ansible-inventory
+ state: present
+
+- template:
+ src: multi_ec2.yaml.j2
+ dest: /etc/ansible/multi_ec2.yaml
+ group: "{{ oo_inventory_group }}"
+ owner: "{{ oo_inventory_owner }}"
+ mode: "0640"