We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c390b commit 0342e4bCopy full SHA for 0342e4b
1 file changed
roles/ad-dc/tasks/main.yaml
@@ -94,3 +94,34 @@
94
dest_path: target/ca.crt
95
format: pem
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
110
+ password: Asdf1234
111
+ enabled: true
112
+ upn: "alice@{{ ansible_facts.domain | upper }}"
113
+ groups:
114
+ set:
115
+ - Domain Users
116
+ - Superset Admins
117
118
+- name: Create user bob
119
120
+ name: bob
121
+ sam_account_name: sam-bob
122
123
124
+ upn: "bob@{{ ansible_facts.domain | upper }}"
125
126
127
0 commit comments