ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-hQj executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 Saturday 14 December 2024 02:17:46 -0500 (0:00:00.007) 0:00:00.007 ***** included: fedora.linux_system_roles.kdump for managed-node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 14 December 2024 02:17:46 -0500 (0:00:00.029) 0:00:00.037 ***** included: /tmp/collections-hQj/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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 14 December 2024 02:17:46 -0500 (0:00:00.015) 0:00:00.053 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 14 December 2024 02:17:48 -0500 (0:00:02.262) 0:00:02.315 ***** 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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 14 December 2024 02:17:49 -0500 (0:00:00.441) 0:00:02.757 ***** 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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 14 December 2024 02:17:49 -0500 (0:00:00.021) 0:00:02.778 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 14 December 2024 02:17:49 -0500 (0:00:00.029) 0:00:02.808 ***** changed: [managed-node1] => { "changed": true, "rc": 0, "results": [ "Installed: kexec-tools-2.0.30-1.fc41.x86_64", "Installed: kdump-utils-1.0.51-1.fc41.x86_64", "Installed: dracut-network-103-3.fc41.x86_64", "Installed: dracut-squash-103-3.fc41.x86_64", "Installed: ethtool-2:6.11-1.fc41.x86_64", "Installed: squashfs-tools-4.6.1-5.fc41.x86_64", "Installed: makedumpfile-1.7.6-1.fc41.x86_64", "Installed: snappy-1.2.1-2.fc41.x86_64" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 14 December 2024 02:18:01 -0500 (0:00:12.139) 0:00:14.948 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice remote-fs.target network.target network-online.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf /usr/lib/systemd/system/service.d/50-keep-warm.conf", "DynamicUser": "no", "EffectiveMemoryHigh": "3896733696", "EffectiveMemoryMax": "3896733696", "EffectiveTasksMax": "4421", "Environment": "SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0", "ExecCondition": "{ path=/bin/sh ; argv[]=/bin/sh -c grep -q -e \"crashkernel\" -e \"fadump\" /proc/cmdline ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecConditionEx": "{ path=/bin/sh ; argv[]=/bin/sh -c grep -q -e \"crashkernel\" -e \"fadump\" /proc/cmdline ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "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 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; 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=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14739", "LimitNPROCSoft": "14739", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14739", "LimitSIGPENDINGSoft": "14739", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3512438784", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4421", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 14 December 2024 02:18:02 -0500 (0:00:01.610) 0:00:16.558 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "kdump_target.type | d(none) == 'ssh'", "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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 14 December 2024 02:18:02 -0500 (0:00:00.027) 0:00:16.585 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734160680.3434985, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "406650ad9697d9a9e0509a734508ce56e882f4dd", "ctime": 1734160680.3214982, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3639, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734160680.3214982, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8684, "uid": 0, "version": "3829381532", "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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 14 December 2024 02:18:03 -0500 (0:00:00.447) 0:00:17.032 ***** Notification for handler Restart kdump has been saved. changed: [managed-node1] => { "backup_file": "/etc/kdump.conf.5528.2024-12-14@02:18:04~", "changed": true, "checksum": "6358268c70ea4eb010df0ced1b282adb222f1d1b", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "e81eaa3c1e3e0b45a37ff44a57c13e9b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 111, "src": "/root/.ansible/tmp/ansible-tmp-1734160683.5112305-4577-260963330769567/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 14 December 2024 02:18:04 -0500 (0:00:00.873) 0:00:17.906 ***** ok: [managed-node1] => { "attempts": 1, "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 14 December 2024 02:18:04 -0500 (0:00:00.449) 0:00:18.356 ***** ok: [managed-node1] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 14 December 2024 02:18:04 -0500 (0:00:00.030) 0:00:18.386 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "kdumpctl", "reset-crashkernel", "--kernel=ALL" ], "delta": "0:00:00.369547", "end": "2024-12-14 02:18:05.564949", "rc": 0, "start": "2024-12-14 02:18:05.195402" } STDERR: kdump: Updated crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M for kernel=/boot/vmlinuz-6.11.10-300.fc41.x86_64. Please reboot the system for the change to take effect. kdump: Updated crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M for kernel=/boot/vmlinuz-0-rescue-0d393eb765ab4e8f85a4cd38ce7b9161. Please reboot the system for the change to take effect. TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 14 December 2024 02:18:05 -0500 (0:00:00.819) 0:00:19.205 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_facts['distribution_major_version'] | int <= 8", "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-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 14 December 2024 02:18:05 -0500 (0:00:00.028) 0:00:19.234 ***** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:14 Saturday 14 December 2024 02:18:05 -0500 (0:00:00.028) 0:00:19.263 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 14 December 2024 02:18:05 -0500 (0:00:00.030) 0:00:19.294 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not kdump_reboot_required", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node1 : ok=13 changed=4 unreachable=0 failed=0 skipped=4 rescued=1 ignored=0 TASKS RECAP ******************************************************************** Saturday 14 December 2024 02:18:05 -0500 (0:00:00.028) 0:00:19.323 ***** =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------ 12.14s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 2.26s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 1.61s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.87s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.82s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.45s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.45s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.44s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 If reboot is required - assert the expected fail message ---------------- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:14 fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Run the role. If reboot is not required - the play succeeds. ------------ 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default.yml:10 fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 fedora.linux_system_roles.kdump : Restart kdump ------------------------- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.03s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.02s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.02s /tmp/collections-hQj/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2