I am trying to create a few AD groups from a remote RHEL development machine. However, when my playbook reaches this task:
`
- name: “AD | Create access group”
win_domain_group:
name: “GLS_{{ servername }}access"
category: security
display_name: "GLS{{ servername }}_access”
domain_username: “DOMAIN\dim_adm”
state: present
domain_password: “{{ dimpass }}”
organizational_unit: “OU={{ servername[:3]|upper }},OU=Datacenter Security Groups,OU=Groups,OU=DOMAIN,DC=DOMAIN,DC=com”
domain_server: “atdc1-dc01.server.at”
scope: global
register: accessgroup
`
It throws the following error:
TASK [AD | Create access group] ***************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “module_stderr”: “”, “module_stdout”: “”, “msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”, “rc”: 0}
I have not found much documentation regarding this.