ansible-playbooks/roles/general-use-gui/tasks/main.yml

255 lines
5.8 KiB
YAML
Raw Normal View History

2016-07-04 18:01:17 -04:00
---
# should make sure that lightdm is the default
- name: Install X Server and utils
apt: name={{ item }} state=latest
with_items:
- xorg
- xsel
- gksu
- name: Install Terminal emulators
apt: name={{ item }} state=latest
with_items:
- rxvt
- rxvt-unicode-256color
- gnome-terminal
- xfce4-terminal
- konsole
- yakuake
- name: Install Web Browsers
apt: name={{ item }} state=latest
with_items:
- firefox
- google-chrome-stable
- chromium-browser
- epiphany-browser
- midori
- flashplugin-installer
- name: Install Mail Clients
apt: name={{ item }} state=latest
with_items:
- claws-mail
- thunderbird
- empathy
- name: Install Mail Clients
apt: name={{ item }} state=latest
with_items:
- pidgin
- pidgin-otr
- name: Install Office Applications
apt: name={{ item }} state=latest
with_items:
- scribus
- gimp
- xfig
- dia
- inkscape
- libreoffice
- fontforge
- xpdf
- evince
- djview4
- name: Install xubuntu-desktop
apt: name={{ item }} state=latest
with_items:
- xubuntu-desktop
- name: Install Window Managers
apt: name={{ item }} state=latest
with_items:
- xmonad
- libghc-xmonad-contrib-dev
- stumpwm
- wmii
- awesome
- openbox
- openbox-gnome-session
- openbox-kde-session
- i3-wm
- name: Install KDE Plasma-desktop
apt: name={{ item }} state=latest
with_items:
- plasma-desktop
- name: Install unity
apt: name={{ item }} state=latest
with_items:
- unity
- name: Install gnome
apt: name={{ item }} state=latest
with_items:
- gnome
- name: Install lxde
apt: name={{ item }} state=latest
with_items:
- lxde
- name: Install mate
apt: name={{ item }} state=latest
with_items:
2016-07-04 20:06:02 -04:00
- mate-desktop-environment
2016-07-04 18:01:17 -04:00
- name: Install cinnamon
apt: name={{ item }} state=latest
with_items:
- cinnamon-desktop-environment
- name: Install widgets
apt: name={{ item }} state=latest
with_items:
- xmobar
- name: Install lockers
apt: name={{ item }} state=latest
with_items:
- i3lock
- light-locker
- name: Disable xscreensaver for xfce4 users
command: mv /etc/xdg/autostart/xscreensaver.desktop /etc/xdg/autostart/xscreensaver.desktop.disabled
args:
creates: /etc/xdg/autostart/xscreensaver.desktop.disabled
- name: copy over xsession.desktop and xsession-reset.desktop
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'xsession.desktop', dest: '/usr/share/xsessions/xsession.desktop' }
- { src: 'xsession-reset.desktop', dest: '/usr/share/xsessions/xsession-reset.desktop' }
- { src: 'reset_xsession.sh', dest: '/usr/local/bin/reset_xsession.sh' }
- file: path=/usr/local/bin/reset_xsession.sh owner=root group=root mode=755
- name: Disable xsessions
shell: rename 's/$/\.disabled/' /usr/share/xsessions/*.desktop
- shell: mv /usr/share/xsessions/{{ item }}.desktop.disabled /usr/share/xsessions/{{ item }}.desktop
args:
creates: /usr/share/xsessions/{{ item }}.desktop
removes: /usr/share/xsessions/{{ item }}.desktop.disabled
with_items:
- xsession
- xsession-reset
- name: Copy lightdm config
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'lightdm.conf', dest: '/etc/lightdm/lightdm.conf' }
- { src: 'lightdm-gtk-greeter.conf', dest: '/etc/lightdm/lightdm-gtk-greeter.conf' }
- name: Install fonts
apt: name={{ item }} state=latest
with_items:
- console-setup
- xfonts-terminus
- gsfonts
- gsfonts-x11
- fonts-dejavu
- fonts-opensymbol
- fonts-freefont-ttf
- name: Install editors
apt: name={{ item }} state=latest
with_items:
- vim-gnome
- lyx
- emacs
- emacs24
- name: Install networking tools
apt: name={{ item }} state=latest
with_items:
- wireshark
- clusterssh
- name: Install printing/postscript tools
apt: name={{ item }} state=latest
with_items:
- gv
- ghostscript-x
- name: Install math tools
apt: name={{ item }} state=latest
with_items:
- gnuplot-x11
- rocs
- name: Install CAD tools
apt: name={{ item }} state=latest
with_items:
- carmetal
- xtrkcad
- freecad
- pythoncad
- name: Install media tools
apt: name={{ item }} state=latest
with_items:
- pavucontrol
- vlc
- mpv
- cheese
- pavucontrol
- amarok
- audacity
- audacious
- lmms
- k3b
- ardour
- imagemagick
- blender
- name: Install electronics tools
apt: name={{ item }} state=latest
with_items:
- geda
- arduino
- ngspice
- bristol
- cl-rlc
- electric
- gerbv
- gnucap
- gpsim
- gsmc
- gspiceui
- gtkwave
- linsmith
- oregano
- pcb
- pcb-gtk
- tkgate
- xcircuit
- kic
- kicad
- name: Install virtualiztion tools
apt: name={{ item }} state=latest
with_items:
- virtualbox
- virt-manager
- virt-viewer
- name: Install image tools
apt: name={{ item }} state=latest
with_items:
- feh
- hugin
- enblend
- enfuse
- hugin-tools
- gthumb
- eog
- name: Install misc tools
apt: name={{ item }} state=latest
with_items:
- workrave