From: Christian Heller Date: Tue, 21 Mar 2017 00:37:03 +0000 (+0100) Subject: Ansible script: Improve X and browser setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/decks/todo?a=commitdiff_plain;h=cb1e4854b96824f188e441858803f99440768118;p=config Ansible script: Improve X and browser setup. --- diff --git a/ansible/config.yml b/ansible/config.yml index 63689a6..d286ed9 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -70,18 +70,27 @@ become_user: plom become_method: su - # Ensure minimal X window environment. + # Ensure X window environment. - name: ensure minimal X window environment apt: name={{item}} state=present with_items: - xserver-xorg - - xinit - - libpam-systemd # needed to start X as non-root + - xinit # contains startx + - libpam-systemd # needed to start X as non-root - name: ensure basic X tools apt: name={{item}} state=present with_items: + - x11-xserver-utils # includes xrdb which applies .Xresources files - xterm - redshift - i3 - i3status - dmenu + + # Set up pentadactyl. + - name: ensure browser environment + apt: name={{item}} state=present + - iceweasel + - xul-ext-noscript + - xul-ext-pentadactyl + - vim-gtk # used by pentadactyl for text editing diff --git a/ansible/user.yml b/ansible/user.yml index 5a90f20..07dd189 100644 --- a/ansible/user.yml +++ b/ansible/user.yml @@ -9,3 +9,5 @@ - ~/config/dotfiles/minimal/* - ~/config/dotfiles/user/thinkpad/minimal/* - ~/config/dotfiles/user/thinkpad/W530/* + - name: ensure ~/downloads directory + file: state=directory dest=~/downloads