1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: "[Alpine] Install package: dnsmasq"
apk:
name: dnsmasq
state: present
when:
- ansible_distribution == "Alpine"
- name: "[Archlinux] Install package: dnsmasq"
pacman:
name: dnsmasq
state: present
when:
- ansible_distribution == "Archlinux"