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-AWO/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-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Tuesday 04 February 2025 15:17:54 -0500 (0:00:00.024) 0:00:00.024 ****** ok: [managed-node1] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 Tuesday 04 February 2025 15:17:55 -0500 (0:00:01.175) 0:00:01.200 ****** changed: [managed-node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.1cTDzj.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-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 Tuesday 04 February 2025 15:17:56 -0500 (0:00:00.272) 0:00:01.473 ****** changed: [managed-node1 -> localhost] => { "changed": true, "checksum": "8535ce29451c1387c39022c890aba010e815c5c5", "dest": "/tmp/ansible.1cTDzj.inventory.yaml", "gid": 0, "group": "root", "md5sum": "b5a3537c361c90aed636aef7bbd57d9d", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 595, "src": "/root/.ansible/tmp/ansible-tmp-1738700276.06-9695-95369961180449/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-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 Tuesday 04 February 2025 15:17:57 -0500 (0:00:01.008) 0:00:02.481 ****** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.091) 0:00:02.572 ****** included: /tmp/collections-AWO/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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.037) 0:00:02.609 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.068) 0:00:02.678 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.352) 0:00:03.031 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.054) 0:00:03.085 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Tuesday 04 February 2025 15:17:57 -0500 (0:00:00.086) 0:00:03.172 ****** 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" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Tuesday 04 February 2025 15:17:58 -0500 (0:00:00.780) 0:00:03.952 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2025-02-04 15:11:57 EST", "ActiveEnterTimestampMonotonic": "32933809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target network-online.target remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-04 15:11:39 EST", "AssertTimestampMonotonic": "15958590", "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": "Tue 2025-02-04 15:11:39 EST", "ConditionTimestampMonotonic": "15958588", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2025-02-04 15:11:57 EST", "ExecMainExitTimestampMonotonic": "32933611", "ExecMainPID": "1222", "ExecMainStartTimestamp": "Tue 2025-02-04 15:11:39 EST", "ExecMainStartTimestampMonotonic": "15959148", "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=[Tue 2025-02-04 15:11:39 EST] ; stop_time=[Tue 2025-02-04 15:11:57 EST] ; pid=1222 ; 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": "Tue 2025-02-04 15:11:39 EST", "InactiveExitTimestampMonotonic": "15959182", "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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Tuesday 04 February 2025 15:17:59 -0500 (0:00:00.949) 0:00:04.901 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Tuesday 04 February 2025 15:17:59 -0500 (0:00:00.065) 0:00:04.967 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1738699899.678257, "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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Tuesday 04 February 2025 15:17:59 -0500 (0:00:00.452) 0:00:05.419 ****** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node1 changed: [managed-node1] => { "backup_file": "/etc/kdump.conf.9536.2025-02-04@15:18:00~", "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-1738700280.05-9883-45419549491186/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Tuesday 04 February 2025 15:18:00 -0500 (0:00:00.818) 0:00:06.238 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.612) 0:00:06.850 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.102) 0:00:06.953 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.076) 0:00:07.030 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.069) 0:00:07.099 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.051) 0:00:07.151 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.049) 0:00:07.201 ****** 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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Tuesday 04 February 2025 15:18:01 -0500 (0:00:00.044) 0:00:07.245 ****** ok: [managed-node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-02-04 15:11:57 EST", "ActiveEnterTimestampMonotonic": "32933809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target network-online.target remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-04 15:11:39 EST", "AssertTimestampMonotonic": "15958590", "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": "Tue 2025-02-04 15:11:39 EST", "ConditionTimestampMonotonic": "15958588", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2025-02-04 15:11:57 EST", "ExecMainExitTimestampMonotonic": "32933611", "ExecMainPID": "1222", "ExecMainStartTimestamp": "Tue 2025-02-04 15:11:39 EST", "ExecMainStartTimestampMonotonic": "15959148", "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=[Tue 2025-02-04 15:11:39 EST] ; stop_time=[Tue 2025-02-04 15:11:57 EST] ; pid=1222 ; 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": "Tue 2025-02-04 15:11:39 EST", "InactiveExitTimestampMonotonic": "15959182", "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-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Tuesday 04 February 2025 15:18:02 -0500 (0:00:00.433) 0:00:07.679 ****** changed: [managed-node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-02-04 15:11:57 EST", "ActiveEnterTimestampMonotonic": "32933809", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target network-online.target remote-fs.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-04 15:11:39 EST", "AssertTimestampMonotonic": "15958590", "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": "Tue 2025-02-04 15:11:39 EST", "ConditionTimestampMonotonic": "15958588", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2025-02-04 15:11:57 EST", "ExecMainExitTimestampMonotonic": "32933611", "ExecMainPID": "1222", "ExecMainStartTimestamp": "Tue 2025-02-04 15:11:39 EST", "ExecMainStartTimestampMonotonic": "15959148", "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=[Tue 2025-02-04 15:11:39 EST] ; stop_time=[Tue 2025-02-04 15:11:57 EST] ; pid=1222 ; 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": "Tue 2025-02-04 15:11:39 EST", "InactiveExitTimestampMonotonic": "15959182", "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-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26 Tuesday 04 February 2025 15:18:17 -0500 (0:00:15.061) 0:00:22.740 ****** ok: [managed-node1] META: ran handlers TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31 Tuesday 04 February 2025 15:18:17 -0500 (0:00:00.558) 0:00:23.299 ****** ok: [managed-node1 -> localhost] => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.1cTDzj.inventory.yaml", "--check", "tests_default.yml" ], "delta": "0:00:00.684333", "end": "2025-02-04 15:18:18.818510", "rc": 0, "start": "2025-02-04 15:18:18.134177" } 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.1cTDzj.inventory.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.1cTDzj.inventory.yaml as it did not pass its verify_file() method toml declined parsing /tmp/ansible.1cTDzj.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 ********************************************************************* Tuesday 04 February 2025 15:18:18 -0500 (0:00:00.019) 0:00:00.019 ****** =============================================================================== STDERR: [WARNING]: running playbook inside collection fedora.linux_system_roles [WARNING]: * Failed to parse /tmp/ansible.1cTDzj.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.1cTDzj.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.47.87'] ansible_all_ipv6_addresses: [u'fe80::15:2eff:fea1:c13'] ^ 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.1cTDzj.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.1cTDzj.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.47.87'] ansible_all_ipv6_addresses: [u'fe80::15:2eff:fea1:c13'] ^ 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.1cTDzj.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.1cTDzj.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-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38 Tuesday 04 February 2025 15:18:18 -0500 (0:00:01.028) 0:00:24.327 ****** changed: [managed-node1 -> localhost] => { "changed": true, "path": "/tmp/ansible.1cTDzj.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 Tuesday 04 February 2025 15:18:19 -0500 (0:00:00.523) 0:00:24.851 ****** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 15.06s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:2 Run ansible-playbook with tests_default.yml in check mode --------------- 1.03s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:31 Create static inventory from hostvars ----------------------------------- 1.01s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:14 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.95s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.82s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Install required packages ------------- 0.78s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.61s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Gathering Facts --------------------------------------------------------- 0.56s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:26 Remove the temporary file ----------------------------------------------- 0.52s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:38 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.45s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.43s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.35s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Create temporary file --------------------------------------------------- 0.27s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_wrapper.yml:7 fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.10s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Run the role. If reboot is not required - the play succeeds. ------------ 0.09s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.09s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.08s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.07s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.07s /tmp/collections-AWO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2