29 lines
591 B
YAML
29 lines
591 B
YAML
---
|
|
# - name: create computer object in adagility
|
|
# microsoft.ad.computer:
|
|
# name: "{{hostname}}"
|
|
# dns_hostname: "{{hostname}}.ADAGILITY.NET"
|
|
# path: "OU={{accdevtest}},{{domain_path}}"
|
|
# enabled: yes
|
|
# state: present
|
|
|
|
|
|
- name: join host to adagility.net
|
|
microsoft.ad.membership:
|
|
dns_domain_name: adagility.net
|
|
hostname: "{{hostname}}"
|
|
domain_admin_user: "{{domain_admin}}"
|
|
domain_admin_password: "{{domain_password}}"
|
|
domain_ou_path: "OU={{accdevtest}},{{domain_path}}"
|
|
state: domain
|
|
# reboot: true
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|