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

DO374v2.2 : ch01s07 : service module does not support "status" key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DO374 - RHAAP2.x NEXT
    • DO374 - RHAAP2.2-en-2-20240606
    • DO374
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • ROLE
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/do374-2.2/pages/ch01s07
      Reporter RHNID: chetan-rhls
      Section Title:       h2. Implementing Recommended Ansible Practices                                                                

      Issue description: In the Performing Regular Testing subsection we see :

      but "status" is not supported by service module : https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html

      https://docs.ansible.com/ansible/latest/collections/ansible/builtin/service_module.html

       

      Use state instead:

       

       

        1. image-2024-08-29-06-28-20-676.png
          279 kB
          Michael Phillips
        2. image-2024-08-29-14-03-26-195.png
          19 kB
          Carlos Arias
        3. image-2024-08-29-17-10-13-020.png
          194 kB
          Chetan Tiwary

            glsbugs-automation@redhat.com PTL - Ansible Team
            chetan-rhls Chetan Tiwary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: