Add Linux support to webcatalog role

This commit is contained in:
2023-06-02 00:18:48 +01:00
parent 1749c78364
commit 65d96b2faa
5 changed files with 76 additions and 7 deletions

View File

@@ -1,8 +1,7 @@
---
- assert:
that: ansible_os_family == "Darwin"
- name: install homebrew package
homebrew_cask:
name: webcatalog
state: latest
- when: ansible_os_family == 'Darwin'
include_tasks: 'Darwin.yaml'
- when: ansible_os_family == 'Windows'
include_tasks: 'Windows.yaml'
- when: ansible_os_family != 'Darwin' and ansible_os_family != 'Windows'
include_tasks: 'Linux.yaml'