X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-local-phd.yml;h=4b0f24fea5cae0bccd807737768e93aa6df66847;hb=8d8999468297e5f7f5dc6d73b6f7364c7b3cee66;hp=6338a05bdca619b980e19b8aa0940f1b200d57e3;hpb=02dcbd6cdc41e34c54e185881bfba68b345722f4;p=ansible.git diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index 6338a05..4b0f24f 100644 --- a/playbooks/debian/init-local-phd.yml +++ b/playbooks/debian/init-local-phd.yml @@ -1,6 +1,6 @@ - name: Update local user phd hosts: "{{ hosts | default('localhost') }}" - gather_facts: false + gather_facts: true vars: system_groups: root,adm,disk,cdrom,floppy,sudo,audio,www-data,video,plugdev,staff,users,Debian-exim,fuse,sambashare,bluetooth,davfs2,vboxusers,input tasks: @@ -19,6 +19,14 @@ user: name: phd groups: "{{ system_groups }}" + - name: Prepare /etc/apt/sources to install VirtualBox + become: true + copy: + content: "deb http://download.virtualbox.org/virtualbox/debian {{ ansible_facts.distribution_release }} contrib non-free" + dest: /etc/apt/sources.list.d/virtualbox.list + owner: root + group: root + mode: 0640 - name: Install packages become: true apt: @@ -28,26 +36,36 @@ install_recommends: no name: [ # System - 'acpi', 'fuse-convmvfs', 'curlftpfs', 'hibernate', 'ntfs-3g', + 'acpi', 'hibernate', 'pinentry-gtk2', # for GnuPG - 'sshfs', 'uswsusp', + 'pptp-linux', 'uswsusp', # Audio 'audacious', 'pavucontrol', 'pulseaudio', + # Bluetooth + 'blueman', 'bluetooth', 'bluez-tools', 'pulseaudio-module-bluetooth', # Browsers 'chromium', 'libdbus-1-3', # for Firefox # Docs and texts - 'docutils-doc', 'fbreader', 'qpdfview', 'sqlite3-doc', - 'vim-doc', 'vim-gtk3', + 'docutils-doc', 'evince', 'fbreader', 'sqlite3-doc', + 'vim-doc', 'vim-gtk3', # 'xpdf', + # FUSE filesystems + 'fuse-convmvfs', 'curlftpfs', 'ntfs-3g', 'sshfs', + # Office docs + 'catdoc', 'docx2txt', 'xlsx2csv', 'wv', + # LibreOffice/OpenOffice docs + 'ods2tsv', 'odt2txt', # Image handling 'imagemagick', 'imagemagick-doc', 'xli', 'xloadimage', # Instant messaging - 'pidgin', 'pidgin-awayonlock', 'pidgin-encryption', - 'pidgin-extprefs', 'pidgin-mra', 'pidgin-openpgp', 'pidgin-otr', - 'pidgin-plugin-pack', 'pidgin-privacy-please', 'pidgin-skype', + #'pidgin', 'pidgin-awayonlock', 'pidgin-encryption', + #'pidgin-extprefs', 'pidgin-mra', 'pidgin-openpgp', 'pidgin-otr', + #'pidgin-plugin-pack', 'pidgin-privacy-please', 'pidgin-skype', # Video 'mpv', + # VirtualBox + 'virtualbox-6.1', # X Windows 'fvwm', 'gxmessage', 'rxvt-unicode', 'x11-apps', 'x11-xserver-utils', 'xbindkeys', 'xclip', 'xinit',