Skip to content
Tristan Le Guern edited this page Apr 18, 2019 · 3 revisions

The userlists section can be configured with the YAML tree haproxy_userlists. It is entirely optional.

It accepts a list of mappings of the following format:

  • name ;
  • groups ;
  • users.

groups

Accepts a list of mappings of the following format:

  • name ;
  • users.

users

Accepts a list of mappings of the following format:

  • name ;
  • password OR insecure_password ;
  • groups.

Example:

haproxy_userlists:
- name: kibana
  users:
  - name: "{{ kibana_user }}"
    insecure_password: "{{ kibana_password }}"

haproxy_userlists:
- name: www
  groups:
  - name: kibana_access
    users:
    - jacque
    - françois
  - name: apache_access
    users:
    - jacque
    - thibault
  users:
  - name: jacque
    password: "{{ jacque_password }}"
  - name: françois
    insecure_password: "{{ francois_password }}"
  - name: thibault
    password: "{{ thibault_password }}"
Clone this wiki locally