2017-02-08 21:41:36 +00:00
|
|
|
---
|
2017-08-30 13:03:22 +00:00
|
|
|
- include: ../shared/auth_backend.yml
|
|
|
|
vars:
|
|
|
|
auth_backend_description: A Username/Password Auth Backend primarily used for services needing to issue certificates
|
|
|
|
auth_backend_path: userpass
|
|
|
|
auth_backend_type: userpass
|
|
|
|
delegate_to: "{{ groups.vault|first }}"
|
|
|
|
run_once: true
|
|
|
|
|
2017-02-08 21:41:36 +00:00
|
|
|
- include: ../shared/create_role.yml
|
|
|
|
vars:
|
2017-08-30 13:03:22 +00:00
|
|
|
create_role_name: "{{ vault_etcd_role.name }}"
|
|
|
|
create_role_group: "{{ vault_etcd_role.group }}"
|
|
|
|
create_role_policy_rules: "{{ vault_etcd_role.policy_rules }}"
|
|
|
|
create_role_options: "{{ vault_etcd_role.role_options }}"
|
|
|
|
create_role_mount_path: "{{ vault_etcd_role.mount_path }}"
|
|
|
|
when: inventory_hostname in groups.etcd
|