summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-09-18 09:59:27 -0400
committerMichael Gugino <mgugino@redhat.com>2017-09-18 10:04:55 -0400
commit7496ad209943822c34956fa9451ced993207ce3e (patch)
treef52a951fcee8d8ab4339a915105a544b641ae861 /roles/openshift_node/tasks
parentb124c678a9ac8c723f3576a03276de7cfd051931 (diff)
downloadopenshift-7496ad209943822c34956fa9451ced993207ce3e.tar.gz
openshift-7496ad209943822c34956fa9451ced993207ce3e.tar.bz2
openshift-7496ad209943822c34956fa9451ced993207ce3e.tar.xz
openshift-7496ad209943822c34956fa9451ced993207ce3e.zip
Fix registry auth task ordering
Currently, registry authentication credentials are not produced until after docker systemd service files are created. This commit ensures the credentials are created before the systemd service files to ensure the proper boolean is set to include the read-only mount of credentials inside containerized nodes and masters. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1316341
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 28238a8fa..ef79b6ac0 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -69,12 +69,12 @@
include: bootstrap.yml
when: openshift_node_bootstrap
+- include: registry_auth.yml
+
- name: include standard node config
include: config.yml
when: not openshift_node_bootstrap
-- include: registry_auth.yml
-
- name: Configure AWS Cloud Provider Settings
lineinfile:
dest: /etc/sysconfig/{{ openshift.common.service_type }}-node