summaryrefslogtreecommitdiffstats
path: root/roles/gnome/tasks/install-debian.yml
blob: 55ed8836844d482299772f56860dcd372662cb1c (plain) (blame)
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
---
- name: "Install gnome packages"
  become: true
  ansible.builtin.apt:
    name: "{{ gnome_packages }}"
    state: "present"
    install_recommends: false
  tags:
    # NOTE: the gnome-core packages resinstalls the avahi packages
    # Disabling the idemopotence test to prevent always reporting changed
    - molecule-idempotence-notest

- name: "Remove avahi packages installed by GNOME to prevent conflict with MutlicastDNS"
  become: true
  ansible.builtin.apt:
    name:
      - "avahi-daemon"
      - "avahi-utils"
    state: "absent"
    autoremove: true
    purge: true
  tags:
    # NOTE: the gnome-core packages resinstalls the avahi packages
    # Disabling the idemopotence test to prevent always reporting changed
    - molecule-idempotence-notest

- name: "Enable GDM display manager"
  become: true
  ansible.builtin.systemd_service:
    name: "gdm3"
    enabled: true