Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-19983

RHC RHEL system role examples need indentation fixes

XMLWordPrintable

    • None
    • None
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • CCS 2025-7
    • None
    • Unspecified
    • Unspecified
    • Unspecified

      In Release Notes

      Automating system administration by using RHEL system roles

      Under section 24.3  the playbook example has indentation issue

      ---
      - name: Managing systems with the rhc RHEL system role
        hosts: managed-node-01.example.com
        tasks:
          - name: Disable Insights connection
              ansible.builtin.include_role:
                name: redhat.rhel_system_roles.rhc
              vars:
                rhc_insights:
                  state: absent 

      Here ^ "ansible.builtin.include_role:" and "vars:" should have same indent as "- name"

      example - 

      ---
      - name: Managing systems with the rhc RHEL system role
        hosts: localhost
        tasks:
          - name: Disable Insights connection
            ansible.builtin.include_role:
              name: redhat.rhel_system_roles.rhc
            vars:
              rhc_insights:
                state: absent 

      Same applies to examples in section 24.2 24.4 24.6 24.7 and almost all subsection of sec 24

              sdubewar Sagar Dubewar
              rhn-arpandey Archana Pandey
              Marc Muehlfeld
              RHEL Docs RHEL Docs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: