Update for CentOS 8 and tags
This commit is contained in:
parent
ee60d76a71
commit
c07a4980e6
6 changed files with 55 additions and 9 deletions
|
|
@ -1,10 +1,23 @@
|
|||
---
|
||||
- name: Include vars for {{ ansible_os_family }}
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
- block:
|
||||
- name: Include vars for {{ ansible_os_family }}
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: Define repo for {{ ansible_os_family }}
|
||||
include_tasks: add_repo_{{ ansible_os_family }}.yml
|
||||
- name: Install PowerShell
|
||||
include_tasks: "install.yml"
|
||||
when:
|
||||
- not powershell_uninstall|bool
|
||||
tags:
|
||||
- install
|
||||
|
||||
- name: Install packages
|
||||
package: name='{{ powershell_packages }}' state=latest update_cache=yes
|
||||
- name: Uninstall PowerShell
|
||||
include_tasks: "uninstall.yml"
|
||||
when:
|
||||
- powershell_uninstall|bool
|
||||
tags:
|
||||
- uninstall
|
||||
|
||||
tags:
|
||||
- powershell
|
||||
Loading…
Add table
Add a link
Reference in a new issue