summaryrefslogtreecommitdiffstats
path: root/desktop-ubuntu/tasks
diff options
context:
space:
mode:
authorJonathan Bauer2021-05-19 10:30:42 +0200
committerJonathan Bauer2021-05-19 10:30:42 +0200
commit5b4434aff41ebbeb8a3f83bbfef9cb3f9e75e912 (patch)
treec27eb894bae85966cee37ce209174e038866a605 /desktop-ubuntu/tasks
parent[desktop-kde-plasma] kde-plasma with bwlp mods (diff)
downloadansible-bwlp-5b4434aff41ebbeb8a3f83bbfef9cb3f9e75e912.tar.gz
ansible-bwlp-5b4434aff41ebbeb8a3f83bbfef9cb3f9e75e912.tar.xz
ansible-bwlp-5b4434aff41ebbeb8a3f83bbfef9cb3f9e75e912.zip
[desktop-ubuntu] ubuntu DE with bwlp mods
Diffstat (limited to 'desktop-ubuntu/tasks')
-rw-r--r--desktop-ubuntu/tasks/main.yml31
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
+