summaryrefslogtreecommitdiffstats
path: root/roles/network/tasks/install-debian.yml
blob: 7c4528cdc38d77c0c15c81f963b324aaae76b384 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: "Ensure network_packages are installed"
  become: true
  ansible.builtin.apt:
    pkg: "{{ network_packages }}"
    state: "present"

- name: "Ensure avahi/dhcpcd packages are removed"
  become: true
  ansible.builtin.apt:
    pkg:
      - "avahi-daemon"
      - "avahi-utils"
      - "dhcpcd"
    state: "absent"
    autoremove: true
    purge: true
  tags:
    # NOTE: the gnome-core packages resinstalls the avahi packages
    # NOTE: the pipewire package reinstalls avahi packages
    # Disabling the idemopotence test to prevent always reporting changed
    - molecule-idempotence-notest