mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:17:21 +00:00
Use variables for the required OUs
This commit is contained in:
1 parent
ef80608d31
commit
02c0c31e86
2 files changed
+11
-9
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Users
|
||||
tags: post_promotion_users
|
||||
- name: Create Required OUs and Users
|
||||
tags: post_promotion_tasks
|
||||
block:
|
||||
- name: Create various OUs
|
||||
community.windows.win_domain_ou:
|
||||
@@ -8,12 +8,7 @@
|
||||
path: "DC={{ win_project }},DC=loc"
|
||||
state: present
|
||||
protected: true
|
||||
loop:
|
||||
- Project Users
|
||||
- Project Groups
|
||||
- Disabled Users
|
||||
- Management Computers
|
||||
- User Computers
|
||||
loop: "{{ OUs }}"
|
||||
|
||||
- name: Create file-transfer user for
|
||||
community.windows.win_domain_user:
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
group_policy_script: OpenStackADBuildv6.2.ps1
|
||||
group_policy_script: OpenStackADBuildv6.2.ps1
|
||||
|
||||
OUs:
|
||||
- Project Users
|
||||
- Project Groups
|
||||
- Disabled Users
|
||||
- Management Computers
|
||||
- User Computers
|
||||
Reference in new issue
Block a user