Ansible_workstation/roles/workstation/tasks/gnome.yml

23 lines
445 B
YAML

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