Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-26905

Remote execution with Ansible 2.16 - ANSIBLE_COLLECTION_PATHS deprecated

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • Yes

      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.

              Unassigned Unassigned
              rh-ee-drenard Dorian Renard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: