Ansible_workstation/roles/workstation/tasks/gnome.yml

23 lines
445 B
YAML
Raw Permalink Normal View History

---
# tasks file for gnome
- name: Install gnome pkgs
community.general.pacman:
name: "{{ item }}"
state: present
with_items: "{{ pacman_gnome }}"
when: ansible_os_family == "Archlinux"
2022-01-13 05:28:12 +00:00
- name: gdm settings
dconf:
key: "{{ item.key }}"
value: "{{ item.value }}"
state: present
2022-01-13 05:29:07 +00:00
with_items: "{{ gdm_settings }}"
2022-01-13 05:28:12 +00:00
become: true
become_user: gdm
- name: enable service gdm
systemd:
name: gdm
enabled: yes