summaryrefslogtreecommitdiffstats
path: root/desktop-ubuntu/tasks/main.yml
blob: d5e053f301ab2200cb3c3b23cc854182a65a916e (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: Include distro-specific variables
  include_vars: "{{ item }}"
  with_first_found:
    - "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_version}}.yml"
    - "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version}}.yml"
    - "{{ role_path }}/vars/{{ ansible_distribution }}.yml"

- name: Install Ubuntu's desktop environment
  apt:
    name: "{{ ubuntu_desktop_packages }}"
    state: present
    install_recommends: no

- name: Copy static files
  copy:
    src: files/
    dest: /
  become: yes

- name: Update dconf
  command: dconf update

- name: Remove ubuntu's snap session
  file:
    path: /usr/share/xsessions/ubuntu-communitheme-snap.desktop
    state: absent

- name: Disable gnome-keyring-daemon
  shell: chmod -x /usr/bin/gnome-keyring-daemon