mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 16:57:21 +00:00
Removed space-admin create and associated tasks
This commit is contained in:
1 parent
a374af8f1f
commit
3942ad4bea
3 files changed
-20
No files matched your search
@@ -15,15 +15,6 @@
|
||||
- Management Computers
|
||||
- User Computers
|
||||
|
||||
- name: Create domain administrator user
|
||||
community.windows.win_domain_user:
|
||||
name: "{{ domain_admin_username }}"
|
||||
password: "{{ domain_admin_password }}"
|
||||
state: present
|
||||
password_never_expires: yes
|
||||
groups:
|
||||
- Domain Admins
|
||||
|
||||
- name: Create file-transfer user for
|
||||
community.windows.win_domain_user:
|
||||
name: file-transfer
|
||||
|
||||
@@ -11,15 +11,6 @@
|
||||
rights: Read,Write,Modify,Delete
|
||||
loop: ["{{ study_folder }}", "{{ study_folder }}\\export"]
|
||||
|
||||
- name: Add Domain Admin permissions to study folder
|
||||
win_acl:
|
||||
path: "{{ item }}"
|
||||
state: present
|
||||
type: allow
|
||||
user: "{{ domain_admin_username }}"
|
||||
rights: "FullControll"
|
||||
loop: ["{{ study_folder }}", "{{ study_folder }}\\export"]
|
||||
|
||||
- name: Add file-transfer user permissions to study folder
|
||||
win_acl:
|
||||
path: '{{ study_folder }}\export'
|
||||
|
||||
@@ -23,5 +23,3 @@ standard_vms2:
|
||||
- { name: "{{ os_project }}-{{ win_project }}-fs02", security_group: "file_server", meta_name: fs02 }
|
||||
- { name: "{{ os_project }}-{{ win_project }}-wsus", security_group: "wsus_server", meta_name: wsus }
|
||||
- { name: "{{ os_project }}-{{ win_project }}-choc", security_group: "chocolatey_server", meta_name: choc }
|
||||
|
||||
domain_admin_username: space-admin
|
||||
Reference in new issue
Block a user