---
- name: shared/auth_backend | Enable auth backend {{ auth_backend_path }}
  hashivault_auth_enable:
    url: "{{ vault_leader_url }}"
    token: "{{ vault_root_token }}"
    ca_cert: "{{ vault_cert_dir }}/ca.pem"
    name: "{{ auth_backend_type }}"
    mount_point: "{{ auth_backend_path }}"
    description: "{{ auth_backend_description|d('') }}"
  register: result
