summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
diff options
context:
space:
mode:
authorTobias Florek <tob@butter.sh>2016-06-02 17:25:10 +0200
committerTobias Florek <tob@butter.sh>2016-06-02 17:25:10 +0200
commite7bba72cd95159179b5afd4f2b9e6f6d48cba0df (patch)
tree4e6af2480a7d85ad1f285ff207ef4a43017852a3 /roles/openshift_master/tasks
parentc4c6685855a9dc6b4c698465b799c72d6a4f13bd (diff)
downloadopenshift-e7bba72cd95159179b5afd4f2b9e6f6d48cba0df.tar.gz
openshift-e7bba72cd95159179b5afd4f2b9e6f6d48cba0df.tar.bz2
openshift-e7bba72cd95159179b5afd4f2b9e6f6d48cba0df.tar.xz
openshift-e7bba72cd95159179b5afd4f2b9e6f6d48cba0df.zip
Add flag to manage htpasswd, or not.
Setting `openshift_master_manage_htpasswd` falsy will disable managing the htpasswd file. It won't get overwritten/generated.
Diffstat (limited to 'roles/openshift_master/tasks')
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 63a54a0d9..8ae169dfb 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -93,7 +93,7 @@
src: htpasswd.j2
mode: 0600
backup: yes
- when: item.kind == 'HTPasswdPasswordIdentityProvider'
+ when: item.kind == 'HTPasswdPasswordIdentityProvider' and openshift.master.manage_htpasswd | bool
with_items: "{{ openshift.master.identity_providers }}"
- name: Create the ldap ca file if needed