PLAY [Converge] **************************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 30 September 2025 11:21:00 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [instance] TASK [cifmw_ntp : Install chrony] ********************************************** Tuesday 30 September 2025 11:21:01 +0000 (0:00:00.955) 0:00:00.968 ***** ok: [instance] TASK [cifmw_ntp : Configure original chrony.conf file] ************************* Tuesday 30 September 2025 11:21:02 +0000 (0:00:00.891) 0:00:01.860 ***** 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] ***************************** Tuesday 30 September 2025 11:21:02 +0000 (0:00:00.581) 0:00:02.441 ***** changed: [instance] TASK [cifmw_ntp : Enable chrony service] *************************************** Tuesday 30 September 2025 11:21:03 +0000 (0:00:00.698) 0:00:03.139 ***** ok: [instance] RUNNING HANDLER [cifmw_ntp : Restart chrony] *********************************** Tuesday 30 September 2025 11:21:04 +0000 (0:00:00.664) 0:00:03.804 ***** changed: [instance] PLAY RECAP ********************************************************************* instance : ok=6 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 30 September 2025 11:21:04 +0000 (0:00:00.414) 0:00:04.218 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.96s cifmw_ntp : Install chrony ---------------------------------------------- 0.89s cifmw_ntp : Render chrony extra config file ----------------------------- 0.70s cifmw_ntp : Enable chrony service --------------------------------------- 0.66s cifmw_ntp : Configure original chrony.conf file ------------------------- 0.58s cifmw_ntp : Restart chrony ---------------------------------------------- 0.41s PLAY [Verify] ****************************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 30 September 2025 11:21:05 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [instance] TASK [Get service facts] ******************************************************* Tuesday 30 September 2025 11:21:05 +0000 (0:00:00.853) 0:00:00.871 ***** ok: [instance] TASK [Assert that the service exists, is enabled and running] ****************** Tuesday 30 September 2025 11:21:08 +0000 (0:00:02.997) 0:00:03.868 ***** ok: [instance] => changed=false msg: All assertions passed TASK [Check if the chrony.conf file has been configured properly] ************** Tuesday 30 September 2025 11:21:08 +0000 (0:00:00.037) 0:00:03.906 ***** 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] *** Tuesday 30 September 2025 11:21:09 +0000 (0:00:00.514) 0:00:04.420 ***** ok: [instance] TASK [Assert that chrony.conf has been correctly configured] ******************* Tuesday 30 September 2025 11:21:09 +0000 (0:00:00.211) 0:00:04.632 ***** 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] *** Tuesday 30 September 2025 11:21:09 +0000 (0:00:00.038) 0:00:04.671 ***** 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 Tuesday 30 September 2025 11:21:09 +0000 (0:00:00.065) 0:00:04.736 ***** =============================================================================== Get service facts ------------------------------------------------------- 3.00s Gathering Facts --------------------------------------------------------- 0.85s Check if the chrony.conf file has been configured properly -------------- 0.51s Check if the provided ntp server is configured in the custom configuration file --- 0.21s Assert that the correct server is configured in the custom configuration file --- 0.07s Assert that chrony.conf has been correctly configured ------------------- 0.04s Assert that the service exists, is enabled and running ------------------ 0.04s PLAY [Cleanup] ***************************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 30 September 2025 11:21:10 +0000 (0:00:00.042) 0:00:00.042 ***** ok: [instance] TASK [Cleanup chrony role] ***************************************************** Tuesday 30 September 2025 11:21:11 +0000 (0:00:00.859) 0:00:00.902 ***** TASK [cifmw_ntp : Disable chrony service] ************************************** Tuesday 30 September 2025 11:21:11 +0000 (0:00:00.033) 0:00:00.936 ***** changed: [instance] TASK [cifmw_ntp : Delete chrony custom config file] **************************** Tuesday 30 September 2025 11:21:11 +0000 (0:00:00.757) 0:00:01.693 ***** changed: [instance] TASK [cifmw_ntp : Uninstall chrony] ******************************************** Tuesday 30 September 2025 11:21:12 +0000 (0:00:00.336) 0:00:02.030 ***** changed: [instance] PLAY RECAP ********************************************************************* instance : ok=4 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 30 September 2025 11:21:13 +0000 (0:00:01.428) 0:00:03.459 ***** =============================================================================== cifmw_ntp : Uninstall chrony -------------------------------------------- 1.43s Gathering Facts --------------------------------------------------------- 0.86s cifmw_ntp : Disable chrony service -------------------------------------- 0.76s cifmw_ntp : Delete chrony custom config file ---------------------------- 0.34s Cleanup chrony role ----------------------------------------------------- 0.03s