ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default_wrapper.yml ******************************************** 3 plays in /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml PLAY [Create static inventory from hostvars] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Saturday 08 February 2025 02:17:23 -0500 (0:00:00.023) 0:00:00.023 ***** ok: [managed-node1] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 Saturday 08 February 2025 02:17:24 -0500 (0:00:01.108) 0:00:01.131 ***** changed: [managed-node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.cZAtBN.inventory.yaml", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create static inventory from hostvars] *********************************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 Saturday 08 February 2025 02:17:25 -0500 (0:00:00.251) 0:00:01.383 ***** changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "b0625dfd73527f1deb168197eebe38cafeff44d9", "dest": "/tmp/ansible.cZAtBN.inventory.yaml", "gid": 0, "group": "root", "md5sum": "f2c32d4cbd134aea2f9f5bf84461bc49", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 494, "src": "/root/.ansible/tmp/ansible-tmp-1738999045.19-9714-5852577729698/source", "state": "file", "uid": 0 } META: ran handlers META: ran handlers PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.883) 0:00:02.266 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.115) 0:00:02.382 ***** included: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.032) 0:00:02.415 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.042) 0:00:02.458 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.301) 0:00:02.760 ***** ok: [managed-node1] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.070) 0:00:02.830 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 08 February 2025 02:17:26 -0500 (0:00:00.105) 0:00:02.936 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 08 February 2025 02:17:27 -0500 (0:00:00.772) 0:00:03.708 ***** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2025-02-08 02:13:44 EST", "ActiveEnterTimestampMonotonic": "24562798", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target system.slice remote-fs.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-02-08 02:13:28 EST", "AssertTimestampMonotonic": "9188074", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-02-08 02:13:28 EST", "ConditionTimestampMonotonic": "9188073", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2025-02-08 02:13:44 EST", "ExecMainExitTimestampMonotonic": "24562584", "ExecMainPID": "1217", "ExecMainStartTimestamp": "Sat 2025-02-08 02:13:28 EST", "ExecMainStartTimestampMonotonic": "9189344", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-08 02:13:28 EST] ; stop_time=[Sat 2025-02-08 02:13:44 EST] ; pid=1217 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2025-02-08 02:13:28 EST", "InactiveExitTimestampMonotonic": "9189387", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 08 February 2025 02:17:28 -0500 (0:00:01.100) 0:00:04.808 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 08 February 2025 02:17:28 -0500 (0:00:00.068) 0:00:04.877 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738998808.9780242, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", "ctime": 1718880241.3036501, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 147672, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880241.3036501, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 7274, "uid": 0, "version": "22382559", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 08 February 2025 02:17:28 -0500 (0:00:00.347) 0:00:05.225 ***** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node1 changed: [managed-node1] => { "backup_file": "/etc/kdump.conf.9549.2025-02-08@02:17:29~", "changed": true, "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "83ef851c050de649b64f945168d63384", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 77, "src": "/root/.ansible/tmp/ansible-tmp-1738999049.11-9904-4351134111824/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 08 February 2025 02:17:29 -0500 (0:00:00.710) 0:00:05.935 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.573) 0:00:06.509 ***** ok: [managed-node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.060) 0:00:06.570 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.129) 0:00:06.699 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.080) 0:00:06.780 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.062) 0:00:06.843 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.061) 0:00:06.904 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 08 February 2025 02:17:30 -0500 (0:00:00.063) 0:00:06.968 ***** ok: [managed-node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-02-08 02:13:44 EST", "ActiveEnterTimestampMonotonic": "24562798", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target system.slice remote-fs.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-02-08 02:13:28 EST", "AssertTimestampMonotonic": "9188074", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-02-08 02:13:28 EST", "ConditionTimestampMonotonic": "9188073", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2025-02-08 02:13:44 EST", "ExecMainExitTimestampMonotonic": "24562584", "ExecMainPID": "1217", "ExecMainStartTimestamp": "Sat 2025-02-08 02:13:28 EST", "ExecMainStartTimestampMonotonic": "9189344", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-08 02:13:28 EST] ; stop_time=[Sat 2025-02-08 02:13:44 EST] ; pid=1217 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2025-02-08 02:13:28 EST", "InactiveExitTimestampMonotonic": "9189387", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 08 February 2025 02:17:31 -0500 (0:00:00.429) 0:00:07.397 ***** changed: [managed-node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2025-02-08 02:13:44 EST", "ActiveEnterTimestampMonotonic": "24562798", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target system.slice remote-fs.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2025-02-08 02:13:28 EST", "AssertTimestampMonotonic": "9188074", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2025-02-08 02:13:28 EST", "ConditionTimestampMonotonic": "9188073", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2025-02-08 02:13:44 EST", "ExecMainExitTimestampMonotonic": "24562584", "ExecMainPID": "1217", "ExecMainStartTimestamp": "Sat 2025-02-08 02:13:28 EST", "ExecMainStartTimestampMonotonic": "9189344", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2025-02-08 02:13:28 EST] ; stop_time=[Sat 2025-02-08 02:13:44 EST] ; pid=1217 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2025-02-08 02:13:28 EST", "InactiveExitTimestampMonotonic": "9189387", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY [Run tests_default.yml in check_mode] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26 Saturday 08 February 2025 02:17:45 -0500 (0:00:14.710) 0:00:22.107 ***** ok: [managed-node1] META: ran handlers TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31 Saturday 08 February 2025 02:17:46 -0500 (0:00:00.523) 0:00:22.631 ***** ok: [managed-node1 -> localhost] => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.cZAtBN.inventory.yaml", "--check", "tests_default.yml" ], "delta": "0:00:00.564998", "end": "2025-02-08 02:17:47.238448", "rc": 0, "start": "2025-02-08 02:17:46.673450" } STDOUT: ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file host_list declined parsing /tmp/ansible.cZAtBN.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.cZAtBN.inventory.yaml as it did not pass its verify_file() method toml declined parsing /tmp/ansible.cZAtBN.inventory.yaml as it did not pass its verify_file() method File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/auto.py", line 40, in parse config_data = loader.load_from_file(path, cache=False) File "/usr/lib/python2.7/site-packages/ansible/parsing/dataloader.py", line 97, in load_from_file parsed_data = self.load(data=file_data, file_name=file_name, show_content=show_content, json_only=json_only) File "/usr/lib/python2.7/site-packages/ansible/parsing/dataloader.py", line 80, in load return from_yaml(data, file_name, show_content, self._vault.secrets, json_only=json_only) File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 81, in from_yaml _handle_error(json_exc, yaml_exc, file_name, show_content) File "/usr/lib/python2.7/site-packages/ansible/parsing/utils/yaml.py", line 42, in _handle_error raise AnsibleParserError(to_native(err_msg), obj=err_obj, show_content=show_content, orig_exc=yaml_exc) File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/yaml.py", line 105, in parse raise AnsibleParserError(e) File "/usr/lib/python2.7/site-packages/ansible/inventory/manager.py", line 280, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "/usr/lib/python2.7/site-packages/ansible/plugins/inventory/ini.py", line 138, in parse raise AnsibleParserError(e) Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** skipping: no hosts matched PLAY RECAP ********************************************************************* Saturday 08 February 2025 02:17:47 -0500 (0:00:00.017) 0:00:00.017 ***** =============================================================================== STDERR: [WARNING]: running playbook inside collection fedora.linux_system_roles [WARNING]: * Failed to parse /tmp/ansible.cZAtBN.inventory.yaml with auto plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: No JSON object could be decoded Syntax Error while loading YAML. found unexpected ':' The error appears to be in '/tmp/ansible.cZAtBN.inventory.yaml': line 5, column 42, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: ansible_all_ipv4_addresses: [u'10.31.9.144'] ansible_all_ipv6_addresses: [u'fe80::1050:4fff:fe4d:19d9'] ^ here This one looks easy to fix. There seems to be an extra unquoted colon in the line and this is confusing the parser. It was only expecting to find one free colon. The solution is just add some quotes around the colon, or quote the entire line after the first colon. For instance, if the original line was: copy: src=file.txt dest=/path/filename:with_colon.txt It can be written as: copy: src=file.txt dest='/path/filename:with_colon.txt' Or: copy: 'src=file.txt dest=/path/filename:with_colon.txt' [WARNING]: * Failed to parse /tmp/ansible.cZAtBN.inventory.yaml with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: No JSON object could be decoded Syntax Error while loading YAML. found unexpected ':' The error appears to be in '/tmp/ansible.cZAtBN.inventory.yaml': line 5, column 42, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: ansible_all_ipv4_addresses: [u'10.31.9.144'] ansible_all_ipv6_addresses: [u'fe80::1050:4fff:fe4d:19d9'] ^ here This one looks easy to fix. There seems to be an extra unquoted colon in the line and this is confusing the parser. It was only expecting to find one free colon. The solution is just add some quotes around the colon, or quote the entire line after the first colon. For instance, if the original line was: copy: src=file.txt dest=/path/filename:with_colon.txt It can be written as: copy: src=file.txt dest='/path/filename:with_colon.txt' Or: copy: 'src=file.txt dest=/path/filename:with_colon.txt' [WARNING]: * Failed to parse /tmp/ansible.cZAtBN.inventory.yaml with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /tmp/ansible.cZAtBN.inventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' TASK [Remove the temporary file] *********************************************** task path: /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38 Saturday 08 February 2025 02:17:47 -0500 (0:00:00.876) 0:00:23.508 ***** changed: [managed-node1 -> localhost] => { "changed": true, "path": "/tmp/ansible.cZAtBN.inventory.yaml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=17 changed=5 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Saturday 08 February 2025 02:17:47 -0500 (0:00:00.321) 0:00:23.830 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 14.71s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 1.10s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Create static inventory from hostvars ----------------------------------- 0.88s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 Run ansible-playbook with tests_default.yml in check mode --------------- 0.88s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31 fedora.linux_system_roles.kdump : Install required packages ------------- 0.77s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.71s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.57s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Gathering Facts --------------------------------------------------------- 0.52s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.43s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.35s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Remove the temporary file ----------------------------------------------- 0.32s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.30s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Create temporary file --------------------------------------------------- 0.25s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.13s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Run the role. If reboot is not required - the play succeeds. ------------ 0.12s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.11s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.08s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.07s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.07s /tmp/collections-K2r/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16