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

RH294-59: CH4: register example uses deprecated var=value syntax

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH294 - RHEL 8.4 0
    • RH294 - RHEL 8 1 20190531
    • RH294
    • None
    • 4
    • ILT
    • en-US (English)

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

      Description: In the first section of Chapter 4, Managing Variables, in the subsection 'Capturing Command Output with Registered Variables' the examples registers the variable install_result and then dumps it with:

      - debug: var=install_result
      

      This should be

      - debug:
          var: install_result

      as we just told students in the previous chapter that the var=value style is outdated and deprecated because ansible can't do a yaml syntax check on it.

            ghacker_jira George Hacker (Inactive)
            martvandewege Mart van de Wege (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: