You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
645 B

  1. ---
  2. - include: ../shared/auth_backend.yml
  3. vars:
  4. auth_backend_description: A Username/Password Auth Backend primarily used for services needing to issue certificates
  5. auth_backend_path: userpass
  6. auth_backend_type: userpass
  7. when: inventory_hostname == groups.vault|first
  8. - include: ../shared/create_role.yml
  9. vars:
  10. create_role_name: "{{ item.name }}"
  11. create_role_group: "{{ item.group }}"
  12. create_role_policy_rules: "{{ item.policy_rules }}"
  13. create_role_options: "{{ item.role_options }}"
  14. create_role_mount_path: "{{ item.mount_path }}"
  15. with_items:
  16. - "{{ vault_etcd_role }}"
  17. - "{{ vault_kube_role }}"