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

RH294: ch2: it should be made clear that Ansible supports variables differently

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • AU294 - RHAAP2.X NEXT
    • RH294 - RHEL9.0-en-2-20221117
    • RH294
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 2
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh294-9.0/pages/ch03
      Reporter RHNID: ntadault@redhat.com 
      Section Title:                     Managing Variables                                                    

      Issue description

       In chapter 2, it should be made clear that Ansible supports  variables differently : simple variables referenced using {{ }}, dictionary variables that are not referenced using {{ }}. This is explained in the Ansible documentation but not in the text of the course. I realized this later in the course when I didn't understand why the {{ }} was not used in some examples and labs. Also it should be made clear that registered variables can be of different type and one must check this in the module documentation. 

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-automation@redhat.com PTL - Ansible Team
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: