PLAY [Converge] ****************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 02 October 2025  15:48:07 +0000 (0:00:00.011)       0:00:00.011 ******
ok: [instance]

TASK [cifmw_ntp : Install chrony] **********************************************
Thursday 02 October 2025  15:48:08 +0000 (0:00:00.817)       0:00:00.828 ******
ok: [instance]

TASK [cifmw_ntp : Configure original chrony.conf file] *************************
Thursday 02 October 2025  15:48:09 +0000 (0:00:00.788)       0:00:01.617 ******
ok: [instance] => (item={'regexp': '^(server.*)$', 'line': '#\\g<1>', 'backrefs': True})
changed: [instance] => (item={'line': 'include /etc/chrony-cifmw.conf', 'insertafter': 'EOF'})

TASK [cifmw_ntp : Render chrony extra config file] *****************************
Thursday 02 October 2025  15:48:09 +0000 (0:00:00.494)       0:00:02.112 ******
changed: [instance]

TASK [cifmw_ntp : Enable chrony service] ***************************************
Thursday 02 October 2025  15:48:10 +0000 (0:00:00.583)       0:00:02.695 ******
ok: [instance]

RUNNING HANDLER [cifmw_ntp : Restart chrony] ***********************************
Thursday 02 October 2025  15:48:10 +0000 (0:00:00.534)       0:00:03.229 ******
changed: [instance]

PLAY RECAP *********************************************************************
instance                   : ok=6    changed=3    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Thursday 02 October 2025  15:48:11 +0000 (0:00:00.377)       0:00:03.607 ******
===============================================================================
Gathering Facts --------------------------------------------------------- 0.82s
cifmw_ntp : Install chrony ---------------------------------------------- 0.79s
cifmw_ntp : Render chrony extra config file ----------------------------- 0.58s
cifmw_ntp : Enable chrony service --------------------------------------- 0.53s
cifmw_ntp : Configure original chrony.conf file ------------------------- 0.49s
cifmw_ntp : Restart chrony ---------------------------------------------- 0.38s

PLAY [Verify] ******************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 02 October 2025  15:48:11 +0000 (0:00:00.014)       0:00:00.014 ******
ok: [instance]

TASK [Get service facts] *******************************************************
Thursday 02 October 2025  15:48:12 +0000 (0:00:00.779)       0:00:00.794 ******
ok: [instance]

TASK [Assert that the service exists, is enabled and running] ******************
Thursday 02 October 2025  15:48:14 +0000 (0:00:01.807)       0:00:02.602 ******
ok: [instance] => changed=false
  msg: All assertions passed

TASK [Check if the chrony.conf file has been configured properly] **************
Thursday 02 October 2025  15:48:14 +0000 (0:00:00.032)       0:00:02.634 ******
ok: [instance] => (item={'regexp': '^(server.*)$', 'line': '#\\g<1>', 'backrefs': True})
ok: [instance] => (item={'line': 'include /etc/chrony-cifmw.conf'})

TASK [Check if the provided ntp server is configured in the custom configuration file] ***
Thursday 02 October 2025  15:48:14 +0000 (0:00:00.458)       0:00:03.092 ******
ok: [instance]

TASK [Assert that chrony.conf has been correctly configured] *******************
Thursday 02 October 2025  15:48:15 +0000 (0:00:00.197)       0:00:03.290 ******
ok: [instance] => (item={'changed': False, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/etc/chrony.conf (content)', 'after_header': '/etc/chrony.conf (content)'}, {'before_header': '/etc/chrony.conf (file attributes)', 'after_header': '/etc/chrony.conf (file attributes)'}], 'invocation': {'module_args': {'path': '/etc/chrony.conf', 'regexp': '^(server.*)$', 'line': '#\\g<1>', 'backrefs': True, 'state': 'present', 'create': False, 'backup': False, 'firstmatch': False, 'unsafe_writes': False, 'search_string': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'regexp': '^(server.*)$', 'line': '#\\g<1>', 'backrefs': True}, 'ansible_loop_var': 'item'}) => changed=false
  ansible_loop_var: item
  item:
    ansible_loop_var: item
    backup: ''
    changed: false
    diff:
    - after: ''
      after_header: /etc/chrony.conf (content)
      before: ''
      before_header: /etc/chrony.conf (content)
    - after_header: /etc/chrony.conf (file attributes)
      before_header: /etc/chrony.conf (file attributes)
    failed: false
    invocation:
      module_args:
        attributes: null
        backrefs: true
        backup: false
        create: false
        firstmatch: false
        group: null
        insertafter: null
        insertbefore: null
        line: '#\g<1>'
        mode: null
        owner: null
        path: /etc/chrony.conf
        regexp: ^(server.*)$
        search_string: null
        selevel: null
        serole: null
        setype: null
        seuser: null
        state: present
        unsafe_writes: false
        validate: null
    item:
      backrefs: true
      line: '#\g<1>'
      regexp: ^(server.*)$
    msg: ''
  msg: All assertions passed
ok: [instance] => (item={'changed': False, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/etc/chrony.conf (content)', 'after_header': '/etc/chrony.conf (content)'}, {'before_header': '/etc/chrony.conf (file attributes)', 'after_header': '/etc/chrony.conf (file attributes)'}], 'invocation': {'module_args': {'path': '/etc/chrony.conf', 'line': 'include /etc/chrony-cifmw.conf', 'state': 'present', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'unsafe_writes': False, 'regexp': None, 'search_string': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': {'line': 'include /etc/chrony-cifmw.conf'}, 'ansible_loop_var': 'item'}) => changed=false
  ansible_loop_var: item
  item:
    ansible_loop_var: item
    backup: ''
    changed: false
    diff:
    - after: ''
      after_header: /etc/chrony.conf (content)
      before: ''
      before_header: /etc/chrony.conf (content)
    - after_header: /etc/chrony.conf (file attributes)
      before_header: /etc/chrony.conf (file attributes)
    failed: false
    invocation:
      module_args:
        attributes: null
        backrefs: false
        backup: false
        create: false
        firstmatch: false
        group: null
        insertafter: null
        insertbefore: null
        line: include /etc/chrony-cifmw.conf
        mode: null
        owner: null
        path: /etc/chrony.conf
        regexp: null
        search_string: null
        selevel: null
        serole: null
        setype: null
        seuser: null
        state: present
        unsafe_writes: false
        validate: null
    item:
      line: include /etc/chrony-cifmw.conf
    msg: ''
  msg: All assertions passed

TASK [Assert that the correct server is configured in the custom configuration file] ***
Thursday 02 October 2025  15:48:15 +0000 (0:00:00.035)       0:00:03.325 ******
ok: [instance] => changed=false
  msg: '[''rhel.pool.ntp.org''] was successfully configured in /etc/chrony-cifmw.conf file'

PLAY RECAP *********************************************************************
instance                   : ok=7    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Thursday 02 October 2025  15:48:15 +0000 (0:00:00.060)       0:00:03.385 ******
===============================================================================
Get service facts ------------------------------------------------------- 1.81s
Gathering Facts --------------------------------------------------------- 0.78s
Check if the chrony.conf file has been configured properly -------------- 0.46s
Check if the provided ntp server is configured in the custom configuration file --- 0.20s
Assert that the correct server is configured in the custom configuration file --- 0.06s
Assert that chrony.conf has been correctly configured ------------------- 0.04s
Assert that the service exists, is enabled and running ------------------ 0.03s

PLAY [Cleanup] *****************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 02 October 2025  15:48:15 +0000 (0:00:00.040)       0:00:00.040 ******
ok: [instance]

TASK [Cleanup chrony role] *****************************************************
Thursday 02 October 2025  15:48:16 +0000 (0:00:00.826)       0:00:00.866 ******

TASK [cifmw_ntp : Disable chrony service] **************************************
Thursday 02 October 2025  15:48:16 +0000 (0:00:00.031)       0:00:00.897 ******
changed: [instance]

TASK [cifmw_ntp : Delete chrony custom config file] ****************************
Thursday 02 October 2025  15:48:17 +0000 (0:00:00.700)       0:00:01.598 ******
changed: [instance]

TASK [cifmw_ntp : Uninstall chrony] ********************************************
Thursday 02 October 2025  15:48:17 +0000 (0:00:00.301)       0:00:01.900 ******
changed: [instance]

PLAY RECAP *********************************************************************
instance                   : ok=4    changed=3    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Thursday 02 October 2025  15:48:18 +0000 (0:00:01.488)       0:00:03.388 ******
===============================================================================
cifmw_ntp : Uninstall chrony -------------------------------------------- 1.49s
Gathering Facts --------------------------------------------------------- 0.83s
cifmw_ntp : Disable chrony service -------------------------------------- 0.70s
cifmw_ntp : Delete chrony custom config file ---------------------------- 0.30s
Cleanup chrony role ----------------------------------------------------- 0.03s