File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 94
94
dest_path : target/ca.crt
95
95
format : pem
96
96
delegate_to : localhost
97
+
98
+ # Create users and groups used by the OPA ad-ad-userinfo test
99
+
100
+ - name : Create Superset Admins group
101
+ microsoft.ad.group :
102
+ name : Superset Admins
103
+ scope : global
104
+ state : present
105
+
106
+ - name : Create user alice
107
+ microsoft.ad.user :
108
+ name : alice
109
+ sam_account_name : sam-alice # different than upn prefix (name)
110
+ password : Asdf1234
111
+ enabled : true
112
+ upn : " alice@{{ ansible_facts.domain | lower }}"
113
+ groups :
114
+ set :
115
+ - Domain Users
116
+ - Superset Admins
117
+
118
+ - name : Create user bob
119
+ microsoft.ad.user :
120
+ name : bob
121
+ sam_account_name : bob # same as upn prefix (name)
122
+ password : Asdf1234
123
+ enabled : true
124
+ upn : " bob@{{ ansible_facts.domain | upper }}"
125
+ groups :
126
+ set :
127
+ - Domain Users
128
+
129
+ - name : Create user charlie
130
+ microsoft.ad.user :
131
+ name : charlie
132
+ sam_account_name : charlie
133
+ password : Asdf1234
134
+ enabled : true
135
+ upn : " charlie@custom.test" # custom suffix
136
+ groups :
137
+ set :
138
+ - Domain Users
You can’t perform that action at this time.
0 commit comments