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:04:22 -0700
commit7c7cb82fdd5583784fd5832b92886abf86934325 (patch)
tree52b109394947ecc960ac458a6c69dce334a46467 /roles
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')
-rw-r--r--roles/docker/tasks/main.yml2
-rw-r--r--roles/openshift_common/tasks/main.yml3
2 files changed, 4 insertions, 1 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index 2ecefd588..ca700db17 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -11,5 +11,5 @@
# From the origin rpm there exists instructions on how to
# setup origin properly. The following steps come from there
- name: Change root to be in the Docker group
- user: name=root groups=docker append=yes
+ user: name=root groups=dockerroot append=yes
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