diff options
Diffstat (limited to 'desktop-ubuntu/tasks/main.yml')
-rw-r--r-- | desktop-ubuntu/tasks/main.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/desktop-ubuntu/tasks/main.yml b/desktop-ubuntu/tasks/main.yml new file mode 100644 index 0000000..d5e053f --- /dev/null +++ b/desktop-ubuntu/tasks/main.yml @@ -0,0 +1,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 + |