--- - name: "[OpenRC] Disable and stop service: murmur" service: name: murmur enabled: no state: stopped when: - ansible_service_mgr == "openrc" - name: "[systemd] Disable and stop service: murmur" systemd: name: murmur enabled: no state: stopped when: - ansible_service_mgr == "systemd" - name: "[Alpine] Remove package: murmur" apk: name: murmur state: absent when: - ansible_distribution == "Alpine" - name: "[Archlinux] Remove package: murmur" pacman: name: murmur state: absent when: - ansible_distribution == "Archlinux" - name: "[nftables] Delete rule for: mumble" file: path: /etc/nftables.d/mumble.nft state: absent notify: "Restart nftables" - name: "Remove file: /etc/murmur.ini" file: path: /etc/murmur.ini state: absent