X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-local-phd.yml;h=f282520dd2b250b7114aca15ac6687aa55c0f848;hb=ec31e1f47f6a640bd0f509d088dc4a323c4027e0;hp=a9a8aa2a64389f08569b82698ad678f739372a48;hpb=5066f85b3351fd1cb53e5fe9d484644387fc1ddc;p=ansible.git diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index a9a8aa2..f282520 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 @@ -19,19 +19,37 @@ user: name: phd groups: "{{ system_groups }}" - - name: Install X11 + - name: Install packages become: true apt: autoclean: yes autoremove: yes cache_valid_time: 3600 install_recommends: no - name: ['fvwm', 'pulseaudio', 'rxvt-unicode', + name: ['acpi', 'chromium', 'docutils-doc', 'fvwm', 'gxmessage', + 'hibernate', 'libdbus-1-3', # for Firefox + 'mpv', 'openvpn', 'pavucontrol', 'pinentry-gtk2', 'pulseaudio', + 'rxvt-unicode', 'sqlite3-doc', 'uswsusp', 'vim-doc', 'vim-gtk3', 'x11-apps', 'x11-xserver-utils', 'xbindkeys', 'xinit', - 'xli', 'xloadimage', 'xorg', 'xscreensaver', 'xserver-xorg', + 'xli', 'xloadimage', 'xsel', + '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 + - name: Mount cgroups + mount: + path: /sys/fs/cgroup + src: none + opts: memory + state: mounted + fstype: cgroup + - name: Mount webdav.yandex.ru + mount: + path: /mnt + src: https://webdav.yandex.ru + opts: noauto,user + state: present + fstype: davfs