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

DO374-68: Templates do not contain variables once they are rendered

XMLWordPrintable

    • 9
    • en-US (English)

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

      Description: Chapter 9 page 408

      This mistake appeared in an earlier version of the Ansible materials. Putting a message in a template to try to display the current date/time does not work. It only displays the date/time of the last time the playbook ran. It seems someone does not understand that the variables in the template get resolved and no variables remain once the file on the managed hosts gets rendered and saved.

        1. image-2022-11-09-09-16-59-770.png
          37 kB
          Michael Phillips
        2. image-2022-11-09-09-18-18-276.png
          35 kB
          Michael Phillips

              rht-miphilli Michael Phillips
              Gereint1958 Jeff Henderson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: