ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default_reboot.yml ********************************************* 1 plays in /tmp/collections-F5d/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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 Monday 11 November 2024 20:35:54 -0500 (0:00:00.025) 0:00:00.025 ******* ok: [managed-node2] META: ran handlers TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:11 Monday 11 November 2024 20:35:56 -0500 (0:00:01.444) 0:00:01.470 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:35:56 -0500 (0:00:00.242) 0:00:01.712 ******* included: /tmp/collections-F5d/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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:35:56 -0500 (0:00:00.052) 0:00:01.765 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:35:56 -0500 (0:00:00.073) 0:00:01.838 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:35:57 -0500 (0:00:00.826) 0:00:02.665 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:35:57 -0500 (0:00:00.089) 0:00:02.754 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:35:57 -0500 (0:00:00.112) 0:00:02.866 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:35:58 -0500 (0:00:00.922) 0:00:03.789 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:32:53 EST", "ActiveEnterTimestampMonotonic": "41372829", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:32:36 EST", "AssertTimestampMonotonic": "24380084", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:32:36 EST", "ConditionTimestampMonotonic": "24380082", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:32:53 EST", "ExecMainExitTimestampMonotonic": "41372640", "ExecMainPID": "1225", "ExecMainStartTimestamp": "Mon 2024-11-11 20:32:36 EST", "ExecMainStartTimestampMonotonic": "24380734", "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=[Mon 2024-11-11 20:32:36 EST] ; stop_time=[Mon 2024-11-11 20:32:53 EST] ; pid=1225 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-11-11 20:32:36 EST", "InactiveExitTimestampMonotonic": "24380765", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:35:59 -0500 (0:00:00.828) 0:00:04.617 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:35:59 -0500 (0:00:00.063) 0:00:04.681 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375156.1276572, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", "ctime": 1718880241.3036501, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 147672, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880241.3036501, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 7274, "uid": 0, "version": "22382559", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:35:59 -0500 (0:00:00.359) 0:00:05.040 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.9520.2024-11-11@20:36:00~", "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-1731375360.02-9940-42962880276202/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:36:00 -0500 (0:00:00.986) 0:00:06.027 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:36:01 -0500 (0:00:00.535) 0:00:06.562 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:36:01 -0500 (0:00:00.060) 0:00:06.623 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:36:01 -0500 (0:00:00.049) 0:00:06.673 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:36:01 -0500 (0:00:00.069) 0:00:06.743 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:36:01 -0500 (0:00:00.088) 0:00:06.831 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:36:01 -0500 (0:00:00.113) 0:00:06.945 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:36:01 -0500 (0:00:00.114) 0:00:07.060 ******* ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:32:53 EST", "ActiveEnterTimestampMonotonic": "41372829", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:32:36 EST", "AssertTimestampMonotonic": "24380084", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:32:36 EST", "ConditionTimestampMonotonic": "24380082", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:32:53 EST", "ExecMainExitTimestampMonotonic": "41372640", "ExecMainPID": "1225", "ExecMainStartTimestamp": "Mon 2024-11-11 20:32:36 EST", "ExecMainStartTimestampMonotonic": "24380734", "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=[Mon 2024-11-11 20:32:36 EST] ; stop_time=[Mon 2024-11-11 20:32:53 EST] ; pid=1225 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-11-11 20:32:36 EST", "InactiveExitTimestampMonotonic": "24380765", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Monday 11 November 2024 20:36:02 -0500 (0:00:00.428) 0:00:07.488 ******* changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:32:53 EST", "ActiveEnterTimestampMonotonic": "41372829", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:32:36 EST", "AssertTimestampMonotonic": "24380084", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:32:36 EST", "ConditionTimestampMonotonic": "24380082", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:32:53 EST", "ExecMainExitTimestampMonotonic": "41372640", "ExecMainPID": "1225", "ExecMainStartTimestamp": "Mon 2024-11-11 20:32:36 EST", "ExecMainStartTimestampMonotonic": "24380734", "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=[Mon 2024-11-11 20:32:36 EST] ; stop_time=[Mon 2024-11-11 20:32:53 EST] ; pid=1225 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-11-11 20:32:36 EST", "InactiveExitTimestampMonotonic": "24380765", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:19 Monday 11 November 2024 20:36:17 -0500 (0:00:14.851) 0:00:22.339 ******* included: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3 Monday 11 November 2024 20:36:17 -0500 (0:00:00.055) 0:00:22.395 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:9 Monday 11 November 2024 20:36:17 -0500 (0:00:00.453) 0:00:22.848 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [See if el9 or later, or el7 or el8] ************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:25 Monday 11 November 2024 20:36:17 -0500 (0:00:00.116) 0:00:22.964 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 Monday 11 November 2024 20:36:17 -0500 (0:00:00.081) 0:00:23.046 ******* ok: [managed-node2] => (item={u'value': u'--kernel-cmdline nopti', u'param': u'dracut_args'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --kernel-cmdline nopti$", "/etc/kdump.conf" ], "delta": "0:00:00.003288", "end": "2024-11-11 20:36:18.451775", "item": { "param": "dracut_args", "value": "--kernel-cmdline nopti" }, "rc": 0, "start": "2024-11-11 20:36:18.448487" } STDOUT: dracut_args --kernel-cmdline nopti ok: [managed-node2] => (item={u'value': u'reboot', u'param': u'default'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^default reboot$", "/etc/kdump.conf" ], "delta": "0:00:00.003380", "end": "2024-11-11 20:36:18.888431", "item": { "param": "default", "value": "reboot" }, "rc": 0, "start": "2024-11-11 20:36:18.885051" } STDOUT: default reboot TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:50 Monday 11 November 2024 20:36:18 -0500 (0:00:01.028) 0:00:24.074 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:56 Monday 11 November 2024 20:36:19 -0500 (0:00:00.065) 0:00:24.140 ******* ok: [managed-node2] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 Monday 11 November 2024 20:36:19 -0500 (0:00:00.079) 0:00:24.220 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.020139", "end": "2024-11-11 20:36:19.546175", "rc": 0, "start": "2024-11-11 20:36:19.526036" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" TASK [Change parameters and run the role again] ******************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:70 Monday 11 November 2024 20:36:19 -0500 (0:00:00.505) 0:00:24.725 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:75 Monday 11 November 2024 20:36:19 -0500 (0:00:00.033) 0:00:24.758 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:36:19 -0500 (0:00:00.046) 0:00:24.805 ******* included: /tmp/collections-F5d/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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:36:19 -0500 (0:00:00.068) 0:00:24.874 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:36:19 -0500 (0:00:00.132) 0:00:25.006 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:36:19 -0500 (0:00:00.099) 0:00:25.106 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:36:20 -0500 (0:00:00.102) 0:00:25.208 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:36:20 -0500 (0:00:00.152) 0:00:25.360 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:36:21 -0500 (0:00:00.966) 0:00:26.327 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:17 EST", "ActiveEnterTimestampMonotonic": "245410092", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "231023235", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "231052581", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "231052580", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:17 EST", "ExecMainExitTimestampMonotonic": "245409439", "ExecMainPID": "9691", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "231053527", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:17 EST] ; pid=9691 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "231051546", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "231053563", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:36:22 -0500 (0:00:00.880) 0:00:27.208 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:36:22 -0500 (0:00:00.134) 0:00:27.343 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375362.7782369, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ae6083a5f19c1bef9a17e295142418f557273a6b", "ctime": 1731375360.8352377, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731375360.3572378, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 112, "uid": 0, "version": "18446744073145908532", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:36:22 -0500 (0:00:00.410) 0:00:27.753 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.16911.2024-11-11@20:36:23~", "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-1731375382.76-10697-125394583015007/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:36:23 -0500 (0:00:00.880) 0:00:28.634 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:36:24 -0500 (0:00:00.484) 0:00:29.119 ******* 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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:36:24 -0500 (0:00:00.150) 0:00:29.270 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:36:24 -0500 (0:00:00.087) 0:00:29.358 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:36:24 -0500 (0:00:00.153) 0:00:29.512 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:36:24 -0500 (0:00:00.145) 0:00:29.657 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:36:24 -0500 (0:00:00.078) 0:00:29.736 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:36:24 -0500 (0:00:00.077) 0:00:29.814 ******* ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:17 EST", "ActiveEnterTimestampMonotonic": "245410092", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "231023235", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "231052581", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "231052580", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:17 EST", "ExecMainExitTimestampMonotonic": "245409439", "ExecMainPID": "9691", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "231053527", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:17 EST] ; pid=9691 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "231051546", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "231053563", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Check parameters in conf file] ******************************************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:82 Monday 11 November 2024 20:36:25 -0500 (0:00:00.760) 0:00:30.574 ******* ok: [managed-node2] => (item={u'value': u'--print-cmdline', u'param': u'dracut_args'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --print-cmdline$", "/etc/kdump.conf" ], "delta": "0:00:00.003432", "end": "2024-11-11 20:36:25.908091", "item": { "param": "dracut_args", "value": "--print-cmdline" }, "rc": 0, "start": "2024-11-11 20:36:25.904659" } STDOUT: dracut_args --print-cmdline TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:94 Monday 11 November 2024 20:36:25 -0500 (0:00:00.504) 0:00:31.078 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:100 Monday 11 November 2024 20:36:26 -0500 (0:00:00.054) 0:00:31.133 ******* ok: [managed-node2] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 Monday 11 November 2024 20:36:26 -0500 (0:00:00.096) 0:00:31.229 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.013861", "end": "2024-11-11 20:36:26.656373", "rc": 0, "start": "2024-11-11 20:36:26.642512" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Monday 11 November 2024 20:36:26 -0500 (0:00:00.637) 0:00:31.867 ******* changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:17 EST", "ActiveEnterTimestampMonotonic": "245410092", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "231023235", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket remote-fs.target network-online.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "231052581", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "231052580", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:17 EST", "ExecMainExitTimestampMonotonic": "245409439", "ExecMainPID": "9691", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "231053527", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:17 EST] ; pid=9691 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "231051546", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "231053563", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=32 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Monday 11 November 2024 20:36:29 -0500 (0:00:02.309) 0:00:34.176 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------- 2.31s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.44s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 Check parameters in conf file ------------------------------------------- 1.03s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 fedora.linux_system_roles.kdump : Install required packages ------------- 0.97s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.88s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.88s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.83s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.76s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Check for crashkernel setting ------------------------------------------- 0.64s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 Check for crashkernel setting ------------------------------------------- 0.51s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 Check parameters in conf file ------------------------------------------- 0.50s /tmp/collections-F5d/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.48s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Get file ---------------------------------------------------------------- 0.45s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.41s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Run the role and reboot if necessary ------------------------------------ 0.24s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:11 fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed --- 0.15s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.15s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact ---- 0.15s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.15s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.13s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16