Description of problem: The current version of Ansible in EPEL is old enough to not include support for categorizing Rocky Linux on ansible_os_family as RedHat. As discussed on https://github.com/ansible/ansible/issues/74565 - we are looking to see if this can be done downstream inside of EPEL since the deadline was missed to have it done upstream. We would like the change to be done in 2.9. Version-Release number of selected component (if applicable): 2.9 How reproducible: If you currently install Ansible from EPEL, Ansible will see a Rocky Linux server (https://rockylinux.org/) as Rocky for the ansible_os_family instead of RedHat. Steps to Reproduce: 1. Ensure EPEL repository is enabled. 2. Install Ansible from EPEL repository. 3. Use the setup module against a Rocky Linux server and see the "ansible_os_family" value. Actual results: ansible_os_family shows "Rocky". Expected results: ansible_os_family should show "RedHat"
Sure. Can try and get this added.
Can you all test this scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=70442850 I want to push this out with the next 2.9.x upstream release (which I think is in a week or so).
I can confirm that this works! "ansible_os_family": "RedHat"
Looks like 2.9.23 is planned for monday (day after tomorrow), so I will push this what that update. :)
Thank you very much!
FEDORA-2021-93c2b59729 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-93c2b59729
FEDORA-2021-93c2b59729 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
Hello, We still have this issue Here is the info about my server : root@serverrocky1:/# cat /etc/os-release NAME="Rocky Linux" VERSION="8.4 (Green Obsidian)" ID="rocky" ID_LIKE="rhel fedora" VERSION_ID="8.4" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:rocky:rocky:8.4:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8" --- I'm launching ansible from a Centos 7 server with ansible 2.9.23-1.el7 I still have this output "ansible_os_family": "Rocky" I've narrowed the issue to this file /usr/lib/python2.7/site-packages/ansible/module_utils/facts/system/distribution.py In this Array, there is not Rocky. OS_FAMILY_MAP = {'RedHat': ['RedHat', 'Fedora', 'CentOS', 'Scientific', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', 'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba', 'AlmaLinux'],
Can you provide output of: rpm -qi ansible Perhaps you installed from ansible.com ?
Hello, I installed from epel repository rpm -qi ansible Name : ansible Version : 2.9.23 Release : 1.el7 Architecture: noarch Install Date: Wed 28 Jul 2021 05:45:44 PM GMT Group : Unspecified Size : 108146083 License : GPLv3+ Signature : RSA/SHA256, Wed 23 Jun 2021 12:26:04 AM GMT, Key ID 6a2faea2352c64e5 Source RPM : ansible-2.9.23-1.el7.src.rpm Build Date : Wed 23 Jun 2021 12:18:38 AM GMT Build Host : buildvm-ppc64le-30.iad2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://ansible.com Bug URL : https://bugz.fedoraproject.org/ansible Summary : SSH-based configuration management, deployment, and task execution system Description : Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically.
I see the issue. ;( Look for a new update in a min here.
FEDORA-EPEL-2021-85cfa9cb1c has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-85cfa9cb1c
Okay, cool ! The patch is working. Do you know generally how long for it to merge in epel-release centos 7 ?
FEDORA-EPEL-2021-85cfa9cb1c has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-85cfa9cb1c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Thanks ! I can't create a fedora account. I get this "Something went wrong while creating your account, please try again later."
This is https://pagure.io/fedora-infrastructure/issue/10126 again it seems. We are working to fix it.
FEDORA-EPEL-2021-85cfa9cb1c has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.