1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
- name: "[Alpine] Install package: nginx"
apk:
name:
- nginx
state: present
when:
- ansible_distribution == "Alpine"
- name: "[Archlinux] Install package: nginx"
pacman:
name: nginx
state: present
when:
- ansible_distribution == "Archlinux"
- name: "[Alpine] Install package: nginx-mod-http-xslt-filter"
apk:
name: nginx-mod-http-xslt-filter
state: present
when:
- ansible_distribution == "Alpine"
- services.nginx.enableXSLTFilter is true
- name: "[Archlinux] Install package: nginx-mod-http-xslt-filter"
pacman:
name: nginx-mod-http-xslt-filter
state: present
when:
- ansible_distribution == "Archlinux"
- services.nginx.enableXSLTFilter is true