-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
Description of problem:
On RHEL8 we released ansible-core 2.16. This version deprecated old naming of variable ANSIBLE_COLLECTION_PATHS and ask us to use the new one (ANSIBLE_COLLECTION_PATH).
Satellite-installer manage file /etc/foreman-proxy/ansible.env, this file contain old naming ANSIBLE_COLLECTION_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.