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

DO417-2.4 Feedback: In the lab "Run Tasks Conditionally" solution:...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • DO417 - RHAAP2.4-en-3-20250117
    • DO417
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/do417-2.4/pages/ch11s05
      Reporter RHNID: bmcintyr
      Section Title: Lab: Run Tasks Conditionally                                                                        

      Issue description

      Internal user feedback:

       Description:  In the lab "Run Tasks Conditionally" solution:

      This is incorrect:

       - name: Web security features are installed
       ansible.windows.win_feature:
       name: "{{ item }}"
       state: present
       loop:
       - Web-Security
       - Web-Basic-Auth
       - Web-IP-Security

      It should be:

       - name: Web security features are installed
       ansible.windows.win_feature:
       name: 
       - Web-Security
       - Web-Basic-Auth
       - Web-IP-Security
       state: present

      I'm sure that formatting is all messed up, but the idea is you don't need to loop through the features. The 'name' parameter will accept a list. 

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              glsbugs-automation@redhat.com PTL - Ansible Team
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: