Package: ansible
Version: 2.9.9+dfsg-1
Severity: normal
Tags: upstream
Dear Maintainer,
This appears to be upstream issue #16536, although it's claimed to be
fixed since 2018.
https://github.com/ansible/ansible/issues/16536
Minimal playbook to reproduce is attached.
Kind regards,
Andrei
-- System Information:
Debian Release: 10.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable'), (1, 'unstable'), (1, 'testing')
Architecture: arm64 (aarch64)
Kernel: Linux 4.19.0-8-arm64 (SMP w/4 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8),
LANGUAGE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ansible depends on:
ii openssh-client 1:7.9p1-10+deb10u2
ii python3 3.7.3-1
ii python3-crypto 2.6.1-9+b1
ii python3-cryptography 2.6.1-3+deb10u2
ii python3-distutils 3.7.3-1
ii python3-dnspython 1.16.0-1
ii python3-httplib2 0.11.3-2
ii python3-jinja2 2.10-2
ii python3-netaddr 0.7.19-1
ii python3-paramiko 2.4.2-0.1
ii python3-yaml 3.13-2
Versions of packages ansible recommends:
ii python3-argcomplete 1.8.1-1
ii python3-jmespath 0.9.4-1
ii python3-kerberos 1.1.14-2
ii python3-libcloud 2.4.0-1
ii python3-selinux 2.8-1+b1
ii python3-winrm 0.3.0-2
ii python3-xmltodict 0.11.0-2
Versions of packages ansible suggests:
pn cowsay <none>
pn sshpass <none>
-- no debconf information
---
- name: simple playbook to test default_release for already installed package
hosts: all
tasks:
- apt:
name: ansible
- command: dpkg-query -W ansible
register: dpkg_out1
- debug:
var: dpkg_out1
- apt_repository:
repo: 'deb https://deb.debian.org/debian buster-backports main'
- apt:
name: ansible
default-release: buster-backports
- command: dpkg-query -W ansible
register: dpkg_out2
- debug:
var: dpkg_out2
- command: apt-get install -y -V -t buster-backports ansible
register: apt_out
- debug:
var: apt_out