ansible-role-powershell/tasks/main.yml

23 lines
No EOL
438 B
YAML

---
- block:
- name: Include vars for {{ ansible_os_family }}
include_vars: "{{ ansible_os_family }}.yml"
tags:
- config
- name: Install PowerShell
include_tasks: "install.yml"
when:
- not powershell_uninstall|bool
tags:
- install
- name: Uninstall PowerShell
include_tasks: "uninstall.yml"
when:
- powershell_uninstall|bool
tags:
- uninstall
tags:
- powershell