Files
windows-ansible/ansible/roles/win_domain_controller/tasks/features.yml
T

20 lines
515 B
YAML

---
- name: Domain Controller Features
tags: dc_feature
block:
- name: Install required features for domain controller
win_feature:
name:
- DNS
- AD-Domain-Services
- RSAT-AD-Tools
- RDS-Connection-Broker
- RDS-Licensing
state: present
register: feature_status
- name: Rebooting RDS Server following feature installation
win_reboot:
reboot_timeout_sec: 1200
when: feature_status.reboot_required == true