summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/gce/openshift-node/config.yml1
-rw-r--r--roles/openshift_common/tasks/main.yml3
2 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-node/config.yml b/playbooks/gce/openshift-node/config.yml
index 17631d578..7f80b90a7 100644
--- a/playbooks/gce/openshift-node/config.yml
+++ b/playbooks/gce/openshift-node/config.yml
@@ -53,6 +53,7 @@
roles:
- openshift_register_nodes
tasks:
+ tasks:
- name: Create local temp directory for syncing certs
local_action: command /usr/bin/mktemp -d /tmp/openshift-ansible-XXXXXXX
register: mktemp
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