summaryrefslogtreecommitdiffstats
path: root/roles
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:19:05 -0700
commit3324b6c8889074ee17d7be05588de8b58aa3774f (patch)
treee0bbe1b7eff59b576cdb4b25d83ddfb863e0a9cb /roles
parent9199379f94f6b11a4841e31f6c58a11c1e9f8c3a (diff)
downloadopenshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.gz
openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.bz2
openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.tar.xz
openshift-3324b6c8889074ee17d7be05588de8b58aa3774f.zip
Use ansible playbook to initialize openshift cluster
* Added playbooks/gce/openshift-cluster * Added bin/cluster (will replace cluster.sh)
Diffstat (limited to 'roles')
-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