ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-eA4 executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) 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_reboot.yml ********************************************* 1 plays in /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 Saturday 21 December 2024 02:15:49 -0500 (0:00:00.007) 0:00:00.007 ***** ok: [managed-node2] TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:11 Saturday 21 December 2024 02:15:50 -0500 (0:00:01.254) 0:00:01.262 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 21 December 2024 02:15:50 -0500 (0:00:00.046) 0:00:01.308 ***** included: /tmp/collections-eA4/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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 21 December 2024 02:15:50 -0500 (0:00:00.019) 0:00:01.327 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 21 December 2024 02:15:51 -0500 (0:00:00.032) 0:00:01.360 ***** 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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 21 December 2024 02:15:51 -0500 (0:00:00.431) 0:00:01.791 ***** 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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 21 December 2024 02:15:51 -0500 (0:00:00.031) 0:00:01.823 ***** skipping: [managed-node2] => (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-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 21 December 2024 02:15:51 -0500 (0:00:00.049) 0:00:01.873 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 21 December 2024 02:16:06 -0500 (0:00:14.933) 0:00:16.806 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:12:19 EST", "ActiveEnterTimestampMonotonic": "30397473", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:12:04 EST", "AssertTimestampMonotonic": "15029276", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:12:04 EST", "ConditionTimestampMonotonic": "15029247", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:12:19 EST", "ExecMainExitTimestampMonotonic": "30396978", "ExecMainPID": "1023", "ExecMainStartTimestamp": "Sat 2024-12-21 02:12:04 EST", "ExecMainStartTimestampMonotonic": "15030143", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:12:04 EST] ; stop_time=[Sat 2024-12-21 02:12:19 EST] ; pid=1023 ; 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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-12-21 02:12:04 EST", "InactiveExitTimestampMonotonic": "15030184", "InvocationID": "efca6ad8417f46f0a1793093f377b388", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:12:19 EST", "StateChangeTimestampMonotonic": "30397473", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 21 December 2024 02:16:07 -0500 (0:00:00.724) 0:00:17.531 ***** skipping: [managed-node2] => { "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 21 December 2024 02:16:07 -0500 (0:00:00.035) 0:00:17.566 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734765124.0991344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 24, "charset": "us-ascii", "checksum": "8ee23509e24173d1d8d601431a180a75bf2b6f3b", "ctime": 1716968741.697, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 918178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968741.697, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 8550, "uid": 0, "version": "537667763", "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 21 December 2024 02:16:07 -0500 (0:00:00.367) 0:00:17.934 ***** Notification for handler Restart kdump has been saved. changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.8043.2024-12-21@02:16:08~", "changed": true, "checksum": "ae6083a5f19c1bef9a17e295142418f557273a6b", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "38bb08a7a48dd26ce0c781335c0a87db", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 112, "src": "/root/.ansible/tmp/ansible-tmp-1734765367.6709116-8156-24738511169212/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 21 December 2024 02:16:08 -0500 (0:00:00.832) 0:00:18.766 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MjAxMzI2NTkyCg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 21 December 2024 02:16:08 -0500 (0:00:00.451) 0:00:19.217 ***** 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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 21 December 2024 02:16:08 -0500 (0:00:00.036) 0:00:19.254 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 21 December 2024 02:16:08 -0500 (0:00:00.031) 0:00:19.285 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 21 December 2024 02:16:08 -0500 (0:00:00.033) 0:00:19.318 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 21 December 2024 02:16:09 -0500 (0:00:00.031) 0:00:19.349 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 21 December 2024 02:16:09 -0500 (0:00:00.030) 0:00:19.379 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 21 December 2024 02:16:09 -0500 (0:00:00.030) 0:00:19.410 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:12:19 EST", "ActiveEnterTimestampMonotonic": "30397473", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:12:04 EST", "AssertTimestampMonotonic": "15029276", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:12:04 EST", "ConditionTimestampMonotonic": "15029247", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:12:19 EST", "ExecMainExitTimestampMonotonic": "30396978", "ExecMainPID": "1023", "ExecMainStartTimestamp": "Sat 2024-12-21 02:12:04 EST", "ExecMainStartTimestampMonotonic": "15030143", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:12:04 EST] ; stop_time=[Sat 2024-12-21 02:12:19 EST] ; pid=1023 ; 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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-12-21 02:12:04 EST", "InactiveExitTimestampMonotonic": "15030184", "InvocationID": "efca6ad8417f46f0a1793093f377b388", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:12:19 EST", "StateChangeTimestampMonotonic": "30397473", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Notify and run handlers] ************************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:16 Saturday 21 December 2024 02:16:09 -0500 (0:00:00.498) 0:00:19.908 ***** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 21 December 2024 02:16:09 -0500 (0:00:00.003) 0:00:19.912 ***** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:12:19 EST", "ActiveEnterTimestampMonotonic": "30397473", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:12:04 EST", "AssertTimestampMonotonic": "15029276", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:12:04 EST", "ConditionTimestampMonotonic": "15029247", "ConfigurationDirectoryMode": "0755", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:12:19 EST", "ExecMainExitTimestampMonotonic": "30396978", "ExecMainPID": "1023", "ExecMainStartTimestamp": "Sat 2024-12-21 02:12:04 EST", "ExecMainStartTimestampMonotonic": "15030143", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:12:04 EST] ; stop_time=[Sat 2024-12-21 02:12:19 EST] ; pid=1023 ; 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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-12-21 02:12:04 EST", "InactiveExitTimestampMonotonic": "15030184", "InvocationID": "efca6ad8417f46f0a1793093f377b388", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:12:19 EST", "StateChangeTimestampMonotonic": "30397473", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:19 Saturday 21 December 2024 02:16:25 -0500 (0:00:15.623) 0:00:35.535 ***** included: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3 Saturday 21 December 2024 02:16:25 -0500 (0:00:00.031) 0:00:35.566 ***** ok: [managed-node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2R1bXAKCgoKcGF0aCAvdmFyL2NyYXNoCgpkZWZhdWx0IHJlYm9vdApkcmFjdXRfYXJncyAtLWtlcm5lbC1jbWRsaW5lIG5vcHRpCg==", "encoding": "base64", "source": "/etc/kdump.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:9 Saturday 21 December 2024 02:16:25 -0500 (0:00:00.370) 0:00:35.936 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [See if el9 or later, or el7 or el8] ************************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:25 Saturday 21 December 2024 02:16:25 -0500 (0:00:00.050) 0:00:35.986 ***** ok: [managed-node2] => { "ansible_facts": { "is_el7_or_el8": true, "is_el9": false }, "changed": false } TASK [Check parameters in conf file] ******************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 Saturday 21 December 2024 02:16:25 -0500 (0:00:00.036) 0:00:36.023 ***** ok: [managed-node2] => (item={'param': 'dracut_args', 'value': '--kernel-cmdline nopti'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --kernel-cmdline nopti$", "/etc/kdump.conf" ], "delta": "0:00:00.003225", "end": "2024-12-21 02:16:26.102584", "item": { "param": "dracut_args", "value": "--kernel-cmdline nopti" }, "rc": 0, "start": "2024-12-21 02:16:26.099359" } STDOUT: dracut_args --kernel-cmdline nopti ok: [managed-node2] => (item={'param': 'default', 'value': 'reboot'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^default reboot$", "/etc/kdump.conf" ], "delta": "0:00:00.003632", "end": "2024-12-21 02:16:26.424062", "item": { "param": "default", "value": "reboot" }, "rc": 0, "start": "2024-12-21 02:16:26.420430" } STDOUT: default reboot TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:50 Saturday 21 December 2024 02:16:26 -0500 (0:00:00.777) 0:00:36.800 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "is_el9 | bool", "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:56 Saturday 21 December 2024 02:16:26 -0500 (0:00:00.041) 0:00:36.841 ***** ok: [managed-node2] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 Saturday 21 December 2024 02:16:26 -0500 (0:00:00.037) 0:00:36.879 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.081691", "end": "2024-12-21 02:16:26.932035", "rc": 0, "start": "2024-12-21 02:16:26.850344" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" args="ro crashkernel=auto net.ifnames=0 rhgb quiet" TASK [Change parameters and run the role again] ******************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:70 Saturday 21 December 2024 02:16:26 -0500 (0:00:00.428) 0:00:37.307 ***** ok: [managed-node2] => { "ansible_facts": { "kdump_auto_reset_crashkernel": false, "kdump_dracut_args": "--print-cmdline" }, "changed": false } TASK [Run the role again with new parameters] ********************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:75 Saturday 21 December 2024 02:16:26 -0500 (0:00:00.014) 0:00:37.321 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.029) 0:00:37.351 ***** included: /tmp/collections-eA4/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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.018) 0:00:37.369 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.033) 0:00:37.402 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.019) 0:00:37.422 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.016) 0:00:37.439 ***** skipping: [managed-node2] => (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-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 21 December 2024 02:16:27 -0500 (0:00:00.047) 0:00:37.487 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 21 December 2024 02:16:30 -0500 (0:00:03.463) 0:00:40.950 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:16:25 EST", "ActiveEnterTimestampMonotonic": "276143852", "ActiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "ActiveExitTimestampMonotonic": "261034268", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:16:10 EST", "AssertTimestampMonotonic": "261059867", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:16:10 EST", "ConditionTimestampMonotonic": "261059810", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:16:25 EST", "ExecMainExitTimestampMonotonic": "276142996", "ExecMainPID": "8435", "ExecMainStartTimestamp": "Sat 2024-12-21 02:16:10 EST", "ExecMainStartTimestampMonotonic": "261060816", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:25 EST] ; pid=8435 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:10 EST] ; pid=8426 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveEnterTimestampMonotonic": "261058886", "InactiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveExitTimestampMonotonic": "261060855", "InvocationID": "752669e7f4a444859560db16768278bc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:16:25 EST", "StateChangeTimestampMonotonic": "276143852", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 21 December 2024 02:16:31 -0500 (0:00:00.802) 0:00:41.753 ***** skipping: [managed-node2] => { "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 21 December 2024 02:16:31 -0500 (0:00:00.051) 0:00:41.805 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734765370.0672874, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ae6083a5f19c1bef9a17e295142418f557273a6b", "ctime": 1734765368.3822694, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 182452418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734765368.0212655, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 112, "uid": 0, "version": "4060242084", "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 21 December 2024 02:16:32 -0500 (0:00:00.652) 0:00:42.457 ***** Notification for handler Restart kdump has been saved. changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.14111.2024-12-21@02:16:33~", "changed": true, "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "3f43f0efe01022d1ae9e743e9dada2dd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 105, "src": "/root/.ansible/tmp/ansible-tmp-1734765392.2093146-8910-99899469055261/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 21 December 2024 02:16:33 -0500 (0:00:01.176) 0:00:43.634 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MjAxMzI2NTkyCg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 21 December 2024 02:16:33 -0500 (0:00:00.499) 0:00:44.133 ***** 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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 21 December 2024 02:16:33 -0500 (0:00:00.054) 0:00:44.188 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 21 December 2024 02:16:33 -0500 (0:00:00.070) 0:00:44.259 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "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-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 21 December 2024 02:16:33 -0500 (0:00:00.052) 0:00:44.311 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 21 December 2024 02:16:34 -0500 (0:00:00.046) 0:00:44.357 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 21 December 2024 02:16:34 -0500 (0:00:00.048) 0:00:44.406 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 21 December 2024 02:16:34 -0500 (0:00:00.048) 0:00:44.455 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:16:25 EST", "ActiveEnterTimestampMonotonic": "276143852", "ActiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "ActiveExitTimestampMonotonic": "261034268", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:16:10 EST", "AssertTimestampMonotonic": "261059867", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:16:10 EST", "ConditionTimestampMonotonic": "261059810", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:16:25 EST", "ExecMainExitTimestampMonotonic": "276142996", "ExecMainPID": "8435", "ExecMainStartTimestamp": "Sat 2024-12-21 02:16:10 EST", "ExecMainStartTimestampMonotonic": "261060816", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:25 EST] ; pid=8435 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:10 EST] ; pid=8426 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveEnterTimestampMonotonic": "261058886", "InactiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveExitTimestampMonotonic": "261060855", "InvocationID": "752669e7f4a444859560db16768278bc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:16:25 EST", "StateChangeTimestampMonotonic": "276143852", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Check parameters in conf file] ******************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:82 Saturday 21 December 2024 02:16:34 -0500 (0:00:00.845) 0:00:45.300 ***** ok: [managed-node2] => (item={'param': 'dracut_args', 'value': '--print-cmdline'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --print-cmdline$", "/etc/kdump.conf" ], "delta": "0:00:00.004722", "end": "2024-12-21 02:16:35.409956", "item": { "param": "dracut_args", "value": "--print-cmdline" }, "rc": 0, "start": "2024-12-21 02:16:35.405234" } STDOUT: dracut_args --print-cmdline TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:94 Saturday 21 December 2024 02:16:35 -0500 (0:00:00.505) 0:00:45.806 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "is_el9 | bool", "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:100 Saturday 21 December 2024 02:16:35 -0500 (0:00:00.052) 0:00:45.859 ***** ok: [managed-node2] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 Saturday 21 December 2024 02:16:35 -0500 (0:00:00.051) 0:00:45.910 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.071690", "end": "2024-12-21 02:16:35.995438", "rc": 0, "start": "2024-12-21 02:16:35.923748" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" args="ro crashkernel=auto net.ifnames=0 rhgb quiet" NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 21 December 2024 02:16:36 -0500 (0:00:00.470) 0:00:46.380 ***** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-21 02:16:25 EST", "ActiveEnterTimestampMonotonic": "276143852", "ActiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "ActiveExitTimestampMonotonic": "261034268", "ActiveState": "active", "After": "network.target basic.target remote-fs.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-21 02:16:10 EST", "AssertTimestampMonotonic": "261059867", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-12-21 02:16:10 EST", "ConditionTimestampMonotonic": "261059810", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-12-21 02:16:25 EST", "ExecMainExitTimestampMonotonic": "276142996", "ExecMainPID": "8435", "ExecMainStartTimestamp": "Sat 2024-12-21 02:16:10 EST", "ExecMainStartTimestampMonotonic": "261060816", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:25 EST] ; pid=8435 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-21 02:16:10 EST] ; stop_time=[Sat 2024-12-21 02:16:10 EST] ; pid=8426 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveEnterTimestampMonotonic": "261058886", "InactiveExitTimestamp": "Sat 2024-12-21 02:16:10 EST", "InactiveExitTimestampMonotonic": "261060855", "InvocationID": "752669e7f4a444859560db16768278bc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-12-21 02:16:25 EST", "StateChangeTimestampMonotonic": "276143852", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed-node2 : ok=32 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 21 December 2024 02:16:39 -0500 (0:00:03.304) 0:00:49.685 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 15.62s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------ 14.93s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Install required packages ------------- 3.46s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Restart kdump ------------------------- 3.30s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 1.18s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.85s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.83s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.80s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Check parameters in conf file ------------------------------------------- 0.78s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.72s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.65s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Check parameters in conf file ------------------------------------------- 0.51s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:82 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.50s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.50s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Check for crashkernel setting ------------------------------------------- 0.47s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.45s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.43s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Check for crashkernel setting ------------------------------------------- 0.43s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 Get file ---------------------------------------------------------------- 0.37s /tmp/collections-eA4/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3