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