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

RH294-9.0 Feedback: Section 3.1: Managing Variables...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • RH294 - RHEL9.0-en-4-20241107
    • RH294
    • None
    • False
    • Hide

      None

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

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh294-9.0/pages/ch03
      Reporter RHNID: shasingh01
      Section Title: Managing Variables                                                                        

      Issue description

      Improvement:

      ==============

      Section: Using Directories to Populate Host and Group Variables

      "To define group variables for the servers group, you would create a YAML file named group_vars/servers"

      While it works to drop the ".yml" extension, Ansible supports it and it is best practice to use it. It would be clearer to show using the standard YAML file extension, "group_vars/servers.yml" and similarly in following content.

      Likewise the ".yml" extension is supported for host_vars, ex "host_vars/demo1.example.com.yml"

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rht-dspohn Dallas Spohn
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: