--- # 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