Bringing machine 'c2d-devtop' up with 'virtualbox' provider... ==> c2d-devtop: Importing base box 'c2platform/ubuntu-24'... Progress: 10% Progress: 90% ==> c2d-devtop: Matching MAC address for NAT networking... ==> c2d-devtop: Checking if box 'c2platform/ubuntu-24' version '0.0.2' is up to date... ==> c2d-devtop: Setting the name of the VM: ansible-dev_c2d-devtop_1786418353266_95172 ==> c2d-devtop: Clearing any previously set network interfaces... ==> c2d-devtop: Preparing network interfaces based on configuration... c2d-devtop: Adapter 1: nat c2d-devtop: Adapter 2: hostonly ==> c2d-devtop: Forwarding ports... c2d-devtop: 22 (guest) => 2222 (host) (adapter 1) ==> c2d-devtop: Running 'pre-boot' VM customizations... ==> c2d-devtop: Booting VM... ==> c2d-devtop: Waiting for machine to boot. This may take a few minutes... c2d-devtop: SSH address: 127.0.0.1:2222 c2d-devtop: SSH username: vagrant c2d-devtop: SSH auth method: private key ==> c2d-devtop: Machine booted and ready! ==> c2d-devtop: Checking for guest additions in VM... c2d-devtop: The guest additions on this VM do not match the installed version of c2d-devtop: VirtualBox! In most cases this is fine, but in rare cases it can c2d-devtop: prevent things such as shared folders from working properly. If you see c2d-devtop: shared folder errors, please make sure the guest additions within the c2d-devtop: virtual machine match the version of VirtualBox you have installed on c2d-devtop: your host and reload your VM. c2d-devtop: c2d-devtop: Guest Additions Version: 6.1.34 c2d-devtop: VirtualBox Version: 7.0 ==> c2d-devtop: Setting hostname... ==> c2d-devtop: Configuring and enabling network interfaces... ==> c2d-devtop: Mounting shared folders... c2d-devtop: /vagrant => /home/ostraaten/git/gitlab/c2/ansible-dev c2d-devtop: /root/.marker => /home/ostraaten/.marker c2d-devtop: /home/vagrant/images => /home/ostraaten/git/gitlab/c2/c2/docker c2d-devtop: /home/vagrant/.marker => /home/ostraaten/.marker c2d-devtop: /home/vagrant/scripts => /home/ostraaten/git/c2/c2/user-scripts c2d-devtop: /root/.local/share/marker => /home/ostraaten/.local/share/marker c2d-devtop: /ansible-execution-environment => /home/ostraaten/git/gitlab/c2/ansible-execution-environment ==> c2d-devtop: Running provisioner: shell... c2d-devtop: Running: inline script ==> c2d-devtop: Running provisioner: ansible... c2d-devtop: Running ansible-playbook... PLAY [Manage Development Desktops] ********************************************* TASK [Gathering Facts] ********************************************************* ok: [c2d-devtop] TASK [Include Linux roles] ***************************************************** [WARNING]: Collection community.windows does not support Ansible version 2.15.3 [WARNING]: Collection ansible.windows does not support Ansible version 2.15.3 TASK [c2platform.core.secrets : Stat secret dir] ******************************* ok: [c2d-devtop -> localhost] => (item=/home/ostraaten/git/gitlab/c2/ansible-dev/secret_vars/development) ok: [c2d-devtop -> localhost] => (item=/runner/project/secret_vars/development) TASK [c2platform.core.secrets : Include secrets] ******************************* ok: [c2d-devtop] => (item=/home/ostraaten/git/gitlab/c2/ansible-dev/secret_vars/development) TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/update_cache.yml for c2d-devtop TASK [c2platform.core.server_update : Apt update cache] ************************ ok: [c2d-devtop] TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/update.yml for c2d-devtop TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/debian.yml for c2d-devtop TASK [c2platform.core.server_update : Upgrade all packages] ******************** changed: [c2d-devtop] TASK [c2platform.core.server_update : Check reboot] **************************** ok: [c2d-devtop] TASK [c2platform.core.server_update : Fact server_update_reboot] *************** ok: [c2d-devtop] TASK [c2platform.core.bootstrap : Include package tasks] *********************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/bootstrap/tasks/os.yml for c2d-devtop => (item=['nano', 'wget', 'curl', 'git', 'unzip', 'zip', 'tree', 'telnet']) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/bootstrap/tasks/os.yml for c2d-devtop => (item=['jq', 'build-essential', 'python3-dev', 'python3-wheel', 'libsasl2-dev', 'libldap2-dev', 'libssl-dev', 'nfs-common', 'net-tools', 'telnet', 'dnsutils']) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/bootstrap/tasks/os.yml for c2d-devtop => (item=['ubuntu-desktop', 'xdg-utils', 'epiphany-browser']) TASK [c2platform.core.bootstrap : OS package] ********************************** changed: [c2d-devtop] => (item=['nano', 'wget', 'curl', 'git', 'unzip', 'zip', 'tree', 'telnet']) TASK [c2platform.core.bootstrap : OS package] ********************************** changed: [c2d-devtop] => (item=['jq', 'build-essential', 'python3-dev', 'python3-wheel', 'libsasl2-dev', 'libldap2-dev', 'libssl-dev', 'nfs-common', 'net-tools', 'telnet', 'dnsutils']) TASK [c2platform.core.bootstrap : OS package] ********************************** changed: [c2d-devtop] => (item=['ubuntu-desktop', 'xdg-utils', 'epiphany-browser']) TASK [c2platform.core.os_trusts : CA distribute ( Debian )] ******************** changed: [c2d-devtop] => (item=https://letsencrypt.org/certs/isrgrootx1.pem) changed: [c2d-devtop] => (item=file:///vagrant/.ca/c2/c2.crt) TASK [c2platform.core.os_trusts : Execute update-ca-certificates ( Debian )] *** changed: [c2d-devtop] => (item=https://letsencrypt.org/certs/isrgrootx1.pem) changed: [c2d-devtop] => (item=file:///vagrant/.ca/c2/c2.crt) TASK [c2platform.core.vagrant_hosts : Set fact vagrant_hosts_content] ********** ok: [c2d-devtop -> localhost] TASK [c2platform.core.vagrant_hosts : Manage hosts file of Vagrant Linux guest] *** changed: [c2d-devtop] => (item=/etc/hosts) TASK [c2platform.core.linux : Include linux_resources] ************************* included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/package.yml for c2d-devtop => (item=10_xrdp Install xRDP) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/user.yml for c2d-devtop => (item=10_xrdp xrdp) [WARNING]: Collection community.general does not support Ansible version 2.15.3 included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/ini_file.yml for c2d-devtop => (item=10_xrdp Configure xRDP) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=10_xrdp xrdp.conf) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=11_xrdp_default Configure xRDP startwm.sh) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/file.yml for c2d-devtop => (item=11_xrdp_default /etc/polkit-1/localauthority.conf.d) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=11_xrdp_default Install XRDP/colord polkit compatibility rule) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/lineinfile.yml for c2d-devtop => (item=marker Marker) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=ssh_root /etc/ssh/sshd_config.d/ssh_root.conf) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/authorized_key.yml for c2d-devtop => (item=ssh_root vagrant.pub) TASK [c2platform.core.linux : Manage packages] ********************************* changed: [c2d-devtop] => (item=['xrdp', 'xorgxrdp'] → present) TASK [c2platform.core.linux : Manage users on a system] ************************ changed: [c2d-devtop] => (item=xrdp → present) TASK [c2platform.core.linux : Tweak settings in INI files] ********************* changed: [c2d-devtop] => (item=/etc/xrdp/xrdp.ini [Globals] crypt_level → present) changed: [c2d-devtop] => (item=/etc/xrdp/xrdp.ini [Globals] max_bpp → present) changed: [c2d-devtop] => (item=/etc/xrdp/xrdp.ini [Xvnc] xserverbpp → present) changed: [c2d-devtop] => (item=/etc/xrdp/xrdp.ini [Globals] tcp_send_buffer_bytes → present) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/sysctl.d/xrdp.conf) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/xrdp/startwm.sh) TASK [c2platform.core.linux : Manage files and file properties] **************** ok: [c2d-devtop] => (item=/etc/polkit-1/localauthority.conf.d → directory) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/polkit-1/localauthority.conf.d/45-allow-colord.pkla) TASK [c2platform.core.linux : Manage lines in text files] ********************** changed: [c2d-devtop] => (item=/home/vagrant/.bashrc) changed: [c2d-devtop] => (item=/root/.bashrc) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/ssh/sshd_config.d/ssh_root.conf) TASK [c2platform.core.linux : Manage SSH authorized keys for user accounts] **** changed: [c2d-devtop] => (item=vagrant.pub → present) TASK [Include Linux roles] ***************************************************** TASK [c2platform.core.secrets : Stat secret dir] ******************************* ok: [c2d-devtop -> localhost] => (item=/home/ostraaten/git/gitlab/c2/ansible-dev/secret_vars/development) ok: [c2d-devtop -> localhost] => (item=/runner/project/secret_vars/development) TASK [c2platform.core.secrets : Include secrets] ******************************* ok: [c2d-devtop] => (item=/home/ostraaten/git/gitlab/c2/ansible-dev/secret_vars/development) TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/update_cache.yml for c2d-devtop TASK [c2platform.core.server_update : Apt update cache] ************************ changed: [c2d-devtop] TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/update.yml for c2d-devtop TASK [c2platform.core.server_update : include_tasks] *************************** included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/server_update/tasks/debian.yml for c2d-devtop TASK [c2platform.core.server_update : Upgrade all packages] ******************** ok: [c2d-devtop] TASK [c2platform.core.server_update : Check reboot] **************************** ok: [c2d-devtop] TASK [c2platform.core.server_update : Fact server_update_reboot] *************** ok: [c2d-devtop] TASK [c2platform.core.linux : Include linux_resources] ************************* included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/package.yml for c2d-devtop => (item=10_base Install base desktop packages) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/snap.yml for c2d-devtop => (item=10_base Install base snaps) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/lineinfile.yml for c2d-devtop => (item=10_base Configure GRUB for cgroup support) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/command.yml for c2d-devtop => (item=10_base Update GRUB config) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=10_base vault-password.sh) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/timezone.yml for c2d-devtop => (item=10_base Europe/Amsterdam) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/apt.yml for c2d-devtop => (item=10_base Install Vagrant) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/dpkg_selections.yml for c2d-devtop => (item=10_base vagrant) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/snap.yml for c2d-devtop => (item=10_base lxd) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=10_base Copy LXD init preseed) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/shell.yml for c2d-devtop => (item=10_base Initialize LXD from preseed) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=12_base_wifi Disable Wi-Fi in NetworkManager) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/file.yml for c2d-devtop => (item=20_gnome Ensure dconf directories exist) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=20_gnome Manage system-wide GNOME defaults) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/apt.yml for c2d-devtop => (item=20_vbox_guest_additions Guest Additions) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/apt.yml for c2d-devtop => (item=99_ubuntu_virtualbox Remove Ubuntu VirtualBox) TASK [c2platform.core.linux : Manage packages] ********************************* ok: [c2d-devtop] => (item=git → present) ok: [c2d-devtop] => (item=curl → present) changed: [c2d-devtop] => (item=python3-venv → present) changed: [c2d-devtop] => (item=python3-pip → present) ok: [c2d-devtop] => (item=python3-dev → present) ok: [c2d-devtop] => (item=build-essential → present) changed: [c2d-devtop] => (item=pkg-config → present) changed: [c2d-devtop] => (item=libkrb5-dev → present) ok: [c2d-devtop] => (item=gnupg → present) ok: [c2d-devtop] => (item=ca-certificates → present) ok: [c2d-devtop] => (item=software-properties-common → present) ok: [c2d-devtop] => (item=desktop-file-utils → present) changed: [c2d-devtop] => (item=sshpass → present) TASK [c2platform.core.linux : Manage Snap packages] **************************** changed: [c2d-devtop] => (item=code → present) TASK [c2platform.core.linux : Manage lines in text files] ********************** changed: [c2d-devtop] => (item=/etc/default/grub) TASK [c2platform.core.linux : Execute a command on a remote host] ************** changed: [c2d-devtop] => (item=update-grub) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/usr/local/bin/vault-password.sh) TASK [c2platform.core.linux : Configure timezone setting] ********************** changed: [c2d-devtop] => (item=Europe/Amsterdam) TASK [c2platform.core.linux : Manage apt packages (deb)] *********************** changed: [c2d-devtop] => (item={'resource_group': '10_base', 'name': 'Install Vagrant', 'module': 'apt', 'deb': 'https://releases.hashicorp.com/vagrant/2.4.0/vagrant_2.4.0-1_amd64.deb'}) TASK [c2platform.core.linux : Manage dpkg selections] ************************** changed: [c2d-devtop] => (item=vagrant → hold) TASK [c2platform.core.linux : Manage Snap packages] **************************** changed: [c2d-devtop] => (item=lxd → present) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/root/lxd-init-preseed.yml) TASK [c2platform.core.linux : Execute shell commands] ************************** changed: [c2d-devtop] => (item=lxd init --preseed < /root/lxd-init-preseed.yml) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/NetworkManager/conf.d/20-disable-wifi.conf) TASK [c2platform.core.linux : Manage files and file properties] **************** ok: [c2d-devtop] => (item=/etc/dconf/profile → directory) changed: [c2d-devtop] => (item=/etc/dconf/db/local.d → directory) changed: [c2d-devtop] => (item=/etc/dconf/db/local.d/locks → directory) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/dconf/profile/user) changed: [c2d-devtop] => (item=/etc/dconf/db/local.d/00-c2-gnome) changed: [c2d-devtop] => (item=/etc/dconf/db/local.d/locks/00-c2-gnome) TASK [c2platform.core.linux : Manage apt packages (pkg/name)] ****************** changed: [c2d-devtop] => (item={'state': 'present', 'when': True, 'name': ['virtualbox-guest-utils', 'virtualbox-guest-x11']}) TASK [c2platform.core.linux : Manage apt packages (pkg/name)] ****************** ok: [c2d-devtop] => (item={'state': 'absent', 'name': ['virtualbox=7.0.16-dfsg-2ubuntu1.3']}) TASK [c2platform.dev.virtualbox : Verify supported platform] ******************* ok: [c2d-devtop] => changed: false msg: Platform Ubuntu 24.04 is supported. TASK [c2platform.dev.virtualbox : Ensure apt keyring directory exists] ********* ok: [c2d-devtop] TASK [c2platform.dev.virtualbox : Install Oracle VirtualBox signing key] ******* changed: [c2d-devtop] TASK [c2platform.dev.virtualbox : Configure Oracle VirtualBox apt repository] *** changed: [c2d-devtop] TASK [c2platform.dev.virtualbox : Install VirtualBox packages] ***************** changed: [c2d-devtop] TASK [c2platform.dev.desktop : ImageMagick] ************************************ changed: [c2d-devtop] TASK [c2platform.core.linux : Include linux_resources] ************************* included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/user.yml for c2d-devtop => (item=10_base_users Manage accounts) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/authorized_key.yml for c2d-devtop => (item=10_base_users Authorized keys) included: /home/ostraaten/git/gitlab/c2/ansible-dev-collections/ansible_collections/c2platform/core/roles/linux/tasks/copy.yml for c2d-devtop => (item=10_base_users Sudoers) TASK [c2platform.core.linux : Copy files to remote locations] ****************** changed: [c2d-devtop] => (item=/etc/sudoers.d/c2) RUNNING HANDLER [c2platform.dev.desktop : Update dconf databases] ************** changed: [c2d-devtop] RUNNING HANDLER [c2platform.dev.desktop : Restart NetworkManager] ************** changed: [c2d-devtop] RUNNING HANDLER [c2platform.dev.virtualbox : Rebuild and reload VirtualBox kernel modules (DKMS)] *** changed: [c2d-devtop] PLAY RECAP ********************************************************************* c2d-devtop : ok=94 changed=40 unreachable=0 failed=0 skipped=50 rescued=0 ignored=0