X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-local-phd.yml;h=c106cf78f8c128c854d969296623263cdeb6fe55;hb=52fc0ad2eba8486ec6af9a0dccd91293193098d0;hp=d70d73956ca8bd5d841b7c47a2f8dc4f9117ac85;hpb=374104d0fc67a90134f40bdf8ab0c0fd6d70f556;p=ansible.git diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index d70d739..c106cf7 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: @@ -30,7 +38,7 @@ # System 'acpi', 'fuse-convmvfs', 'curlftpfs', 'hibernate', 'ntfs-3g', 'pinentry-gtk2', # for GnuPG - 'sshfs', 'uswsusp', + 'pptp-linux', 'sshfs', 'uswsusp', # Audio 'audacious', 'pavucontrol', 'pulseaudio', # Bluetooth @@ -50,6 +58,8 @@ #'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',