summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-16 15:13:12 -0400
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:19:05 -0700
commit6ad94864f7d985f1bb671536bd398ea4bcd0f163 (patch)
tree2fe330900c29d8ad31bc0283685fa51eed1a2fd0
parent12745f3eb1f4eb99a27f03d6b7a60cd376add580 (diff)
downloadopenshift-6ad94864f7d985f1bb671536bd398ea4bcd0f163.tar.gz
openshift-6ad94864f7d985f1bb671536bd398ea4bcd0f163.tar.bz2
openshift-6ad94864f7d985f1bb671536bd398ea4bcd0f163.tar.xz
openshift-6ad94864f7d985f1bb671536bd398ea4bcd0f163.zip
add repos role to gce cluster launch so that we are applying os_update_latest after repo config
-rw-r--r--playbooks/gce/openshift-cluster/launch.yml1
-rw-r--r--roles/openshift_common/tasks/main.yml3
2 files changed, 1 insertions, 3 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml
index c70c199c6..70025e103 100644
--- a/playbooks/gce/openshift-cluster/launch.yml
+++ b/playbooks/gce/openshift-cluster/launch.yml
@@ -49,6 +49,7 @@
- hosts: "tag_env-{{ cluster_id }}"
roles:
+ - repos
- os_update_latest
- include: ../openshift-master/config.yml
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index 656a3880d..07737a71f 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -2,9 +2,6 @@
- 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