Package: ansible
Version: 2.7.7+dfsg-1
Severity: normal

Dear Maintainer,

My ansible playbooks heavily rely on the the operation system of the
managed machine. After upgrading the managed host I noticed the
"ansible_distribution" and releated are no longer included in the
facts, resulting in major breakage.


The controlling host is still Debian 10 ("buster") a.k.a.

| ii  ansible        2.7.7+dfsg-1 all          Configuration management, 
deployment, and task execution system


The managed host ($h) is unstable, python2 has been removed lately
(possibly unrelated).

Old facts (pre-upgrade) were gathered using:

| ansible -m setup -i "$h," $h

New facts were gathered using 

| ansible -m setup -i "$h," $h  -e 'ansible_python_interpreter=/usr/bin/python3'

Comparing the output ...

Expected: No relevant changes (just time, memory usage etc.)

Observed:

|         "ansible_devices": {
| (...)
|          },
| -        "ansible_distribution": "Debian",
| -        "ansible_distribution_file_parsed": true,
| -        "ansible_distribution_file_path": "/etc/os-release",
| -        "ansible_distribution_file_variety": "Debian",
| -        "ansible_distribution_major_version": "bullseye/sid",
| -        "ansible_distribution_release": "NA",
| -        "ansible_distribution_version": "bullseye/sid",
|          "ansible_dns": {
|              "nameservers": [

If you can shed some light on this, I'd be glad.

    Christoph

Attachment: signature.asc
Description: PGP signature

Reply via email to