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

Suggestion: RHT2336298: RH294: Ch09s03: Rather than showing the old style "with_nested" it could show using "loop".

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)
    • AU294v2.5 Sprint 1

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh294-9.0/pages/ch09s03
      Reporter RHNID: wasim-rhls
      Section Title: Managing Users and Authentication                                                                       

      Issue description

      Rather than showing the old style "with_nested" it could show using "loop" with:

      loop: "{{ ansible_play_hosts | product(['rsa_host_keys', 'ed25519_host_keys']) | list }}"

      https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html#with-nested-with-cartesian 

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rht-dspohn Dallas Spohn
              wraja@redhat.com Wasim Raja
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: