Browse Source

Move yum update * to new os_update_latest role

Jason DeTiberus 10 years ago
parent
commit
66332175b6
2 changed files with 3 additions and 3 deletions
  1. 0 3
      roles/openshift_common/tasks/main.yml
  2. 3 0
      roles/os_update_latest/tasks/main.yml

+ 0 - 3
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
 

+ 3 - 0
roles/os_update_latest/tasks/main.yml

@@ -0,0 +1,3 @@
+---
+- name: Update all packages
+  yum: name=* state=latest