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

RH294-74: Do not use old main namespace for ansible facts.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • RH294 - RHEL 8.4 1 20210818, RH294 - RHEL 8 1 20190531
    • RH294
    • None
    • ILT, ROLE, VT
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)||||||||
      Workaround:

      Description: In the book we are using old namespace for ansible facts. Leftover from old books.

      Page 160-163, 178, 191, 194, 228, and probably others.

       

      I.e. we have in the book:

      ansible_distribution while we should use:

      ansible_facts['distribution'] or ansible_facts.distribution

       

      It is not a bug, because it works, but it doesn't look to good when students ask about that.

       

            glsbugs-automation@redhat.com PTL - Ansible Team
            dpuchalak Dariusz Puchalak (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: