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 'jsonl', 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-5Hx/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-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Thursday 14 August 2025 15:52:55 -0400 (0:00:00.035) 0:00:00.035 ******* ok: [managed-node2] META: ran handlers TASK [Save connection method] ************************************************** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 Thursday 14 August 2025 15:52:57 -0400 (0:00:01.198) 0:00:01.234 ******* ok: [managed-node2] => { "ansible_facts": { "__ansible_connection": "ssh" }, "changed": false } TASK [Create temporary file] *************************************************** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:11 Thursday 14 August 2025 15:52:57 -0400 (0:00:00.047) 0:00:01.281 ******* changed: [managed-node2 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.irV2v1.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-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:18 Thursday 14 August 2025 15:52:57 -0400 (0:00:00.313) 0:00:01.595 ******* changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "dc76cc4b134ae5a76787f5ec8c59bd781b7943c1", "dest": "/tmp/ansible.irV2v1.inventory.yaml", "gid": 0, "group": "root", "md5sum": "ead866868ad32b5d1d75ecc944645366", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 553, "src": "/root/.ansible/tmp/ansible-tmp-1755201177.5-9865-166966010109681/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-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.776) 0:00:02.372 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.159) 0:00:02.531 ******* included: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.041) 0:00:02.573 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.047) 0:00:02.620 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.333) 0:00:02.954 ******* ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.072) 0:00:03.026 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Thursday 14 August 2025 15:52:58 -0400 (0:00:00.103) 0:00:03.130 ******* ok: [managed-node2] => { "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" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Thursday 14 August 2025 15:52:59 -0400 (0:00:00.710) 0:00:03.840 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ActiveEnterTimestampMonotonic": "43807210", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-08-14 15:49:56 EDT", "AssertTimestampMonotonic": "22073546", "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": "Thu 2025-08-14 15:49:56 EDT", "ConditionTimestampMonotonic": "22073544", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ExecMainExitTimestampMonotonic": "43806958", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Thu 2025-08-14 15:49:56 EDT", "ExecMainStartTimestampMonotonic": "22074707", "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=[Thu 2025-08-14 15:49:56 EDT] ; stop_time=[Thu 2025-08-14 15:50:18 EDT] ; pid=1218 ; 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": "Thu 2025-08-14 15:49:56 EDT", "InactiveExitTimestampMonotonic": "22074747", "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Thursday 14 August 2025 15:53:00 -0400 (0:00:00.612) 0:00:04.452 ******* skipping: [managed-node2] => { "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Thursday 14 August 2025 15:53:00 -0400 (0:00:00.041) 0:00:04.494 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1755200996.8296976, "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Thursday 14 August 2025 15:53:00 -0400 (0:00:00.297) 0:00:04.791 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.9607.2025-08-14@15:53:01~", "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-1755201180.71-10018-201574634413129/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.572) 0:00:05.364 ******* ok: [managed-node2] => { "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.412) 0:00:05.777 ******* ok: [managed-node2] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.044) 0:00:05.821 ******* skipping: [managed-node2] => { "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.041) 0:00:05.862 ******* skipping: [managed-node2] => { "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.042) 0:00:05.905 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.042) 0:00:05.947 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.041) 0:00:05.989 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Thursday 14 August 2025 15:53:01 -0400 (0:00:00.040) 0:00:06.029 ******* ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ActiveEnterTimestampMonotonic": "43807210", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-08-14 15:49:56 EDT", "AssertTimestampMonotonic": "22073546", "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": "Thu 2025-08-14 15:49:56 EDT", "ConditionTimestampMonotonic": "22073544", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ExecMainExitTimestampMonotonic": "43806958", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Thu 2025-08-14 15:49:56 EDT", "ExecMainStartTimestampMonotonic": "22074707", "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=[Thu 2025-08-14 15:49:56 EDT] ; stop_time=[Thu 2025-08-14 15:50:18 EDT] ; pid=1218 ; 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": "Thu 2025-08-14 15:49:56 EDT", "InactiveExitTimestampMonotonic": "22074747", "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-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Thursday 14 August 2025 15:53:02 -0400 (0:00:00.360) 0:00:06.390 ******* changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ActiveEnterTimestampMonotonic": "43807210", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-08-14 15:49:56 EDT", "AssertTimestampMonotonic": "22073546", "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": "Thu 2025-08-14 15:49:56 EDT", "ConditionTimestampMonotonic": "22073544", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2025-08-14 15:50:18 EDT", "ExecMainExitTimestampMonotonic": "43806958", "ExecMainPID": "1218", "ExecMainStartTimestamp": "Thu 2025-08-14 15:49:56 EDT", "ExecMainStartTimestampMonotonic": "22074707", "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=[Thu 2025-08-14 15:49:56 EDT] ; stop_time=[Thu 2025-08-14 15:50:18 EDT] ; pid=1218 ; 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": "Thu 2025-08-14 15:49:56 EDT", "InactiveExitTimestampMonotonic": "22074747", "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-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:30 Thursday 14 August 2025 15:53:16 -0400 (0:00:14.659) 0:00:21.049 ******* ok: [managed-node2] META: ran handlers TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:35 Thursday 14 August 2025 15:53:17 -0400 (0:00:00.529) 0:00:21.579 ******* ok: [managed-node2 -> localhost] => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.irV2v1.inventory.yaml", "--check", "tests_default.yml" ], "delta": "0:00:00.665969", "end": "2025-08-14 15:53:18.402772", "rc": 0, "start": "2025-08-14 15:53:17.736803" } 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.irV2v1.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.irV2v1.inventory.yaml as it did not pass its verify_file() method toml declined parsing /tmp/ansible.irV2v1.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 'jsonl', 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 ********************************************************************* SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 14 August 2025 15:53:18 -0400 (0:00:00.025) 0:00:00.025 ******* =============================================================================== STDERR: [WARNING]: running playbook inside collection fedora.linux_system_roles [WARNING]: * Failed to parse /tmp/ansible.irV2v1.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.irV2v1.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.13.51'] ansible_all_ipv6_addresses: [u'fe80::8ff:ffff:fea9:b227'] ^ 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.irV2v1.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.irV2v1.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.13.51'] ansible_all_ipv6_addresses: [u'fe80::8ff:ffff:fea9:b227'] ^ 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.irV2v1.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.irV2v1.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-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:42 Thursday 14 August 2025 15:53:18 -0400 (0:00:01.015) 0:00:22.595 ******* changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/ansible.irV2v1.inventory.yaml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=18 changed=5 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 14 August 2025 15:53:18 -0400 (0:00:00.362) 0:00:22.957 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 14.66s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Run ansible-playbook with tests_default.yml in check mode --------------- 1.02s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:35 Create static inventory from hostvars ----------------------------------- 0.78s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:18 fedora.linux_system_roles.kdump : Install required packages ------------- 0.71s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.61s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.57s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Gathering Facts --------------------------------------------------------- 0.53s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:30 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.41s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Remove the temporary file ----------------------------------------------- 0.36s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:42 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.36s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.33s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Create temporary file --------------------------------------------------- 0.31s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:11 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.30s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Run the role. If reboot is not required - the play succeeds. ------------ 0.16s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.10s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.07s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Save connection method -------------------------------------------------- 0.05s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.05s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.04s /tmp/collections-5Hx/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40