forked from StackStorm/ansible-st2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
41 lines (32 loc) · 1.34 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# BWC PackageCloud repository to install: enterprise, enterprise-unstable, staging-enterprise, staging-enterprise-unstable.
bwc_repo: "enterprise"
# `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.2.0`.
bwc_version: latest
# used only if 'bwc_version' is numeric
bwc_revision: 1
# BWC license to install BWC enterprise bits
bwc_license: null
# Specify roles and assignments for BWC RBAC.
# Roles are pushed as YML files to /opt/stackstorm/rbac/roles
# Assignments are pushed as YML files to /opt/stackstorm/rbac/assignments/
# The schema for roles and assignments follow the exact schema definition
# define in https://bwc-docs.brocade.com/rbac.html#defining-roles-and-permission-grants
# and https://bwc-docs.brocade.com/rbac.html#defining-user-role-assignments.
bwc_rbac_default_roles: []
bwc_rbac_default_assignments:
- name: "{{ st2_system_user }}"
roles:
- admin
- name: "{{ st2_auth_username }}"
roles:
- system_admin
bwc_rbac:
roles: "{{ bwc_rbac_default_roles }}"
assignments: "{{ bwc_rbac_default_assignments }}"
# By specifying a valid configuration for LDAP,
# (See https://bwc-docs.brocade.com/authentication.html#ldap )
# LDAP auth backend is setup for st2 and BWC.
# Note that you just need to provide the backend_kwargs.
bwc_ldap:
backend_kwargs: {}