-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.17.0
Description of problem:
On RHEL8 we released ansible-core 2.16. This version deprecated old naming of variable ANSIBLE_COLLECTIONS_PATHS and ask us to use the new one (ANSIBLE_COLLECTIONS_PATH).
Satellite-installer manage file /etc/foreman-proxy/ansible.env, this file contain old naming ANSIBLE_COLLECTIONS_PATHS. Using REX feature with ansible on satellite generate deprecation warning on each execution logs.
How reproducible:
always
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
- Install supported release of satellite on rhel8 up-to-date
- Enroll a supported rhel client
- Execute ansible job
Actual behavior:
Output start with following message
[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var
naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This
feature will be removed from ansible-core in version 2.19. Deprecation warnings
can be disabled by setting deprecation_warnings=False in ansible.cfg.
Expected behavior:
Ansible execution output without deprecation warning
Business Impact / Additional info:
No real impact, it's just aesthetic. Except for customers who make logs parsing.
- depends on
-
SAT-36475 Replace deprecated ANSIBLE_COLLECTIONS_PATHS env var by ekohl · Pull Request #871 · theforeman/puppet-foreman_proxy · GitHub
-
- Closed
-
- is duplicated by
-
SAT-38815 Installer sets up deprecated ANSIBLE_COLLECTIONS_PATHS env var instead of ANSIBLE_COLLECTIONS_PATH
-
- Closed
-
- links to
-
RHBA-2025:155337
Important: Satellite 6.18.0 new version release