diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-09-29 11:21:43 -0400 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-09-29 11:21:43 -0400 |
commit | 823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd (patch) | |
tree | 93e541c43f722792b5c5612bbff092c22c33c508 /roles | |
parent | 23237328eaaae5305c2f0e7d46e594cb5bdebc89 (diff) | |
download | openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.gz openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.bz2 openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.tar.xz openshift-823d4c4e18d33cbb6dcffb122b8cc80b8766b7dd.zip |
Fix registry auth variable
There is currently a bug in registry auth
credential creation logic for openshift_node
and openshift_node_upgrade
This commit fixes the logic.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_node/tasks/registry_auth.yml | 2 | ||||
-rw-r--r-- | roles/openshift_node_upgrade/tasks/registry_auth.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/registry_auth.yml b/roles/openshift_node/tasks/registry_auth.yml index 3d2831742..de396fb4b 100644 --- a/roles/openshift_node/tasks/registry_auth.yml +++ b/roles/openshift_node/tasks/registry_auth.yml @@ -21,4 +21,4 @@ when: - openshift.common.is_containerized | bool - oreg_auth_user is defined - - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool + - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool diff --git a/roles/openshift_node_upgrade/tasks/registry_auth.yml b/roles/openshift_node_upgrade/tasks/registry_auth.yml index 3d2831742..de396fb4b 100644 --- a/roles/openshift_node_upgrade/tasks/registry_auth.yml +++ b/roles/openshift_node_upgrade/tasks/registry_auth.yml @@ -21,4 +21,4 @@ when: - openshift.common.is_containerized | bool - oreg_auth_user is defined - - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool + - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool |