diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-12-05 12:04:15 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-12-05 12:04:15 -0500 |
commit | 0c1df9770c9ed2fd804b2c09096c9de596b1a335 (patch) | |
tree | 91b2c05dffe5ff6b3331b1d7612287cd6cdbc7f0 /roles/openshift_node/tasks | |
parent | 40ccc162de50107c6b1db06ca0c96aa949698f9f (diff) | |
download | openshift-0c1df9770c9ed2fd804b2c09096c9de596b1a335.tar.gz openshift-0c1df9770c9ed2fd804b2c09096c9de596b1a335.tar.bz2 openshift-0c1df9770c9ed2fd804b2c09096c9de596b1a335.tar.xz openshift-0c1df9770c9ed2fd804b2c09096c9de596b1a335.zip |
Fix oreg_auth_credentials_create register var
There is a variable collision for the *oreg_auth_credentials_create
variables in openshift_master and openshift_node registry_create
tasks.
This commit ensures standard and alternative oreg auth
credential placement tasks don't use the same register
variable.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1520866
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/registry_auth.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/registry_auth.yml b/roles/openshift_node/tasks/registry_auth.yml index f5428867a..ab43ec049 100644 --- a/roles/openshift_node/tasks/registry_auth.yml +++ b/roles/openshift_node/tasks/registry_auth.yml @@ -32,7 +32,7 @@ - openshift_docker_alternative_creds | bool - oreg_auth_user is defined - (not node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace) | bool - register: node_oreg_auth_credentials_create + register: node_oreg_auth_credentials_create_alt notify: - restart node @@ -43,4 +43,8 @@ when: - openshift.common.is_containerized | bool - oreg_auth_user is defined - - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool + - > + (node_oreg_auth_credentials_stat.stat.exists + or oreg_auth_credentials_replace + or node_oreg_auth_credentials_create.changed + or node_oreg_auth_credentials_create_alt.changed) | bool |