X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=playbooks%2Fdebian%2Finit-local-phd.yml;h=1b24d801a94cc009836cd9d8cf908eb122be138b;hb=07d688c691bb93ddc29bdd4d3479b847a830d3ca;hp=1c1f89fecfe3e67b79cd0ce3120433f2d407cdf5;hpb=9e362f765b63334b5f48c40da7ebdd2431e79e7e;p=ansible.git diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index 1c1f89f..1b24d80 100644 --- a/playbooks/debian/init-local-phd.yml +++ b/playbooks/debian/init-local-phd.yml @@ -1,5 +1,5 @@ - name: Update local user phd - hosts: localhost + hosts: "{{ hosts | default('localhost') }}" gather_facts: false vars: system_groups: root,adm,disk,cdrom,floppy,sudo,audio,www-data,video,plugdev,staff,users,Debian-exim,fuse,sambashare,bluetooth,davfs2,vboxusers,input @@ -14,7 +14,7 @@ become: true group: name: phd - - name: user phd + - name: Create user phd become: true user: name: phd @@ -26,6 +26,12 @@ autoremove: yes cache_valid_time: 3600 install_recommends: no - name: ['fvwm', 'rxvt-unicode', 'xorg'] + name: ['fvwm', 'pulseaudio', 'rxvt-unicode', + 'x11-apps', 'x11-xserver-utils', 'xbindkeys', 'xinit', + 'xli', 'xloadimage', 'xorg', 'xscreensaver', 'xserver-xorg', + 'xserver-xorg-input-kbd', 'xserver-xorg-input-mouse', + 'xserver-xorg-input-synaptics', 'xserver-xorg-legacy', + 'xserver-xorg-video-vesa', 'xxkb', + ] state: latest update_cache: yes