summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/users.yml
blob: 8c0beab9dacca8a7b40ad8dd5e79a7e917c62e40 (plain)
1
2
3
4
5
6
7
8
9
10
---
- name: Copy htpasswd to /etc/origin/master
  copy: src="users/htpasswd" dest="/etc/origin/master/htpasswd" mode=0644 owner=root group=root force=yes backup=no
  when: "'masters' in group_names"

- include_tasks: users_resources.yml
  args:
    apply:
      run_once: true
      delegate_to: "{{ groups.masters[0] }}"