ansible-hacklab-desktop/roles/desktop_ubuntu_bionic/tasks/main.yml

42 lines
964 B
YAML
Raw Normal View History

2018-06-02 22:03:27 +00:00
- name: Install Ubuntu Desktop
package:
name: ubuntu-desktop
state: present
- name: Remove unwanted packages
apt:
name: "{{ item }}"
state: absent
with_items:
- gnome-initial-setup
- ubuntu-web-launchers
- name: Hacklab desktop wallpaper folder
file:
name: /usr/share/backgrounds/hacklab
state: directory
- name: Hacklab desktop wallpaper
get_url:
url: https://wiki.edinburghhacklab.com/_media/hacklab-wallpaper-dark-1.png
dest: /usr/share/backgrounds/hacklab/hacklab-wallpaper-dark-1.png
- name: Configure desktop wallpaper
copy:
src: wallpaper.dconf
dest: /etc/dconf/db/site.d/wallpaper
mode: 0644
notify: dconf update
- name: Set idle delay
copy:
src: idle-delay.dconf
dest: /etc/dconf/db/site.d/idle-delay
mode: 0644
notify: dconf update
#- name: Remove Amazon icon from desktop
# file:
# path: /usr/share/applications/ubuntu-amazon-default.desktop
# state: absent