mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-31 08:00:15 +00:00
win_dfs role
This commit is contained in:
1 parent
6e13922f9c
commit
6f49293b79
4 files changed
+106
No files matched your search
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: DFS Features
|
||||
tags: dfs_features
|
||||
block:
|
||||
- name: Install DFS features
|
||||
win_feature:
|
||||
name:
|
||||
- FS-DFS-Namespace
|
||||
- FS-DFS-Replication
|
||||
- RSAT-DFS-Mgmt-con
|
||||
state: present
|
||||
inlcude_management_tools: True
|
||||
register: feature_status
|
||||
|
||||
- name: Rebooting Servers post feature installation
|
||||
win_reboot:
|
||||
reboot_timeout_sec: 1200
|
||||
when: feature_status.reboot_required == true
|
||||
|
||||
- name: DFS Features
|
||||
tags: dfs_powershell
|
||||
block:
|
||||
- name: Install NuGet packageprovider (requirement for xDFS DSC module installation)
|
||||
ansible.windows.win_powershell:
|
||||
script: |
|
||||
Find-PackageProvider -Name Nuget -ForceBootstrap -IncludeDependencies -Force
|
||||
|
||||
- name: Install xDFS DSC module
|
||||
win_psmodule:
|
||||
name: xDFS
|
||||
state: Present
|
||||
accept_license: true
|
||||
Reference in new issue
Block a user