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

RH294-178: Ansible Facts Injected as Variables still used in examples

XMLWordPrintable

    • 9
    • VT
    • en-US (English)

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

      Description: In Chapter 3 Ansible Facts Injected as Variables
      they are discouraged and perhaps deprecated anyway, in some parts of Student Guide old fact naming are still used:
       
      pag. 147
      when: ansible_distribution in supported_distros
       
      instead of
       
      when: {{ ansible_facts['distribution'] }} in {{ supported_distros }}
       
      pag. 149
      loop: "{{ ansible_mounts }}"
       
      instead of
       
      loop: "{{ ansible_facts['mounts'] }}"
       
      and more
       
      HTH
      Alessandro

            rht-sbonnevi Steven Bonneville
            adezorzi Alessandro De Zorzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: