Skip to content
New issue

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

package_facts module does not update packages host facts with apk when cache is empty or network unreacheable #83126

Open
1 task done
geckoflume opened this issue Apr 23, 2024 · 1 comment · May be fixed by #83132
Open
1 task done
Labels
affects_2.16 bug This issue/PR relates to a bug. has_pr This issue has an associated PR. module This issue/PR relates to a module.

Comments

@geckoflume
Copy link

Summary

When running module package_facts on an offline (or with deleted cache) system using apk as package manager (Alpine Linux 3.19.1), the packages dictionnary is not populated because a warning is printed on the stderr output, even if the return code is 0.

On the target system, the following command help me figure out why:

$ /sbin/apk info > /dev/null && echo rc=$?
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/main: No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/community: No such file or directory
rc=0

I believe this is due to the check for err on line 443 of the package_facts module:

    def list_installed(self):
        rc, out, err = module.run_command([self._cli, 'info', '-v'])
        if rc != 0 or err:
            raise Exception("Unable to list packages rc=%s : %s" % (rc, err))
        return out.splitlines()

The following Exception can be printed:

Unable to list packages rc=0 : WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/main: No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/community: No such file or directory

Issue Type

Bug Report

Component Name

package_facts

Ansible Version

$ ansible --version
ansible [core 2.16.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/user/.local/lib/python3.12/site-packages/ansible
  ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/user/.local/bin/ansible
  python version = 3.12.2 (main, Feb  7 2024, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] (/usr/bin/python3)
  jinja version = 3.1.3
  libyaml = True

Configuration

# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t all

OS / Environment

Target OS : Alpine Linux 3.19.1

Steps to Reproduce

- name: Gather packages facts
  ansible.builtin.package_facts:
    manager: auto
- name: Gather packages facts
  ansible.builtin.package_facts:
    manager: apk

Expected Results

Results obtained when replacing if rc != 0 or err: with if rc != 0:

{
   "ansible_facts":{
      "packages":{
         "alpine-base":[
            {
               "name":"alpine-base",
               "version":"3.19.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "alpine-baselayout":[
            {
               "name":"alpine-baselayout",
               "version":"3.4.3",
               "release":"r2",
               "source":"apk"
            }
         ],
         "alpine-baselayout-data":[
            {
               "name":"alpine-baselayout-data",
               "version":"3.4.3",
               "release":"r2",
               "source":"apk"
            }
         ],
         "alpine-conf":[
            {
               "name":"alpine-conf",
               "version":"3.17.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "alpine-keys":[
            {
               "name":"alpine-keys",
               "version":"2.4",
               "release":"r1",
               "source":"apk"
            }
         ],
         "alpine-release":[
            {
               "name":"alpine-release",
               "version":"3.19.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "apk-tools":[
            {
               "name":"apk-tools",
               "version":"2.14.0",
               "release":"r5",
               "source":"apk"
            }
         ],
         "argon2-libs":[
            {
               "name":"argon2-libs",
               "version":"20190702",
               "release":"r5",
               "source":"apk"
            }
         ],
         "blkid":[
            {
               "name":"blkid",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "busybox":[
            {
               "name":"busybox",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "busybox-binsh":[
            {
               "name":"busybox-binsh",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "busybox-mdev-openrc":[
            {
               "name":"busybox-mdev-openrc",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "busybox-openrc":[
            {
               "name":"busybox-openrc",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "busybox-suid":[
            {
               "name":"busybox-suid",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "ca-certificates-bundle":[
            {
               "name":"ca-certificates-bundle",
               "version":"20230506",
               "release":"r0",
               "source":"apk"
            }
         ],
         "chrony":[
            {
               "name":"chrony",
               "version":"4.5",
               "release":"r0",
               "source":"apk"
            }
         ],
         "chrony-openrc":[
            {
               "name":"chrony-openrc",
               "version":"4.5",
               "release":"r0",
               "source":"apk"
            }
         ],
         "cloud-init":[
            {
               "name":"cloud-init",
               "version":"23.4",
               "release":"r0",
               "source":"apk"
            }
         ],
         "cloud-init-openrc":[
            {
               "name":"cloud-init-openrc",
               "version":"23.4",
               "release":"r0",
               "source":"apk"
            }
         ],
         "cloud-init-pyc":[
            {
               "name":"cloud-init-pyc",
               "version":"23.4",
               "release":"r0",
               "source":"apk"
            }
         ],
         "cloud-utils-growpart":[
            {
               "name":"cloud-utils-growpart",
               "version":"0.33",
               "release":"r0",
               "source":"apk"
            }
         ],
         "coreutils":[
            {
               "name":"coreutils",
               "version":"9.4",
               "release":"r2",
               "source":"apk"
            }
         ],
         "coreutils-env":[
            {
               "name":"coreutils-env",
               "version":"9.4",
               "release":"r2",
               "source":"apk"
            }
         ],
         "coreutils-fmt":[
            {
               "name":"coreutils-fmt",
               "version":"9.4",
               "release":"r2",
               "source":"apk"
            }
         ],
         "coreutils-sha512sum":[
            {
               "name":"coreutils-sha512sum",
               "version":"9.4",
               "release":"r2",
               "source":"apk"
            }
         ],
         "cryptsetup-libs":[
            {
               "name":"cryptsetup-libs",
               "version":"2.6.1",
               "release":"r8",
               "source":"apk"
            }
         ],
         "device-mapper-libs":[
            {
               "name":"device-mapper-libs",
               "version":"2.03.23",
               "release":"r0",
               "source":"apk"
            }
         ],
         "dhclient":[
            {
               "name":"dhclient",
               "version":"4.4.3_p1",
               "release":"r4",
               "source":"apk"
            }
         ],
         "doas":[
            {
               "name":"doas",
               "version":"6.8.2",
               "release":"r6",
               "source":"apk"
            }
         ],
         "dosfstools":[
            {
               "name":"dosfstools",
               "version":"4.2",
               "release":"r2",
               "source":"apk"
            }
         ],
         "e2fsprogs":[
            {
               "name":"e2fsprogs",
               "version":"1.47.0",
               "release":"r5",
               "source":"apk"
            }
         ],
         "e2fsprogs-extra":[
            {
               "name":"e2fsprogs-extra",
               "version":"1.47.0",
               "release":"r5",
               "source":"apk"
            }
         ],
         "e2fsprogs-libs":[
            {
               "name":"e2fsprogs-libs",
               "version":"1.47.0",
               "release":"r5",
               "source":"apk"
            }
         ],
         "gdbm":[
            {
               "name":"gdbm",
               "version":"1.23",
               "release":"r1",
               "source":"apk"
            }
         ],
         "gmp":[
            {
               "name":"gmp",
               "version":"6.3.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "gnutls":[
            {
               "name":"gnutls",
               "version":"3.8.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "grub":[
            {
               "name":"grub",
               "version":"2.06",
               "release":"r17",
               "source":"apk"
            }
         ],
         "grub-efi":[
            {
               "name":"grub-efi",
               "version":"2.06",
               "release":"r17",
               "source":"apk"
            }
         ],
         "ifupdown-ng":[
            {
               "name":"ifupdown-ng",
               "version":"0.12.1",
               "release":"r4",
               "source":"apk"
            }
         ],
         "ifupdown-ng-iproute2":[
            {
               "name":"ifupdown-ng-iproute2",
               "version":"0.12.1",
               "release":"r4",
               "source":"apk"
            }
         ],
         "iproute2":[
            {
               "name":"iproute2",
               "version":"6.6.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "iproute2-minimal":[
            {
               "name":"iproute2-minimal",
               "version":"6.6.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "iproute2-ss":[
            {
               "name":"iproute2-ss",
               "version":"6.6.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "iproute2-tc":[
            {
               "name":"iproute2-tc",
               "version":"6.6.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "json-c":[
            {
               "name":"json-c",
               "version":"0.17",
               "release":"r0",
               "source":"apk"
            }
         ],
         "kmod":[
            {
               "name":"kmod",
               "version":"31",
               "release":"r2",
               "source":"apk"
            }
         ],
         "kmod-libs":[
            {
               "name":"kmod-libs",
               "version":"31",
               "release":"r2",
               "source":"apk"
            }
         ],
         "kmod-openrc":[
            {
               "name":"kmod-openrc",
               "version":"31",
               "release":"r2",
               "source":"apk"
            }
         ],
         "lddtree":[
            {
               "name":"lddtree",
               "version":"1.27",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libacl":[
            {
               "name":"libacl",
               "version":"2.3.1",
               "release":"r4",
               "source":"apk"
            }
         ],
         "libattr":[
            {
               "name":"libattr",
               "version":"2.5.1",
               "release":"r5",
               "source":"apk"
            }
         ],
         "libblkid":[
            {
               "name":"libblkid",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libbsd":[
            {
               "name":"libbsd",
               "version":"0.11.7",
               "release":"r3",
               "source":"apk"
            }
         ],
         "libbz2":[
            {
               "name":"libbz2",
               "version":"1.0.8",
               "release":"r6",
               "source":"apk"
            }
         ],
         "libc-utils":[
            {
               "name":"libc-utils",
               "version":"0.7.2",
               "release":"r5",
               "source":"apk"
            }
         ],
         "libcap2":[
            {
               "name":"libcap2",
               "version":"2.69",
               "release":"r1",
               "source":"apk"
            }
         ],
         "libcom_err":[
            {
               "name":"libcom_err",
               "version":"1.47.0",
               "release":"r5",
               "source":"apk"
            }
         ],
         "libcrypto3":[
            {
               "name":"libcrypto3",
               "version":"3.1.4",
               "release":"r5",
               "source":"apk"
            }
         ],
         "libedit":[
            {
               "name":"libedit",
               "version":"20230828.3.1",
               "release":"r3",
               "source":"apk"
            }
         ],
         "libelf":[
            {
               "name":"libelf",
               "version":"0.190",
               "release":"r1",
               "source":"apk"
            }
         ],
         "libexpat":[
            {
               "name":"libexpat",
               "version":"2.5.0",
               "release":"r2",
               "source":"apk"
            }
         ],
         "libfdisk":[
            {
               "name":"libfdisk",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libffi":[
            {
               "name":"libffi",
               "version":"3.4.4",
               "release":"r3",
               "source":"apk"
            }
         ],
         "libgcc":[
            {
               "name":"libgcc",
               "version":"13.2.1_git20231014",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libidn2":[
            {
               "name":"libidn2",
               "version":"2.3.4",
               "release":"r4",
               "source":"apk"
            }
         ],
         "libmd":[
            {
               "name":"libmd",
               "version":"1.1.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libmnl":[
            {
               "name":"libmnl",
               "version":"1.0.5",
               "release":"r2",
               "source":"apk"
            }
         ],
         "libmount":[
            {
               "name":"libmount",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libncursesw":[
            {
               "name":"libncursesw",
               "version":"6.4_p20231125",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libpanelw":[
            {
               "name":"libpanelw",
               "version":"6.4_p20231125",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libseccomp":[
            {
               "name":"libseccomp",
               "version":"2.5.5",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libsmartcols":[
            {
               "name":"libsmartcols",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libssl3":[
            {
               "name":"libssl3",
               "version":"3.1.4",
               "release":"r5",
               "source":"apk"
            }
         ],
         "libstdc++":[
            {
               "name":"libstdc++",
               "version":"13.2.1_git20231014",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libtasn1":[
            {
               "name":"libtasn1",
               "version":"4.19.0",
               "release":"r2",
               "source":"apk"
            }
         ],
         "libunistring":[
            {
               "name":"libunistring",
               "version":"1.1",
               "release":"r2",
               "source":"apk"
            }
         ],
         "libuuid":[
            {
               "name":"libuuid",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "libxtables":[
            {
               "name":"libxtables",
               "version":"1.8.10",
               "release":"r3",
               "source":"apk"
            }
         ],
         "linux-pam":[
            {
               "name":"linux-pam",
               "version":"1.5.3",
               "release":"r7",
               "source":"apk"
            }
         ],
         "linux-virt":[
            {
               "name":"linux-virt",
               "version":"6.6.14",
               "release":"r0",
               "source":"apk"
            }
         ],
         "mdev-conf":[
            {
               "name":"mdev-conf",
               "version":"4.6",
               "release":"r0",
               "source":"apk"
            }
         ],
         "mkinitfs":[
            {
               "name":"mkinitfs",
               "version":"3.9.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "mount":[
            {
               "name":"mount",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "mpdecimal":[
            {
               "name":"mpdecimal",
               "version":"2.5.1",
               "release":"r2",
               "source":"apk"
            }
         ],
         "musl":[
            {
               "name":"musl",
               "version":"1.2.4_git20230717",
               "release":"r4",
               "source":"apk"
            }
         ],
         "musl-utils":[
            {
               "name":"musl-utils",
               "version":"1.2.4_git20230717",
               "release":"r4",
               "source":"apk"
            }
         ],
         "ncurses-terminfo-base":[
            {
               "name":"ncurses-terminfo-base",
               "version":"6.4_p20231125",
               "release":"r0",
               "source":"apk"
            }
         ],
         "nettle":[
            {
               "name":"nettle",
               "version":"3.9.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openrc":[
            {
               "name":"openrc",
               "version":"0.52.1",
               "release":"r2",
               "source":"apk"
            }
         ],
         "openssh":[
            {
               "name":"openssh",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-client-common":[
            {
               "name":"openssh-client-common",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-client-default":[
            {
               "name":"openssh-client-default",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-keygen":[
            {
               "name":"openssh-keygen",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-server":[
            {
               "name":"openssh-server",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-server-common":[
            {
               "name":"openssh-server-common",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-server-common-openrc":[
            {
               "name":"openssh-server-common-openrc",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-server-pam":[
            {
               "name":"openssh-server-pam",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "openssh-sftp-server":[
            {
               "name":"openssh-sftp-server",
               "version":"9.6_p1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "p11-kit":[
            {
               "name":"p11-kit",
               "version":"0.25.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "partx":[
            {
               "name":"partx",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-attrs":[
            {
               "name":"py3-attrs",
               "version":"23.1.0",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-attrs-pyc":[
            {
               "name":"py3-attrs-pyc",
               "version":"23.1.0",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-certifi":[
            {
               "name":"py3-certifi",
               "version":"2023.7.22",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-certifi-pyc":[
            {
               "name":"py3-certifi-pyc",
               "version":"2023.7.22",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-charset-normalizer":[
            {
               "name":"py3-charset-normalizer",
               "version":"3.3.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-charset-normalizer-pyc":[
            {
               "name":"py3-charset-normalizer-pyc",
               "version":"3.3.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-configobj":[
            {
               "name":"py3-configobj",
               "version":"5.0.8",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-configobj-pyc":[
            {
               "name":"py3-configobj-pyc",
               "version":"5.0.8",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-idna":[
            {
               "name":"py3-idna",
               "version":"3.6",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-idna-pyc":[
            {
               "name":"py3-idna-pyc",
               "version":"3.6",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jinja2":[
            {
               "name":"py3-jinja2",
               "version":"3.1.2",
               "release":"r3",
               "source":"apk"
            }
         ],
         "py3-jinja2-pyc":[
            {
               "name":"py3-jinja2-pyc",
               "version":"3.1.2",
               "release":"r3",
               "source":"apk"
            }
         ],
         "py3-jsonpatch":[
            {
               "name":"py3-jsonpatch",
               "version":"1.33",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonpatch-pyc":[
            {
               "name":"py3-jsonpatch-pyc",
               "version":"1.33",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonpointer":[
            {
               "name":"py3-jsonpointer",
               "version":"2.4",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonpointer-pyc":[
            {
               "name":"py3-jsonpointer-pyc",
               "version":"2.4",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonschema":[
            {
               "name":"py3-jsonschema",
               "version":"4.20.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonschema-pyc":[
            {
               "name":"py3-jsonschema-pyc",
               "version":"4.20.0",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-jsonschema-specifications":[
            {
               "name":"py3-jsonschema-specifications",
               "version":"2023.07.1",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-jsonschema-specifications-pyc":[
            {
               "name":"py3-jsonschema-specifications-pyc",
               "version":"2023.07.1",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-markupsafe":[
            {
               "name":"py3-markupsafe",
               "version":"2.1.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-markupsafe-pyc":[
            {
               "name":"py3-markupsafe-pyc",
               "version":"2.1.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-referencing":[
            {
               "name":"py3-referencing",
               "version":"0.31.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-referencing-pyc":[
            {
               "name":"py3-referencing-pyc",
               "version":"0.31.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-requests":[
            {
               "name":"py3-requests",
               "version":"2.31.0",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-requests-pyc":[
            {
               "name":"py3-requests-pyc",
               "version":"2.31.0",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-rpds-py":[
            {
               "name":"py3-rpds-py",
               "version":"0.10.6",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-rpds-py-pyc":[
            {
               "name":"py3-rpds-py-pyc",
               "version":"0.10.6",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-six":[
            {
               "name":"py3-six",
               "version":"1.16.0",
               "release":"r8",
               "source":"apk"
            }
         ],
         "py3-six-pyc":[
            {
               "name":"py3-six-pyc",
               "version":"1.16.0",
               "release":"r8",
               "source":"apk"
            }
         ],
         "py3-urllib3":[
            {
               "name":"py3-urllib3",
               "version":"1.26.18",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-urllib3-pyc":[
            {
               "name":"py3-urllib3-pyc",
               "version":"1.26.18",
               "release":"r0",
               "source":"apk"
            }
         ],
         "py3-yaml":[
            {
               "name":"py3-yaml",
               "version":"6.0.1",
               "release":"r1",
               "source":"apk"
            }
         ],
         "py3-yaml-pyc":[
            {
               "name":"py3-yaml-pyc",
               "version":"6.0.1",
               "release":"r1",
               "source":"apk"
            }
         ],
         "pyc":[
            {
               "name":"pyc",
               "version":"3.11.6",
               "release":"r1",
               "source":"apk"
            }
         ],
         "python3":[
            {
               "name":"python3",
               "version":"3.11.6",
               "release":"r1",
               "source":"apk"
            }
         ],
         "python3-pyc":[
            {
               "name":"python3-pyc",
               "version":"3.11.6",
               "release":"r1",
               "source":"apk"
            }
         ],
         "python3-pycache-pyc0":[
            {
               "name":"python3-pycache-pyc0",
               "version":"3.11.6",
               "release":"r1",
               "source":"apk"
            }
         ],
         "readline":[
            {
               "name":"readline",
               "version":"8.2.1",
               "release":"r2",
               "source":"apk"
            }
         ],
         "run-parts":[
            {
               "name":"run-parts",
               "version":"4.11.2",
               "release":"r2",
               "source":"apk"
            }
         ],
         "scanelf":[
            {
               "name":"scanelf",
               "version":"1.3.7",
               "release":"r2",
               "source":"apk"
            }
         ],
         "sfdisk":[
            {
               "name":"sfdisk",
               "version":"2.39.3",
               "release":"r0",
               "source":"apk"
            }
         ],
         "shadow":[
            {
               "name":"shadow",
               "version":"4.14.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "skalibs":[
            {
               "name":"skalibs",
               "version":"2.14.0.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "sqlite-libs":[
            {
               "name":"sqlite-libs",
               "version":"3.44.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "ssl_client":[
            {
               "name":"ssl_client",
               "version":"1.36.1",
               "release":"r15",
               "source":"apk"
            }
         ],
         "tzdata":[
            {
               "name":"tzdata",
               "version":"2023d",
               "release":"r0",
               "source":"apk"
            }
         ],
         "utmps-libs":[
            {
               "name":"utmps-libs",
               "version":"0.1.2.2",
               "release":"r0",
               "source":"apk"
            }
         ],
         "xz-libs":[
            {
               "name":"xz-libs",
               "version":"5.4.5",
               "release":"r0",
               "source":"apk"
            }
         ],
         "yaml":[
            {
               "name":"yaml",
               "version":"0.2.5",
               "release":"r2",
               "source":"apk"
            }
         ],
         "zlib":[
            {
               "name":"zlib",
               "version":"1.3.1",
               "release":"r0",
               "source":"apk"
            }
         ],
         "zstd-libs":[
            {
               "name":"zstd-libs",
               "version":"1.5.5",
               "release":"r8",
               "source":"apk"
            }
         ]
      }
   },
   "invocation":{
      "module_args":{
         "manager":[
            "auto"
         ],
         "strategy":"first"
      }
   }
}

Actual Results

TASK [generic-gen-info : Gather packages facts] ********************************
mardi 23 avril 2024  16:19:50 +0200 (0:00:07.935)       0:00:17.856 *********** 
mardi 23 avril 2024  16:19:50 +0200 (0:00:07.935)       0:00:17.854 *********** 
redirecting (type: become) ansible.builtin.doas to community.general.doas
Loading collection community.general from /usr/lib/python3.12/site-packages/ansible_collections/community/general
<127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: feu
<127.0.0.1> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39459 -o 'IdentityFile="/tmp/ansible-key870762749"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="feu"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o 'ControlPath="/home/user/.ansible/cp/88a3539496"' 127.0.0.1 '/bin/sh -c '"'"'echo ~feu && sleep 0'"'"''
<127.0.0.1> (0, b'/home/feu\n', b"OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 984414\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: feu
<127.0.0.1> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39459 -o 'IdentityFile="/tmp/ansible-key870762749"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="feu"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o 'ControlPath="/home/user/.ansible/cp/88a3539496"' 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/feu/.ansible/tmp `"&& mkdir "` echo /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798 `" && echo ansible-tmp-1713881991.126123-984691-214705964913798="` echo /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798 `" ) && sleep 0'"'"''
<127.0.0.1> (0, b'ansible-tmp-1713881991.126123-984691-214705964913798=/home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798\n', b"OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 984414\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Using module file /home/user/.local/lib/python3.12/site-packages/ansible/modules/package_facts.py
<127.0.0.1> PUT /home/user/.ansible/tmp/ansible-local-984399n7nvotqy/tmpcuoqjjj8 TO /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/AnsiballZ_package_facts.py
<127.0.0.1> SSH: EXEC scp -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39459 -o 'IdentityFile="/tmp/ansible-key870762749"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="feu"' -o ConnectTimeout=10 -O -o 'ControlPath="/home/user/.ansible/cp/88a3539496"' /home/user/.ansible/tmp/ansible-local-984399n7nvotqy/tmpcuoqjjj8 '[127.0.0.1]:/home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/AnsiballZ_package_facts.py'
<127.0.0.1> (0, b'', b"Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/AnsiballZ_package_facts.py\nOpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 984414\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nscp: debug1: fd 3 clearing O_NONBLOCK\r\nSending file modes: C0600 308875 tmpcuoqjjj8\nscp: debug2: fd 4 setting O_NONBLOCK\r\nscp: debug1: fd 4 clearing O_NONBLOCK\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: feu
<127.0.0.1> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39459 -o 'IdentityFile="/tmp/ansible-key870762749"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="feu"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o 'ControlPath="/home/user/.ansible/cp/88a3539496"' 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/ /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/AnsiballZ_package_facts.py && sleep 0'"'"''
<127.0.0.1> (0, b'', b"OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 984414\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: feu
<127.0.0.1> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=39459 -o 'IdentityFile="/tmp/ansible-key870762749"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="feu"' -o ConnectTimeout=10 '-o IdentitiesOnly=yes' -o 'ControlPath="/home/user/.ansible/cp/88a3539496"' -tt 127.0.0.1 '/bin/sh -c '"'"'doas  -n  /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-hrsfrrzzzizbuucytivllhrhjuhgfrjb ; /usr/bin/python3 /home/feu/.ansible/tmp/ansible-tmp-1713881991.126123-984691-214705964913798/AnsiballZ_package_facts.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<127.0.0.1> (0, b'\n{"ansible_facts": {"packages": {}}, "invocation": {"module_args": {"manager": ["auto"], "strategy": "first"}}}\n', b"OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /home/user/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host 127.0.0.1 originally 127.0.0.1\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 984414\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 127.0.0.1 closed.\r\n")
ok: [default] => {
    "ansible_facts": {
        "packages": {}
    },
    "changed": false,
    "invocation": {
        "module_args": {
            "manager": [
                "auto"
            ],
            "strategy": "first"
        }
    }
}

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. affects_2.16 module This issue/PR relates to a module. labels Apr 23, 2024
@ansibot
Copy link
Contributor

ansibot commented Apr 23, 2024

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the component bot command.

@geckoflume geckoflume linked a pull request Apr 24, 2024 that will close this issue
@ansibot ansibot added the has_pr This issue has an associated PR. label Apr 24, 2024
@mattclay mattclay removed the needs_triage Needs a first human triage before being processed. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects_2.16 bug This issue/PR relates to a bug. has_pr This issue has an associated PR. module This issue/PR relates to a module.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants