mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 13:37:21 +00:00
remove setup.yml step since chocolatey server role already did all the steps
This commit is contained in:
1 parent
ee3e429568
commit
dbc723f921
2 files changed
-26
No files matched your search
@@ -1,4 +1,3 @@
|
||||
---
|
||||
- import_tasks: disk.yml
|
||||
#- import_tasks: setup.yml
|
||||
- import_tasks: chocolatey.yml
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
- name: Features
|
||||
tags: choco_features
|
||||
block:
|
||||
- name: Install IIS and management tools # can maybe be skipped (imported role already does this)
|
||||
win_feature:
|
||||
name:
|
||||
- Web-WebServer
|
||||
- Web-Scripting-Tools
|
||||
state: present
|
||||
include_management_tools: yes
|
||||
include_sub_features: yes
|
||||
register: feature_status
|
||||
|
||||
- name: Install .Net framework (4.5.2 minimum requirement for choco GUI)
|
||||
ansible.windows.win_optional_feature:
|
||||
name: NetFx4
|
||||
state: present
|
||||
register: opt_feature_status
|
||||
|
||||
- name: Rebooting Servers post feature installation
|
||||
win_reboot:
|
||||
reboot_timeout_sec: 1200
|
||||
when: feature_status.reboot_required == true or
|
||||
opt_feature_status.reboot_required == true
|
||||
Reference in new issue
Block a user