summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-03-06 13:52:20 -0700
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:04:22 -0700
commit7c7cb82fdd5583784fd5832b92886abf86934325 (patch)
tree52b109394947ecc960ac458a6c69dce334a46467 /roles/openshift_common
parent1c1df6a5733626865efc607d063f2a2a9b80499b (diff)
downloadopenshift-7c7cb82fdd5583784fd5832b92886abf86934325.tar.gz
openshift-7c7cb82fdd5583784fd5832b92886abf86934325.tar.bz2
openshift-7c7cb82fdd5583784fd5832b92886abf86934325.tar.xz
openshift-7c7cb82fdd5583784fd5832b92886abf86934325.zip
Use ansible playbook to initialize openshift cluster
* Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
Diffstat (limited to 'roles/openshift_common')
-rw-r--r--roles/openshift_common/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index 07737a71f..656a3880d 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -2,6 +2,9 @@
- name: Set hostname
hostname: name={{ openshift_hostname }}
+- name: Update all packages
+ yum: name=* state=latest
+
- name: Configure local facts file
file: path=/etc/ansible/facts.d/ state=directory mode=0750