We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use an existing play on an updated Ubuntu VM: Ubuntu 22.04.3 LTS (GNU/Linux 5.15.108-1-pve x86_64)
Ubuntu 22.04.3 LTS (GNU/Linux 5.15.108-1-pve x86_64)
Role config is:
- name: Install duplicity (ppa) when: inventory_hostname in groups['ubuntu'] include_role: name: oefenweb.duplicity apply: become: true vars: duplicity_install_method: ppa duplicity_install: python3-paramiko
The role fails with the following error:
TASK [oefenweb.duplicity : install | ppa | add repository and its signing key] *************************************************************************************************************************** task path: /home/edalquist/.ansible/roles/oefenweb.duplicity/tasks/install-ppa.yml:12 <linvm> ESTABLISH SSH CONNECTION FOR USER: None <linvm> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' linvm '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <linvm> (0, b'/home/edalquist\n', b'') <linvm> ESTABLISH SSH CONNECTION FOR USER: None <linvm> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' linvm '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/edalquist/.ansible/tmp `"&& mkdir "` echo /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220 `" && echo ansible-tmp-1693495206.464575-4706-115186423238220="` echo /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220 `" ) && sleep 0'"'"'' <linvm> (0, b'ansible-tmp-1693495206.464575-4706-115186423238220=/home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220\n', b'') Using module file /home/edalquist/ansible/.venv/lib/python3.8/site-packages/ansible/modules/apt_repository.py <linvm> PUT /home/edalquist/.ansible/tmp/ansible-local-4241p5tlq7jd/tmpcux39pd_ TO /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/AnsiballZ_apt_repository.py <linvm> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' '[linvm]' <linvm> (0, b'sftp> put /home/edalquist/.ansible/tmp/ansible-local-4241p5tlq7jd/tmpcux39pd_ /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/AnsiballZ_apt_repository.py\n', b'') <linvm> ESTABLISH SSH CONNECTION FOR USER: None <linvm> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' linvm '/bin/sh -c '"'"'chmod u+x /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/ /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/AnsiballZ_apt_repository.py && sleep 0'"'"'' <linvm> (0, b'', b'') <linvm> ESTABLISH SSH CONNECTION FOR USER: None <linvm> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' -tt linvm '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=wizhpffvezacyphssjwuuezpnonvgcpj] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-wizhpffvezacyphssjwuuezpnonvgcpj ; /usr/bin/python3 /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/AnsiballZ_apt_repository.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <linvm> (1, b'\r\n\r\n{"cmd": "apt-key adv --recv-keys --no-tty --keyserver hkp://keyserver.ubuntu.com:80 AF953139C1DF9EF3476DE1D58F571BB27A86F4A2", "rc": 2, "stdout": "Executing: /tmp/apt-key-gpghome.aoOIrbpnnS/gpg.1.sh --recv-keys --no-tty --keyserver hkp://keyserver.ubuntu.com:80 AF953139C1DF9EF3476DE1D58F571BB27A86F4A2\\n", "stderr": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\\ngpg: keyserver receive failed: Server indicated a failure\\n", "failed": true, "msg": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\\ngpg: keyserver receive failed: Server indicated a failure", "invocation": {"module_args": {"repo": "ppa:duplicity-team/duplicity-release-git", "update_cache": true, "mode": 420, "state": "present", "update_cache_retries": 5, "update_cache_retry_max_delay": 12, "install_python_apt": true, "validate_certs": true, "filename": null, "codename": null}}}\r\n', b'Shared connection to linvm closed.\r\n') <linvm> Failed to connect to the host via ssh: Shared connection to linvm closed. <linvm> ESTABLISH SSH CONNECTION FOR USER: None <linvm> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/home/edalquist/.ansible/cp/b4a4df7804"' linvm '/bin/sh -c '"'"'rm -f -r /home/edalquist/.ansible/tmp/ansible-tmp-1693495206.464575-4706-115186423238220/ > /dev/null 2>&1 && sleep 0'"'"'' <linvm> (0, b'', b'') fatal: [linvm]: FAILED! => { "changed": false, "cmd": "apt-key adv --recv-keys --no-tty --keyserver hkp://keyserver.ubuntu.com:80 AF953139C1DF9EF3476DE1D58F571BB27A86F4A2", "invocation": { "module_args": { "codename": null, "filename": null, "install_python_apt": true, "mode": 420, "repo": "ppa:duplicity-team/duplicity-release-git", "state": "present", "update_cache": true, "update_cache_retries": 5, "update_cache_retry_max_delay": 12, "validate_certs": true } }, "msg": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\ngpg: keyserver receive failed: Server indicated a failure", "rc": 2, "stderr": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\ngpg: keyserver receive failed: Server indicated a failure\n", "stderr_lines": [ "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).", "gpg: keyserver receive failed: Server indicated a failure" ], "stdout": "Executing: /tmp/apt-key-gpghome.aoOIrbpnnS/gpg.1.sh --recv-keys --no-tty --keyserver hkp://keyserver.ubuntu.com:80 AF953139C1DF9EF3476DE1D58F571BB27A86F4A2\n", "stdout_lines": [ "Executing: /tmp/apt-key-gpghome.aoOIrbpnnS/gpg.1.sh --recv-keys --no-tty --keyserver hkp://keyserver.ubuntu.com:80 AF953139C1DF9EF3476DE1D58F571BB27A86F4A2" ] }
The text was updated successfully, but these errors were encountered:
Ubuntu 22.04 is not yet supported
Sorry, something went wrong.
No branches or pull requests
I'm trying to use an existing play on an updated Ubuntu VM:
Ubuntu 22.04.3 LTS (GNU/Linux 5.15.108-1-pve x86_64)
Role config is:
The role fails with the following error:
The text was updated successfully, but these errors were encountered: