AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only

Ansible "service" module fixes in ansible-7.2.0 and ansible-core-2.14.2

  • 1.  Ansible "service" module fixes in ansible-7.2.0 and ansible-core-2.14.2

    Posted Thu September 28, 2023 10:40 AM

    Hey all,

    I just want to share two included fixes in the "service" module in ansible-7.2.0 and ansible-core-2.14.2. In ansible-2.9 the parameters for "sleep" and "arguments" were not processed during a service restart and this is fixed now.

        - name: "Restart sendmail if config file changed"
          service:
            name: sendmail
            sleep: 5                   <--- Works in the new ansible version
            arguments: "-bd -q30m"     <--- Works in the new ansible version
            state: restarted

    bugfixes:
    - service - Fixed service restarts with arguments on AIX.
      (https://github.com/ansible/ansible/issues/76840)
    - service - Fixed handling of sleep arguments during service restarts on AIX.
      (https://github.com/ansible/ansible/issues/76877)

    Thanks to my team for helping to fix this bugs in Ansible!



    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------