Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15304

Replace Deprecated collections_paths with collections_path in Ansible Config

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • DO457 - RHAAP2.3-en-5-20241122
    • DO457
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do457-2.3/pages/ch08s03 
      Reporter RHNID: shasingh01
      Section Title:  Lab: Creating Playbooks                                                                       

      Issue description

      The current ansible.cfg and documentation reference the deprecated collections_paths configuration directive. This setting has been replaced with the singular form collections_path in Ansible 2.10+ and is no longer recognized by newer versions of Ansible. Using the deprecated form may lead to content collections not being found at runtime, especially when using ansible-navigator.

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-automation@redhat.com PTL - Ansible Team
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: