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
34
35
36
37
38
39
40
---
# Why does this allways fail?
# - name: Fail when distribution is unsupported
# fail:
# msg: This role only works on AlpineLinux and ArchLinux
# when: (ansible_distribution != "Alpine") or (ansible_distribution != "Archlinux")
- import_tasks: packages.yml
- import_tasks: fstab.yml
when: system.fstab is defined
- import_tasks: timezone.yml
when: system.timezone is defined
- import_tasks: network_general.yml
- import_tasks: network_alpine.yml
when: ansible_distribution == "Alpine"
- import_tasks: network_ip-forwarding.yml
when: network.ipForwarding is defined
- import_tasks: firewall-nftables.yml
when: network.nftables.enable is defined
- import_tasks: ntp.yml
when: system.useNTP is defined
- import_tasks: sudo.yml
when: system.enableSudo is defined
- import_tasks: users.yml
when: system.users is defined
- import_tasks: node-exporter.yml
when: services.prometheus_node_exporter is defined
- meta: flush_handlers