win_ansible_role_winrm/tasks/main.yml

11 lines
332 B
YAML
Raw Normal View History

2022-12-29 14:17:07 +01:00
---
- name: Setup WineRM on Windows via PS1 Script
ansible.builtin.script: "files/ConfigureRemotingForAnsible.ps1"
args:
creates: '.ansible\status\ConfigureRemotingForAnsible.txt'
- name: Upgrade to Powershell 3
ansible.builtin.script: "files/upgrade_to_ps3.ps1"
args:
creates: '.ansible\status\upgrade_to_ps3.txt'