ansible-playbook [core 2.17.6] 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-6z0 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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_ssh_reboot.yml ************************************************* 1 plays in /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Monday 11 November 2024 20:38:59 -0500 (0:00:00.008) 0:00:00.008 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Gather facts from managed-node2] ***************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Monday 11 November 2024 20:39:00 -0500 (0:00:01.037) 0:00:01.046 ******* ok: [managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Monday 11 November 2024 20:39:01 -0500 (0:00:00.756) 0:00:01.802 ******* changed: [managed-node2] => { "changed": true, "comment": "", "create_home": true, "group": 1189, "home": "/home/kdump_ssh_user", "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1189 } TASK [Set kdump_ssh_user, sshkey, auth keys] *********************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Monday 11 November 2024 20:39:03 -0500 (0:00:01.444) 0:00:03.247 ******* ok: [managed-node2] => { "ansible_facts": { "__authorized_keys_path": "/home/kdump_ssh_user/.ssh/authorized_keys", "__ssh_dir": "/home/kdump_ssh_user/.ssh", "kdump_ssh_user": "kdump_ssh_user" }, "changed": false } TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Monday 11 November 2024 20:39:03 -0500 (0:00:00.025) 0:00:03.273 ******* skipping: [managed-node2] => { "false_condition": "ansible_distribution_major_version == '6'" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:86 Monday 11 November 2024 20:39:03 -0500 (0:00:00.023) 0:00:03.297 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Monday 11 November 2024 20:39:03 -0500 (0:00:00.011) 0:00:03.309 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Monday 11 November 2024 20:39:03 -0500 (0:00:00.526) 0:00:03.835 ******* ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [Skip the test on ostree systems] ***************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:105 Monday 11 November 2024 20:39:03 -0500 (0:00:00.034) 0:00:03.870 ******* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Monday 11 November 2024 20:39:03 -0500 (0:00:00.035) 0:00:03.906 ******* included: fedora.linux_system_roles.kdump for managed-node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:39:03 -0500 (0:00:00.063) 0:00:03.969 ******* included: /tmp/collections-6z0/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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:39:03 -0500 (0:00:00.038) 0:00:04.008 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:39:03 -0500 (0:00:00.028) 0:00:04.036 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:39:04 -0500 (0:00:00.027) 0:00:04.064 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:39:04 -0500 (0:00:00.031) 0:00:04.096 ******* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:39:04 -0500 (0:00:00.049) 0:00:04.146 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:39:05 -0500 (0:00:01.408) 0:00:05.554 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-11-11 20:38:58 EST", "ActiveEnterTimestampMonotonic": "312769219", "ActiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "ActiveExitTimestampMonotonic": "310128885", "ActiveState": "active", "After": "network.target remote-fs.target systemd-tmpfiles-setup.service tmp.mount network-online.target system.slice basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:38:56 EST", "AssertTimestampMonotonic": "310150885", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2595080000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:38:56 EST", "ConditionTimestampMonotonic": "310150815", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3750", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:38:58 EST", "ExecMainExitTimestampMonotonic": "312769109", "ExecMainPID": "13559", "ExecMainStartTimestamp": "Mon 2024-11-11 20:38:56 EST", "ExecMainStartTimestampMonotonic": "310155141", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; 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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveEnterTimestampMonotonic": "310150227", "InactiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveExitTimestampMonotonic": "310155410", "InvocationID": "bbdaf8b136ba4872b86229942b5ad746", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-11-11 20:38:58 EST", "StateChangeTimestampMonotonic": "312769219", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:39:06 -0500 (0:00:00.692) 0:00:06.247 ******* included: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed-node2 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Monday 11 November 2024 20:39:06 -0500 (0:00:00.043) 0:00:06.291 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.453100", "end": "2024-11-11 20:39:07.102862", "rc": 0, "start": "2024-11-11 20:39:06.649762" } STDOUT: Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/kdump_id_rsa Your public key has been saved in /root/.ssh/kdump_id_rsa.pub The key fingerprint is: SHA256:pbGvMc2faDWIqfz0wL4LLlRaM3ENAoDxR6KkBXs2wM8 root@managed-node2 The key's randomart image is: +---[RSA 3072]----+ |==+.o.. .o | |+B o ... . | |+ B . o. . | | o E = = | | + oSo . | | o .o+. o | | . ...* +. . | | ..o+ *.o . | | ...*+o o | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Monday 11 November 2024 20:39:07 -0500 (0:00:00.914) 0:00:07.205 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEbE5nYWhTeU9SQmlOckF3SlZLaVJtNktIaWJTYUdhQ01CcElXL293c1VZK0VoYUk2Mjg3Q0xNT21LY3o0RkZVelhNeE5YeStpcEUzREFwdFJjOHFYbDlpVFVKSUVkTHM0S2czcHk3ZlZSM0JYd2o0bDFHQ080WkVMeVNOUXdMTXUrYUNBdDFUQ2pPQW5EK1pBMTNnTndqQkU3Q2dPNXpxb3M4M1FPcUpCSzk3ZVF4aW5xTDBQcDcxdE5CTUZ4YnhNYjlCSE52ajN4STVFaFZpcUtiNGVUT1pkN29JcktHRDVaVC9odTBUN1BzSXNFdzB3OGFUL2w3bTRtenhpVnZ5QzY5WmpXNEI1Z2kweDhleWhKOFNSRTJPV0lxR0VDRDNCdFJsV1RnSjErSU04bGJLS05LUnpKS0M0cGliUHpqNC9RZnF3ZnlUSytkNmNNTlBIVHR5VmpxQ1gvQy9EY080R1ByM28zRVErTitWTTFqN0xad2YzRkJDMW5tMHpoRzJMMWErblhiNXU5TU5EeFlQV3BRTG1KeFZtMWhWSkZiWDNMeloxbnFxc2JINkR3ZG9hSHdXc1JicXdVcmRDQVBmS3gvMUEyK3JTNVIxYklQblExd0hIc1p2R2p3RWZ0Uk4xQkNUdlFVak1kZllObnFJWTFVK2hMVmdYMXhVL1FraVU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Monday 11 November 2024 20:39:07 -0500 (0:00:00.400) 0:00:07.606 ******* ok: [managed-node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Monday 11 November 2024 20:39:07 -0500 (0:00:00.418) 0:00:08.024 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Monday 11 November 2024 20:39:08 -0500 (0:00:00.355) 0:00:08.379 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Monday 11 November 2024 20:39:08 -0500 (0:00:00.321) 0:00:08.701 ******* changed: [managed-node2] => { "changed": true, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 6, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Monday 11 November 2024 20:39:09 -0500 (0:00:00.491) 0:00:09.192 ******* changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added and ownership, perms or SE linux context changed TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Monday 11 November 2024 20:39:09 -0500 (0:00:00.488) 0:00:09.681 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDaEljdUNTcWRkQm5RSStPK3RUamU2Lzd3S2FId0ZRWWxtUjlscnZNQkJQVjRDbUozZ1J0YmM3VHpYeDNMUGZ0YzM2Y05HR2FiVXFja0VoaUZCdVRNQWVnSG5vL0JqVy9EalREbTNqM2JVTk84L0xJWFZHZUZPSU4raUNBek1lY2dzdGhiRmR5Qmc5b3RDVEtDWm10aCtpdEw4L1dMWmVQT3BvSDJyWm9iZ1dqeTh3VFB3LzJMWXkwRThVOFNlVFd5OEtJaDcvWXdJUytYNVF3SGdpTGs1YkFneno2b3FoekphQ1ZPdHVZOTlTZXJQSWY4VEorb3h4ZTBIZGFpalpZZnV2UU1zR0R2djZjaUNiUUZKQmw0ZTljRUtZdlVGWDJVVkJJQnYycWZnNmFuek9LaUVDRDBlck1NWS83K2NsaWxnUXlqbXd5QXZPeUZucmJoVkRyQ0tyT1dvL1BWMURqV3pTbXRqaEZZR2sxZFl0MytGSS9KVnVzVjRNVmFRTWNjVWd3dlVKLzV2VHhRNjdyRkNVUWRNMHJYUlF1WGFhZmh1d3lCZWhqbXBwclJDMnV0VXVSVWk4RFl4ekJWMnlJNklGNlR4Y1NVYlhId1p2b3ZFTWJtV1pMSjM3NlE4MjZZTFlMUENBUURLRDNmY0c2TXZEdDdVZ2s4ZHd6WGIxR0U9IHJvb3RAaXAtMTAtMzEtOS04NC51cy1lYXN0LTEuYXdzLnJlZGhhdC5jb20K", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Monday 11 November 2024 20:39:09 -0500 (0:00:00.336) 0:00:10.018 ******* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.84 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQChIcuCSqddBnQI+O+tTje6/7wKaHwFQYlmR9lrvMBBPV4CmJ3gRtbc7TzXx3LPftc36cNGGabUqckEhiFBuTMAegHno/BjW/DjTDm3j3bUNO8/LIXVGeFOIN+iCAzMecgsthbFdyBg9otCTKCZmth+itL8/WLZePOpoH2rZobgWjy8wTPw/2LYy0E8U8SeTWy8KIh7/YwIS+X5QwHgiLk5bAgzz6oqhzJaCVOtuY99SerPIf8TJ+oxxe0HdaijZYfuvQMsGDvv6ciCbQFJBl4e9cEKYvUFX2UVBIBv2qfg6anzOKiECD0erMMY/7+clilgQyjmwyAvOyFnrbhVDrCKrOWo/PV1DjWzSmtjhFYGk1dYt3+FI/JVusV4MVaQMccUgwvUJ/5vTxQ67rFCUQdM0rXRQuXaafhuwyBehjmpprRC2utUuRUi8DYxzBV2yI6IF6TxcSUbXHwZvovEMbmWZLJ376Q826YLYLPCAQDKD3fcG6MvDt7Ugk8dwzXb1GE= root@ip-10-31-9-84.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.9.84", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 608, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:39:10 -0500 (0:00:00.455) 0:00:10.473 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375533.886265, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52ab5ccb1a92ce63a4794b0ffded7db8947b5bb1", "ctime": 1731375531.7642143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 322961603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731375531.7652216, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 138, "uid": 0, "version": "3679913382", "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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:39:10 -0500 (0:00:00.334) 0:00:10.808 ******* Notification for handler Restart kdump has been saved. changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.16969.2024-11-11@20:39:11~", "changed": true, "checksum": "b664b427f2410e23c5761bd10d1bd6c797ac3329", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "8f1c50cb71a2381c1d967fd15cbfa75e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 153, "src": "/root/.ansible/tmp/ansible-tmp-1731375550.7895281-8715-245903375693199/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:39:11 -0500 (0:00:00.781) 0:00:11.589 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:39:11 -0500 (0:00:00.337) 0:00:11.926 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:39:11 -0500 (0:00:00.022) 0:00:11.949 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:39:11 -0500 (0:00:00.020) 0:00:11.969 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:39:11 -0500 (0:00:00.021) 0:00:11.991 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:39:11 -0500 (0:00:00.019) 0:00:12.010 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:39:11 -0500 (0:00:00.014) 0:00:12.025 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:39:11 -0500 (0:00:00.016) 0:00:12.042 ******* ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-11-11 20:38:58 EST", "ActiveEnterTimestampMonotonic": "312769219", "ActiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "ActiveExitTimestampMonotonic": "310128885", "ActiveState": "active", "After": "network.target remote-fs.target systemd-tmpfiles-setup.service tmp.mount network-online.target system.slice basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:38:56 EST", "AssertTimestampMonotonic": "310150885", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2595080000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:38:56 EST", "ConditionTimestampMonotonic": "310150815", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3750", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:38:58 EST", "ExecMainExitTimestampMonotonic": "312769109", "ExecMainPID": "13559", "ExecMainStartTimestamp": "Mon 2024-11-11 20:38:56 EST", "ExecMainStartTimestampMonotonic": "310155141", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; 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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveEnterTimestampMonotonic": "310150227", "InactiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveExitTimestampMonotonic": "310155410", "InvocationID": "bbdaf8b136ba4872b86229942b5ad746", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-11-11 20:38:58 EST", "StateChangeTimestampMonotonic": "312769219", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:113 Monday 11 November 2024 20:39:12 -0500 (0:00:00.469) 0:00:12.511 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Monday 11 November 2024 20:39:12 -0500 (0:00:00.005) 0:00:12.516 ******* changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-11-11 20:38:58 EST", "ActiveEnterTimestampMonotonic": "312769219", "ActiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "ActiveExitTimestampMonotonic": "310128885", "ActiveState": "active", "After": "network.target remote-fs.target systemd-tmpfiles-setup.service tmp.mount network-online.target system.slice basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:38:56 EST", "AssertTimestampMonotonic": "310150885", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2595080000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:38:56 EST", "ConditionTimestampMonotonic": "310150815", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3750", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:38:58 EST", "ExecMainExitTimestampMonotonic": "312769109", "ExecMainPID": "13559", "ExecMainStartTimestamp": "Mon 2024-11-11 20:38:56 EST", "ExecMainStartTimestampMonotonic": "310155141", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Mon 2024-11-11 20:38:56 EST] ; stop_time=[Mon 2024-11-11 20:38:58 EST] ; pid=13559 ; 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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveEnterTimestampMonotonic": "310150227", "InactiveExitTimestamp": "Mon 2024-11-11 20:38:56 EST", "InactiveExitTimestampMonotonic": "310155410", "InvocationID": "bbdaf8b136ba4872b86229942b5ad746", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-11-11 20:38:58 EST", "StateChangeTimestampMonotonic": "312769219", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get the ssh dir for the user] ******************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Monday 11 November 2024 20:39:30 -0500 (0:00:17.649) 0:00:30.166 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375549.091628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1731375549.5796397, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 624951492, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375549.5796397, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 29, "uid": 1189, "version": "237921624", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Get the authorized_keys file for the user] ******************************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Monday 11 November 2024 20:39:30 -0500 (0:00:00.331) 0:00:30.498 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375553.8097408, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e450d7e1db346a3a2b3665b515de6af4272fea6", "ctime": 1731375549.5806398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 629145922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731375549.5766397, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 572, "uid": 1189, "version": "763912045", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Monday 11 November 2024 20:39:30 -0500 (0:00:00.331) 0:00:30.830 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEbE5nYWhTeU9SQmlOckF3SlZLaVJtNktIaWJTYUdhQ01CcElXL293c1VZK0VoYUk2Mjg3Q0xNT21LY3o0RkZVelhNeE5YeStpcEUzREFwdFJjOHFYbDlpVFVKSUVkTHM0S2czcHk3ZlZSM0JYd2o0bDFHQ080WkVMeVNOUXdMTXUrYUNBdDFUQ2pPQW5EK1pBMTNnTndqQkU3Q2dPNXpxb3M4M1FPcUpCSzk3ZVF4aW5xTDBQcDcxdE5CTUZ4YnhNYjlCSE52ajN4STVFaFZpcUtiNGVUT1pkN29JcktHRDVaVC9odTBUN1BzSXNFdzB3OGFUL2w3bTRtenhpVnZ5QzY5WmpXNEI1Z2kweDhleWhKOFNSRTJPV0lxR0VDRDNCdFJsV1RnSjErSU04bGJLS05LUnpKS0M0cGliUHpqNC9RZnF3ZnlUSytkNmNNTlBIVHR5VmpxQ1gvQy9EY080R1ByM28zRVErTitWTTFqN0xad2YzRkJDMW5tMHpoRzJMMWErblhiNXU5TU5EeFlQV3BRTG1KeFZtMWhWSkZiWDNMeloxbnFxc2JINkR3ZG9hSHdXc1JicXdVcmRDQVBmS3gvMUEyK3JTNVIxYklQblExd0hIc1p2R2p3RWZ0Uk4xQkNUdlFVak1kZllObnFJWTFVK2hMVmdYMXhVL1FraVU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Monday 11 November 2024 20:39:31 -0500 (0:00:00.319) 0:00:31.149 ******* included: fedora.linux_system_roles.kdump for managed-node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:39:31 -0500 (0:00:00.044) 0:00:31.193 ******* included: /tmp/collections-6z0/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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:39:31 -0500 (0:00:00.021) 0:00:31.215 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:39:31 -0500 (0:00:00.019) 0:00:31.235 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:39:31 -0500 (0:00:00.019) 0:00:31.254 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:39:31 -0500 (0:00:00.019) 0:00:31.274 ******* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:39:31 -0500 (0:00:00.033) 0:00:31.307 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:39:32 -0500 (0:00:01.184) 0:00:32.492 ******* ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-11-11 20:39:30 EST", "ActiveEnterTimestampMonotonic": "344047724", "ActiveExitTimestamp": "Mon 2024-11-11 20:39:12 EST", "ActiveExitTimestampMonotonic": "326881726", "ActiveState": "active", "After": "network.target remote-fs.target systemd-tmpfiles-setup.service tmp.mount network-online.target system.slice basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:39:12 EST", "AssertTimestampMonotonic": "326904389", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20657671000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:39:12 EST", "ConditionTimestampMonotonic": "326904316", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3824", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:39:30 EST", "ExecMainExitTimestampMonotonic": "344047595", "ExecMainPID": "17309", "ExecMainStartTimestamp": "Mon 2024-11-11 20:39:12 EST", "ExecMainStartTimestampMonotonic": "326916082", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:39:12 EST] ; stop_time=[Mon 2024-11-11 20:39:30 EST] ; pid=17309 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Mon 2024-11-11 20:39:12 EST] ; stop_time=[Mon 2024-11-11 20:39:30 EST] ; pid=17309 ; 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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:39:12 EST", "InactiveEnterTimestampMonotonic": "326903816", "InactiveExitTimestamp": "Mon 2024-11-11 20:39:12 EST", "InactiveExitTimestampMonotonic": "326916332", "InvocationID": "596b87f938ca404696a27b14a1973c6f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-11-11 20:39:30 EST", "StateChangeTimestampMonotonic": "344047724", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:39:32 -0500 (0:00:00.478) 0:00:32.971 ******* included: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed-node2 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Monday 11 November 2024 20:39:32 -0500 (0:00:00.070) 0:00:33.042 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists MSG: Did not run command since '/root/.ssh/kdump_id_rsa' exists TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Monday 11 November 2024 20:39:33 -0500 (0:00:00.364) 0:00:33.406 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEbE5nYWhTeU9SQmlOckF3SlZLaVJtNktIaWJTYUdhQ01CcElXL293c1VZK0VoYUk2Mjg3Q0xNT21LY3o0RkZVelhNeE5YeStpcEUzREFwdFJjOHFYbDlpVFVKSUVkTHM0S2czcHk3ZlZSM0JYd2o0bDFHQ080WkVMeVNOUXdMTXUrYUNBdDFUQ2pPQW5EK1pBMTNnTndqQkU3Q2dPNXpxb3M4M1FPcUpCSzk3ZVF4aW5xTDBQcDcxdE5CTUZ4YnhNYjlCSE52ajN4STVFaFZpcUtiNGVUT1pkN29JcktHRDVaVC9odTBUN1BzSXNFdzB3OGFUL2w3bTRtenhpVnZ5QzY5WmpXNEI1Z2kweDhleWhKOFNSRTJPV0lxR0VDRDNCdFJsV1RnSjErSU04bGJLS05LUnpKS0M0cGliUHpqNC9RZnF3ZnlUSytkNmNNTlBIVHR5VmpxQ1gvQy9EY080R1ByM28zRVErTitWTTFqN0xad2YzRkJDMW5tMHpoRzJMMWErblhiNXU5TU5EeFlQV3BRTG1KeFZtMWhWSkZiWDNMeloxbnFxc2JINkR3ZG9hSHdXc1JicXdVcmRDQVBmS3gvMUEyK3JTNVIxYklQblExd0hIc1p2R2p3RWZ0Uk4xQkNUdlFVak1kZllObnFJWTFVK2hMVmdYMXhVL1FraVU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Monday 11 November 2024 20:39:33 -0500 (0:00:00.358) 0:00:33.764 ******* ok: [managed-node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Monday 11 November 2024 20:39:34 -0500 (0:00:00.487) 0:00:34.251 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375549.091628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1731375549.5796397, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 624951492, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375549.5796397, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 29, "uid": 1189, "version": "237921624", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Monday 11 November 2024 20:39:34 -0500 (0:00:00.465) 0:00:34.717 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375553.8097408, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e450d7e1db346a3a2b3665b515de6af4272fea6", "ctime": 1731375549.5806398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 629145922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731375549.5766397, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 572, "uid": 1189, "version": "763912045", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Monday 11 November 2024 20:39:35 -0500 (0:00:00.378) 0:00:35.095 ******* ok: [managed-node2] => { "changed": false, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 29, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Monday 11 November 2024 20:39:35 -0500 (0:00:00.517) 0:00:35.613 ******* ok: [managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Monday 11 November 2024 20:39:35 -0500 (0:00:00.367) 0:00:35.981 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDaEljdUNTcWRkQm5RSStPK3RUamU2Lzd3S2FId0ZRWWxtUjlscnZNQkJQVjRDbUozZ1J0YmM3VHpYeDNMUGZ0YzM2Y05HR2FiVXFja0VoaUZCdVRNQWVnSG5vL0JqVy9EalREbTNqM2JVTk84L0xJWFZHZUZPSU4raUNBek1lY2dzdGhiRmR5Qmc5b3RDVEtDWm10aCtpdEw4L1dMWmVQT3BvSDJyWm9iZ1dqeTh3VFB3LzJMWXkwRThVOFNlVFd5OEtJaDcvWXdJUytYNVF3SGdpTGs1YkFneno2b3FoekphQ1ZPdHVZOTlTZXJQSWY4VEorb3h4ZTBIZGFpalpZZnV2UU1zR0R2djZjaUNiUUZKQmw0ZTljRUtZdlVGWDJVVkJJQnYycWZnNmFuek9LaUVDRDBlck1NWS83K2NsaWxnUXlqbXd5QXZPeUZucmJoVkRyQ0tyT1dvL1BWMURqV3pTbXRqaEZZR2sxZFl0MytGSS9KVnVzVjRNVmFRTWNjVWd3dlVKLzV2VHhRNjdyRkNVUWRNMHJYUlF1WGFhZmh1d3lCZWhqbXBwclJDMnV0VXVSVWk4RFl4ekJWMnlJNklGNlR4Y1NVYlhId1p2b3ZFTWJtV1pMSjM3NlE4MjZZTFlMUENBUURLRDNmY0c2TXZEdDdVZ2s4ZHd6WGIxR0U9IHJvb3RAaXAtMTAtMzEtOS04NC51cy1lYXN0LTEuYXdzLnJlZGhhdC5jb20K", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Monday 11 November 2024 20:39:36 -0500 (0:00:00.381) 0:00:36.362 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.84 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQChIcuCSqddBnQI+O+tTje6/7wKaHwFQYlmR9lrvMBBPV4CmJ3gRtbc7TzXx3LPftc36cNGGabUqckEhiFBuTMAegHno/BjW/DjTDm3j3bUNO8/LIXVGeFOIN+iCAzMecgsthbFdyBg9otCTKCZmth+itL8/WLZePOpoH2rZobgWjy8wTPw/2LYy0E8U8SeTWy8KIh7/YwIS+X5QwHgiLk5bAgzz6oqhzJaCVOtuY99SerPIf8TJ+oxxe0HdaijZYfuvQMsGDvv6ciCbQFJBl4e9cEKYvUFX2UVBIBv2qfg6anzOKiECD0erMMY/7+clilgQyjmwyAvOyFnrbhVDrCKrOWo/PV1DjWzSmtjhFYGk1dYt3+FI/JVusV4MVaQMccUgwvUJ/5vTxQ67rFCUQdM0rXRQuXaafhuwyBehjmpprRC2utUuRUi8DYxzBV2yI6IF6TxcSUbXHwZvovEMbmWZLJ376Q826YLYLPCAQDKD3fcG6MvDt7Ugk8dwzXb1GE= root@ip-10-31-9-84.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.9.84", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 608, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:39:36 -0500 (0:00:00.571) 0:00:36.934 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375552.93572, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b664b427f2410e23c5761bd10d1bd6c797ac3329", "ctime": 1731375551.4756851, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 662700227, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731375551.476757, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 153, "uid": 0, "version": "3198565117", "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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:39:37 -0500 (0:00:00.418) 0:00:37.353 ******* ok: [managed-node2] => { "changed": false, "checksum": "b664b427f2410e23c5761bd10d1bd6c797ac3329", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/kdump.conf", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 153, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:39:38 -0500 (0:00:00.870) 0:00:38.223 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:39:38 -0500 (0:00:00.432) 0:00:38.655 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:39:38 -0500 (0:00:00.019) 0:00:38.675 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:39:38 -0500 (0:00:00.014) 0:00:38.689 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:39:38 -0500 (0:00:00.013) 0:00:38.703 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:39:38 -0500 (0:00:00.014) 0:00:38.717 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:39:38 -0500 (0:00:00.013) 0:00:38.731 ******* 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-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:39:38 -0500 (0:00:00.014) 0:00:38.745 ******* ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-11-11 20:39:30 EST", "ActiveEnterTimestampMonotonic": "344047724", "ActiveExitTimestamp": "Mon 2024-11-11 20:39:12 EST", "ActiveExitTimestampMonotonic": "326881726", "ActiveState": "active", "After": "network.target remote-fs.target systemd-tmpfiles-setup.service tmp.mount network-online.target system.slice basic.target -.mount systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:39:12 EST", "AssertTimestampMonotonic": "326904389", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20657671000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-11-11 20:39:12 EST", "ConditionTimestampMonotonic": "326904316", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3824", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:39:30 EST", "ExecMainExitTimestampMonotonic": "344047595", "ExecMainPID": "17309", "ExecMainStartTimestamp": "Mon 2024-11-11 20:39:12 EST", "ExecMainStartTimestampMonotonic": "326916082", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:39:12 EST] ; stop_time=[Mon 2024-11-11 20:39:30 EST] ; pid=17309 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Mon 2024-11-11 20:39:12 EST] ; stop_time=[Mon 2024-11-11 20:39:30 EST] ; pid=17309 ; 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 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-11-11 20:39:12 EST", "InactiveEnterTimestampMonotonic": "326903816", "InactiveExitTimestamp": "Mon 2024-11-11 20:39:12 EST", "InactiveExitTimestampMonotonic": "326916332", "InvocationID": "596b87f938ca404696a27b14a1973c6f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13955", "LimitNPROCSoft": "13955", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13955", "LimitSIGPENDINGSoft": "13955", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-11-11 20:39:30 EST", "StateChangeTimestampMonotonic": "344047724", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22328", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get the authorized_keys contents after] ********************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Monday 11 November 2024 20:39:39 -0500 (0:00:00.554) 0:00:39.300 ******* ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEbE5nYWhTeU9SQmlOckF3SlZLaVJtNktIaWJTYUdhQ01CcElXL293c1VZK0VoYUk2Mjg3Q0xNT21LY3o0RkZVelhNeE5YeStpcEUzREFwdFJjOHFYbDlpVFVKSUVkTHM0S2czcHk3ZlZSM0JYd2o0bDFHQ080WkVMeVNOUXdMTXUrYUNBdDFUQ2pPQW5EK1pBMTNnTndqQkU3Q2dPNXpxb3M4M1FPcUpCSzk3ZVF4aW5xTDBQcDcxdE5CTUZ4YnhNYjlCSE52ajN4STVFaFZpcUtiNGVUT1pkN29JcktHRDVaVC9odTBUN1BzSXNFdzB3OGFUL2w3bTRtenhpVnZ5QzY5WmpXNEI1Z2kweDhleWhKOFNSRTJPV0lxR0VDRDNCdFJsV1RnSjErSU04bGJLS05LUnpKS0M0cGliUHpqNC9RZnF3ZnlUSytkNmNNTlBIVHR5VmpxQ1gvQy9EY080R1ByM28zRVErTitWTTFqN0xad2YzRkJDMW5tMHpoRzJMMWErblhiNXU5TU5EeFlQV3BRTG1KeFZtMWhWSkZiWDNMeloxbnFxc2JINkR3ZG9hSHdXc1JicXdVcmRDQVBmS3gvMUEyK3JTNVIxYklQblExd0hIc1p2R2p3RWZ0Uk4xQkNUdlFVak1kZllObnFJWTFVK2hMVmdYMXhVL1FraVU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Monday 11 November 2024 20:39:39 -0500 (0:00:00.504) 0:00:39.804 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Monday 11 November 2024 20:39:39 -0500 (0:00:00.019) 0:00:39.825 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731375549.091628, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1731375549.5796397, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 624951492, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375549.5796397, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 29, "uid": 1189, "version": "237921624", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert no changes to ssh dir] ******************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Monday 11 November 2024 20:39:40 -0500 (0:00:00.416) 0:00:40.241 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Monday 11 November 2024 20:39:40 -0500 (0:00:00.033) 0:00:40.276 ******* changed: [managed-node2] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Monday 11 November 2024 20:39:40 -0500 (0:00:00.617) 0:00:40.893 ******* changed: [managed-node2] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=54 changed=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 11 November 2024 20:39:41 -0500 (0:00:00.489) 0:00:41.383 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 17.65s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Create a kdump user on kdump_ssh_server --------------------------------- 1.44s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 fedora.linux_system_roles.kdump : Install required packages ------------- 1.41s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Install required packages ------------- 1.18s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.91s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.87s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.78s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Gather facts from managed-node2 ----------------------------------------- 0.76s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.69s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Delete user ------------------------------------------------------------- 0.62s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.57s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.55s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Check if system is ostree ----------------------------------------------- 0.53s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.52s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Get the authorized_keys contents after ---------------------------------- 0.50s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.49s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Cleanup kdump_path ------------------------------------------------------ 0.49s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.49s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.49s /tmp/collections-6z0/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19