UNPKG

@installdoc/ansible-gas-station

Version:

An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤

21 lines (19 loc) 871 B
--- - name: Include variables based on the operating system include_vars: "{{ ansible_os_family }}.yml" when: ansible_os_family != 'Windows' # @action Ensures dnsmasq is installed # Installs dnsmasq on Archlinux, CentOS, Debian, Fedora, Ubuntu and MacOS # @action Ensures dnsmasq is configured # Prevents systemd-resolved from binding to DNS port 53 if configured # @action Ensures dnsmasq is configured # Prevents dnsmasq from forwarding non-domain queries upstream # @action Ensures dnsmasq is configured # Prevents dnsmasq from forwarding reverse-lookup queries upstream # @action Ensures dnsmasq is configured # Configures dnsmasq's DHCP server if a DHCP interface is defined for dnsmasq - name: Include tasks based on the operating system become: true block: - include_tasks: "install-{{ ansible_os_family }}.yml" when: ansible_os_family != 'Windows'