summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-13 03:55:04 -0400
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:04:22 -0700
commit66332175b61a5a538aa73b76cbcf151e1882a52c (patch)
tree7d8951fbcce5cca66a2cd399a35b5c27c6a8277a
parent33dda93c3920d9f2df371d71393fb35829c1bdd1 (diff)
downloadopenshift-66332175b61a5a538aa73b76cbcf151e1882a52c.tar.gz
openshift-66332175b61a5a538aa73b76cbcf151e1882a52c.tar.bz2
openshift-66332175b61a5a538aa73b76cbcf151e1882a52c.tar.xz
openshift-66332175b61a5a538aa73b76cbcf151e1882a52c.zip
Move yum update * to new os_update_latest role
-rw-r--r--roles/openshift_common/tasks/main.yml3
-rw-r--r--roles/os_update_latest/tasks/main.yml3
2 files changed, 3 insertions, 3 deletions
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
diff --git a/roles/os_update_latest/tasks/main.yml b/roles/os_update_latest/tasks/main.yml
new file mode 100644
index 000000000..4a2c3d47a
--- /dev/null
+++ b/roles/os_update_latest/tasks/main.yml
@@ -0,0 +1,3 @@
+---
+- name: Update all packages
+ yum: name=* state=latest