No description
Find a file
Mark van Huijstee e82fcae6d8
Merge pull request #12 from de-it-krachten/dev
Update supported platforms & CI (2026-07-23)
2026-07-26 21:59:25 +02:00
.github/workflows Update CI 2026-07-23 18:45:10 +02:00
defaults feat: Change var 'windows_features' to list 2024-05-28 09:48:47 +02:00
meta Update CI 2026-03-07 01:12:16 +01:00
molecule/default Update CI 2026-07-25 17:58:15 +02:00
tasks feat: Change var 'windows_features' to list 2024-05-28 09:48:47 +02:00
.ansible-lint Update CI 2026-06-07 18:08:59 +02:00
.cicd Update CI 2026-06-09 11:35:37 +02:00
.cicd.overwrite Update CI 2026-06-07 18:08:59 +02:00
.collections Update CI 2024-04-13 00:12:29 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 13:56:18 +01:00
.releaserc.yml Update CI 2026-03-07 01:12:16 +01:00
.roles feat: Initial release 2023-10-29 20:59:31 +01:00
.yamllint feat: Update supported platforms & CI 2024-12-29 13:56:18 +01:00
CHANGELOG.md chore(release): 1.3.0 [skip ci] 2025-08-07 16:46:51 +00:00
README.md Update CI 2026-03-07 01:12:16 +01:00

CI

ansible-role-windows_features

Installs Windows features

Dependencies

Roles

None

Collections

  • ansible.windows

Platforms

Supported platforms

  • Windows Server 2012 R21
  • Windows Server 20161
  • Windows Server 20191
  • Windows Server 20221
  • Windows Server 20251

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


## List of Windows features to install
# windows_features:
#   - name: AD-domain-services
#     include_management_tools: true
#     include_sub_features: true

# Skip required reboot
windows_features_skip_reboot: false

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'windows_features'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    windows_features:
      - name: D-domain-services
        include_management_tools: true
        include_sub_features: true
  tasks:
    - name: Include role 'windows_features'
      ansible.builtin.include_role:
        name: windows_features