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-riP 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-riP/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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 30 November 2024 02:19:03 -0500 (0:00:00.007) 0:00:00.007 ***** [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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 30 November 2024 02:19:04 -0500 (0:00:01.392) 0:00:01.400 ***** ok: [managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 30 November 2024 02:19:05 -0500 (0:00:00.789) 0:00:02.189 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 30 November 2024 02:19:06 -0500 (0:00:01.048) 0:00:03.238 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.017) 0:00:03.255 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:86 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.013) 0:00:03.268 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.007) 0:00:03.276 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.422) 0:00:03.698 ***** ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [Skip the test on ostree systems] ***************************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:105 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.022) 0:00:03.720 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.022) 0:00:03.742 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.036) 0:00:03.778 ***** included: /tmp/collections-riP/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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.020) 0:00:03.799 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.016) 0:00:03.816 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.016) 0:00:03.832 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.017) 0:00:03.849 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.030) 0:00:03.880 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 30 November 2024 02:19:08 -0500 (0:00:01.390) 0:00:05.271 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "382974843", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "ActiveExitTimestampMonotonic": "380908548", "ActiveState": "active", "After": "systemd-journald.socket system.slice systemd-tmpfiles-setup.service network.target basic.target tmp.mount remote-fs.target -.mount network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:59 EST", "AssertTimestampMonotonic": "380942537", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2207793000", "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": "Sat 2024-11-30 02:18:59 EST", "ConditionTimestampMonotonic": "380942465", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3851", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "382974731", "ExecMainPID": "14136", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:59 EST", "ExecMainStartTimestampMonotonic": "380947078", "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=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; 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": "Sat 2024-11-30 02:18:59 EST", "InactiveEnterTimestampMonotonic": "380941817", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "InactiveExitTimestampMonotonic": "380947354", "InvocationID": "1dae34adef3a40d6a2b39603041968fe", "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": "13962", "LimitNPROCSoft": "13962", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13962", "LimitSIGPENDINGSoft": "13962", "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": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "382974843", "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": "22340", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 30 November 2024 02:19:09 -0500 (0:00:00.682) 0:00:05.954 ***** included: /tmp/collections-riP/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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 30 November 2024 02:19:09 -0500 (0:00:00.043) 0:00:05.997 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.260323", "end": "2024-11-30 02:19:09.863880", "rc": 0, "start": "2024-11-30 02:19:09.603557" } 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:GRHRmezsFm64lZI9WjXn0WWhj6Jxf7+imqQuSWPbN+o root@managed-node2 The key's randomart image is: +---[RSA 3072]----+ | += o ..| | .= . o| | .o . o.| | o+ o = .| | SB * = o | | + + # o . | | o = @ . . . | | + .=o. .. .| | +Eooo.. ..o| +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 30 November 2024 02:19:09 -0500 (0:00:00.684) 0:00:06.681 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDUkpIa3V2WDhIL0p2QTJ5MkkwckZ0Y05SUEtab29ia3BvYkxkQ0FKQS9kWXlXT1QxcjdsNTFhaWY3V1VMYUNyOUxUdE51eUF1TGNVYmxrYzFLYXArMjJ6WVN5eVI4RWYvUW90b0NyZFg1Q1k4VjNqNkpZZnpnV2MvbnhHcTR1aXppajR6Szd2dXZKR0REc1VpbmhiSHpmV0xxekhkWGs1WHlsM3Z6Y3NPVDJuTmpYaWJBMTlqaFFYWkJNL0dKSXFzQWFCS1JxZStQdCtUMXZoWUFjbDJWNGNCUFdPbWNRSXNBSXZTNXdPRkk0eUdHb0Zpa3F6ZnBPNHhsU2Q4b1dhRnM5UlRPSHVkbWcyYVhtN2J4dFQ2Q2cyU3N1bGpBNHlpNU02T1pGYnFsRjVBUHJSWWIrK0lxZ3BHNXV6Q2gwdEpqRktWWFU5WFV2Q2lLdDBxZ3poeUZ0dlUzYkdDK1RPWm1aQjdtZ2tadUt4YnBpY0pWUnVMSGJIRi82NURsZlhOSTV5V2ZxVHBMcmhpK1h5WHo5aVJHSlZpaWFpMExYak1Bb0pwV3pwVHJhVXdwRXplUDloazBHMXloTHFES2k1eEF3enU1TzRpSnkxcVE4Z1Z5d08xZFcxRFdqZGc0MVdnY2k4enhValBTZ3cyZHM4cm1wUFpSSFA1YTF5MUtGTlU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 30 November 2024 02:19:10 -0500 (0:00:00.431) 0:00:07.113 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 30 November 2024 02:19:10 -0500 (0:00:00.407) 0:00:07.521 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 30 November 2024 02:19:11 -0500 (0:00:00.330) 0:00:07.851 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 30 November 2024 02:19:11 -0500 (0:00:00.332) 0:00:08.184 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 30 November 2024 02:19:11 -0500 (0:00:00.445) 0:00:08.630 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 30 November 2024 02:19:12 -0500 (0:00:00.528) 0:00:09.158 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDMlA0N0RSbFg1VjhTOGp0cmZITlNwZjM3VzhiRHpSNlFWa3A3YjBlQVJMcTYwODZnWG44Y1JOOWl0SnpmV01lenFyZVhnNmM3dkpvdzZYalZzeGtQaWtJcjV5MERDRzQyalYzelZwalFuY21zY0tqN25iTFpEMTBZSFFQenJUcmJSanBMdEVsUHFjQXZ3ckxQeXlvb0lHQ1NOSVBCQkZ6dVQ0bHVWNVloVms0VzViS3F6emk5TE1Bek8vbFp3RXpxN3JnUkdIZWoxcElNWjE5VWplUVZ1YnpoOERHYm5UR0JETlMzSjlZYklTYVlkNFRaVXcxRlNOT0xwRGRiYVR5ZzZpUWI4WE1pbDBDdy80aXlQMXZVNkdyYmxnVUVqTFhUUjhidDRNL0cvck9sN05jSUlyTVlwUGN5ckFJWW1iMW9TVkEwTlVuYTgxWHAzbGZDZHZRd28zVHlDVlp1blZMWW9uWDRpU241L1J1SG0wbk9XTXRLRS9yWEhXYWlTSjZxMEtHdXVvOTJVdi9DL1kwSlQ1cnB4MnJTSnQ4WlZtdlVXeCtnbTVGb0tVV21mbmdxYUlPK20wMDJwUFpEaGx1b0xoYTN0MFk3akRBUUhtNjZNVFBJa1hzekZoU1laWjhmenBaKzQyZzF1clgwTnNZTnJBNWc3enAzNmRIUDdkRFU9IHJvb3RAaXAtMTAtMzEtMTMtMjMxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 30 November 2024 02:19:12 -0500 (0:00:00.330) 0:00:09.489 ***** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.231 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC2P47DRlX5V8S8jtrfHNSpf37W8bDzR6QVkp7b0eARLq6086gXn8cRN9itJzfWMezqreXg6c7vJow6XjVsxkPikIr5y0DCG42jV3zVpjQncmscKj7nbLZD10YHQPzrTrbRjpLtElPqcAvwrLPyyooIGCSNIPBBFzuT4luV5YhVk4W5bKqzzi9LMAzO/lZwEzq7rgRGHej1pIMZ19UjeQVubzh8DGbnTGBDNS3J9YbISaYd4TZUw1FSNOLpDdbaTyg6iQb8XMil0Cw/4iyP1vU6GrblgUEjLXTR8bt4M/G/rOl7NcIIrMYpPcyrAIYmb1oSVA0NUna81Xp3lfCdvQwo3TyCVZunVLYonX4iSn5/RuHm0nOWMtKE/rXHWaiSJ6q0KGuuo92Uv/C/Y0JT5rpx2rSJt8ZVmvUWx+gm5FoKUWmfngqaIO+m002pPZDhluoLha3t0Y7jDAQHm66MTPIkXszFhSYZZ8fzpZ+42g1urX0NsYNrA5g7zp36dHP7dDU= root@ip-10-31-13-231.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.13.231", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 612, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 30 November 2024 02:19:13 -0500 (0:00:00.507) 0:00:09.996 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951137.4167967, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52ab5ccb1a92ce63a4794b0ffded7db8947b5bb1", "ctime": 1732951135.3457992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 306184389, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732951135.3465953, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 138, "uid": 0, "version": "1235089788", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 30 November 2024 02:19:13 -0500 (0:00:00.340) 0:00:10.337 ***** Notification for handler Restart kdump has been saved. changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.18161.2024-11-30@02:19:14~", "changed": true, "checksum": "9a375e3af23eaec0aec20a34bec13f42773e54ae", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "0ab998a1091bfa99efea3b77f937bfe0", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 155, "src": "/root/.ansible/tmp/ansible-tmp-1732951153.6253207-8826-142169614175724/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.825) 0:00:11.162 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.333) 0:00:11.496 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.017) 0:00:11.514 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.012) 0:00:11.526 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.016) 0:00:11.543 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.015) 0:00:11.559 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.012) 0:00:11.571 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.012) 0:00:11.584 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "382974843", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "ActiveExitTimestampMonotonic": "380908548", "ActiveState": "active", "After": "systemd-journald.socket system.slice systemd-tmpfiles-setup.service network.target basic.target tmp.mount remote-fs.target -.mount network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:59 EST", "AssertTimestampMonotonic": "380942537", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2207793000", "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": "Sat 2024-11-30 02:18:59 EST", "ConditionTimestampMonotonic": "380942465", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3851", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "382974731", "ExecMainPID": "14136", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:59 EST", "ExecMainStartTimestampMonotonic": "380947078", "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=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; 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": "Sat 2024-11-30 02:18:59 EST", "InactiveEnterTimestampMonotonic": "380941817", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "InactiveExitTimestampMonotonic": "380947354", "InvocationID": "1dae34adef3a40d6a2b39603041968fe", "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": "13962", "LimitNPROCSoft": "13962", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13962", "LimitSIGPENDINGSoft": "13962", "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": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "382974843", "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": "22340", "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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:113 Saturday 30 November 2024 02:19:15 -0500 (0:00:00.483) 0:00:12.068 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 30 November 2024 02:19:15 -0500 (0:00:00.004) 0:00:12.072 ***** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "382974843", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "ActiveExitTimestampMonotonic": "380908548", "ActiveState": "active", "After": "systemd-journald.socket system.slice systemd-tmpfiles-setup.service network.target basic.target tmp.mount remote-fs.target -.mount network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:59 EST", "AssertTimestampMonotonic": "380942537", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "2207793000", "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": "Sat 2024-11-30 02:18:59 EST", "ConditionTimestampMonotonic": "380942465", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3851", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "382974731", "ExecMainPID": "14136", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:59 EST", "ExecMainStartTimestampMonotonic": "380947078", "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=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Sat 2024-11-30 02:18:59 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14136 ; 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": "Sat 2024-11-30 02:18:59 EST", "InactiveEnterTimestampMonotonic": "380941817", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:59 EST", "InactiveExitTimestampMonotonic": "380947354", "InvocationID": "1dae34adef3a40d6a2b39603041968fe", "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": "13962", "LimitNPROCSoft": "13962", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13962", "LimitSIGPENDINGSoft": "13962", "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": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "382974843", "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": "22340", "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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 30 November 2024 02:19:32 -0500 (0:00:17.352) 0:00:29.425 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951151.8207793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951152.3517787, "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": 1732951152.3517787, "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": "3398076616", "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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.340) 0:00:29.766 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951156.5947735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8d2090179728bd8c89bdfa5c64253967d911eeb0", "ctime": 1732951152.3527787, "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": 1732951152.3497787, "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": "428871431", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.341) 0:00:30.108 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDUkpIa3V2WDhIL0p2QTJ5MkkwckZ0Y05SUEtab29ia3BvYkxkQ0FKQS9kWXlXT1QxcjdsNTFhaWY3V1VMYUNyOUxUdE51eUF1TGNVYmxrYzFLYXArMjJ6WVN5eVI4RWYvUW90b0NyZFg1Q1k4VjNqNkpZZnpnV2MvbnhHcTR1aXppajR6Szd2dXZKR0REc1VpbmhiSHpmV0xxekhkWGs1WHlsM3Z6Y3NPVDJuTmpYaWJBMTlqaFFYWkJNL0dKSXFzQWFCS1JxZStQdCtUMXZoWUFjbDJWNGNCUFdPbWNRSXNBSXZTNXdPRkk0eUdHb0Zpa3F6ZnBPNHhsU2Q4b1dhRnM5UlRPSHVkbWcyYVhtN2J4dFQ2Q2cyU3N1bGpBNHlpNU02T1pGYnFsRjVBUHJSWWIrK0lxZ3BHNXV6Q2gwdEpqRktWWFU5WFV2Q2lLdDBxZ3poeUZ0dlUzYkdDK1RPWm1aQjdtZ2tadUt4YnBpY0pWUnVMSGJIRi82NURsZlhOSTV5V2ZxVHBMcmhpK1h5WHo5aVJHSlZpaWFpMExYak1Bb0pwV3pwVHJhVXdwRXplUDloazBHMXloTHFES2k1eEF3enU1TzRpSnkxcVE4Z1Z5d08xZFcxRFdqZGc0MVdnY2k4enhValBTZ3cyZHM4cm1wUFpSSFA1YTF5MUtGTlU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.330) 0:00:30.439 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.041) 0:00:30.480 ***** included: /tmp/collections-riP/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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.019) 0:00:30.500 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.016) 0:00:30.517 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.017) 0:00:30.534 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.017) 0:00:30.551 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 30 November 2024 02:19:33 -0500 (0:00:00.030) 0:00:30.582 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 30 November 2024 02:19:35 -0500 (0:00:01.238) 0:00:31.820 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:32 EST", "ActiveEnterTimestampMonotonic": "413595764", "ActiveExitTimestamp": "Sat 2024-11-30 02:19:15 EST", "ActiveExitTimestampMonotonic": "396762736", "ActiveState": "active", "After": "systemd-journald.socket system.slice systemd-tmpfiles-setup.service network.target basic.target tmp.mount remote-fs.target -.mount network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:19:15 EST", "AssertTimestampMonotonic": "396785671", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20474332000", "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": "Sat 2024-11-30 02:19:15 EST", "ConditionTimestampMonotonic": "396785632", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3927", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:32 EST", "ExecMainExitTimestampMonotonic": "413595659", "ExecMainPID": "18555", "ExecMainStartTimestamp": "Sat 2024-11-30 02:19:15 EST", "ExecMainStartTimestampMonotonic": "396798187", "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=[Sat 2024-11-30 02:19:15 EST] ; stop_time=[Sat 2024-11-30 02:19:32 EST] ; pid=18555 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Sat 2024-11-30 02:19:15 EST] ; stop_time=[Sat 2024-11-30 02:19:32 EST] ; pid=18555 ; 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": "Sat 2024-11-30 02:19:15 EST", "InactiveEnterTimestampMonotonic": "396785054", "InactiveExitTimestamp": "Sat 2024-11-30 02:19:15 EST", "InactiveExitTimestampMonotonic": "396798448", "InvocationID": "e1714f16c5b34569b71060d5d98bd6ec", "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": "13962", "LimitNPROCSoft": "13962", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13962", "LimitSIGPENDINGSoft": "13962", "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": "Sat 2024-11-30 02:19:32 EST", "StateChangeTimestampMonotonic": "413595764", "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": "22340", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 30 November 2024 02:19:35 -0500 (0:00:00.480) 0:00:32.300 ***** included: /tmp/collections-riP/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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 30 November 2024 02:19:35 -0500 (0:00:00.041) 0:00:32.342 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 30 November 2024 02:19:35 -0500 (0:00:00.334) 0:00:32.676 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDUkpIa3V2WDhIL0p2QTJ5MkkwckZ0Y05SUEtab29ia3BvYkxkQ0FKQS9kWXlXT1QxcjdsNTFhaWY3V1VMYUNyOUxUdE51eUF1TGNVYmxrYzFLYXArMjJ6WVN5eVI4RWYvUW90b0NyZFg1Q1k4VjNqNkpZZnpnV2MvbnhHcTR1aXppajR6Szd2dXZKR0REc1VpbmhiSHpmV0xxekhkWGs1WHlsM3Z6Y3NPVDJuTmpYaWJBMTlqaFFYWkJNL0dKSXFzQWFCS1JxZStQdCtUMXZoWUFjbDJWNGNCUFdPbWNRSXNBSXZTNXdPRkk0eUdHb0Zpa3F6ZnBPNHhsU2Q4b1dhRnM5UlRPSHVkbWcyYVhtN2J4dFQ2Q2cyU3N1bGpBNHlpNU02T1pGYnFsRjVBUHJSWWIrK0lxZ3BHNXV6Q2gwdEpqRktWWFU5WFV2Q2lLdDBxZ3poeUZ0dlUzYkdDK1RPWm1aQjdtZ2tadUt4YnBpY0pWUnVMSGJIRi82NURsZlhOSTV5V2ZxVHBMcmhpK1h5WHo5aVJHSlZpaWFpMExYak1Bb0pwV3pwVHJhVXdwRXplUDloazBHMXloTHFES2k1eEF3enU1TzRpSnkxcVE4Z1Z5d08xZFcxRFdqZGc0MVdnY2k4enhValBTZ3cyZHM4cm1wUFpSSFA1YTF5MUtGTlU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 30 November 2024 02:19:36 -0500 (0:00:00.332) 0:00:33.009 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 30 November 2024 02:19:36 -0500 (0:00:00.382) 0:00:33.391 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951151.8207793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951152.3517787, "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": 1732951152.3517787, "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": "3398076616", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 30 November 2024 02:19:36 -0500 (0:00:00.343) 0:00:33.735 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951156.5947735, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8d2090179728bd8c89bdfa5c64253967d911eeb0", "ctime": 1732951152.3527787, "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": 1732951152.3497787, "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": "428871431", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 30 November 2024 02:19:37 -0500 (0:00:00.346) 0:00:34.081 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 30 November 2024 02:19:37 -0500 (0:00:00.349) 0:00:34.431 ***** ok: [managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 30 November 2024 02:19:38 -0500 (0:00:00.344) 0:00:34.776 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDMlA0N0RSbFg1VjhTOGp0cmZITlNwZjM3VzhiRHpSNlFWa3A3YjBlQVJMcTYwODZnWG44Y1JOOWl0SnpmV01lenFyZVhnNmM3dkpvdzZYalZzeGtQaWtJcjV5MERDRzQyalYzelZwalFuY21zY0tqN25iTFpEMTBZSFFQenJUcmJSanBMdEVsUHFjQXZ3ckxQeXlvb0lHQ1NOSVBCQkZ6dVQ0bHVWNVloVms0VzViS3F6emk5TE1Bek8vbFp3RXpxN3JnUkdIZWoxcElNWjE5VWplUVZ1YnpoOERHYm5UR0JETlMzSjlZYklTYVlkNFRaVXcxRlNOT0xwRGRiYVR5ZzZpUWI4WE1pbDBDdy80aXlQMXZVNkdyYmxnVUVqTFhUUjhidDRNL0cvck9sN05jSUlyTVlwUGN5ckFJWW1iMW9TVkEwTlVuYTgxWHAzbGZDZHZRd28zVHlDVlp1blZMWW9uWDRpU241L1J1SG0wbk9XTXRLRS9yWEhXYWlTSjZxMEtHdXVvOTJVdi9DL1kwSlQ1cnB4MnJTSnQ4WlZtdlVXeCtnbTVGb0tVV21mbmdxYUlPK20wMDJwUFpEaGx1b0xoYTN0MFk3akRBUUhtNjZNVFBJa1hzekZoU1laWjhmenBaKzQyZzF1clgwTnNZTnJBNWc3enAzNmRIUDdkRFU9IHJvb3RAaXAtMTAtMzEtMTMtMjMxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 30 November 2024 02:19:38 -0500 (0:00:00.334) 0:00:35.111 ***** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.231 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC2P47DRlX5V8S8jtrfHNSpf37W8bDzR6QVkp7b0eARLq6086gXn8cRN9itJzfWMezqreXg6c7vJow6XjVsxkPikIr5y0DCG42jV3zVpjQncmscKj7nbLZD10YHQPzrTrbRjpLtElPqcAvwrLPyyooIGCSNIPBBFzuT4luV5YhVk4W5bKqzzi9LMAzO/lZwEzq7rgRGHej1pIMZ19UjeQVubzh8DGbnTGBDNS3J9YbISaYd4TZUw1FSNOLpDdbaTyg6iQb8XMil0Cw/4iyP1vU6GrblgUEjLXTR8bt4M/G/rOl7NcIIrMYpPcyrAIYmb1oSVA0NUna81Xp3lfCdvQwo3TyCVZunVLYonX4iSn5/RuHm0nOWMtKE/rXHWaiSJ6q0KGuuo92Uv/C/Y0JT5rpx2rSJt8ZVmvUWx+gm5FoKUWmfngqaIO+m002pPZDhluoLha3t0Y7jDAQHm66MTPIkXszFhSYZZ8fzpZ+42g1urX0NsYNrA5g7zp36dHP7dDU= root@ip-10-31-13-231.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.13.231", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 612, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 30 November 2024 02:19:38 -0500 (0:00:00.408) 0:00:35.519 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951155.8267746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9a375e3af23eaec0aec20a34bec13f42773e54ae", "ctime": 1732951154.3527763, "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": 1732951154.353455, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 155, "uid": 0, "version": "1641612487", "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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.350) 0:00:35.870 ***** ok: [managed-node2] => { "changed": false, "checksum": "9a375e3af23eaec0aec20a34bec13f42773e54ae", "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": 155, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.677) 0:00:36.547 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.397) 0:00:36.944 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.030) 0:00:36.975 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.023) 0:00:36.998 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.024) 0:00:37.022 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.023) 0:00:37.046 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.017) 0:00:37.064 ***** 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-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.013) 0:00:37.078 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:32 EST", "ActiveEnterTimestampMonotonic": "413595764", "ActiveExitTimestamp": "Sat 2024-11-30 02:19:15 EST", "ActiveExitTimestampMonotonic": "396762736", "ActiveState": "active", "After": "systemd-journald.socket system.slice systemd-tmpfiles-setup.service network.target basic.target tmp.mount remote-fs.target -.mount network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:19:15 EST", "AssertTimestampMonotonic": "396785671", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "20474332000", "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": "Sat 2024-11-30 02:19:15 EST", "ConditionTimestampMonotonic": "396785632", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "3927", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:32 EST", "ExecMainExitTimestampMonotonic": "413595659", "ExecMainPID": "18555", "ExecMainStartTimestamp": "Sat 2024-11-30 02:19:15 EST", "ExecMainStartTimestampMonotonic": "396798187", "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=[Sat 2024-11-30 02:19:15 EST] ; stop_time=[Sat 2024-11-30 02:19:32 EST] ; pid=18555 ; code=exited ; status=0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[Sat 2024-11-30 02:19:15 EST] ; stop_time=[Sat 2024-11-30 02:19:32 EST] ; pid=18555 ; 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": "Sat 2024-11-30 02:19:15 EST", "InactiveEnterTimestampMonotonic": "396785054", "InactiveExitTimestamp": "Sat 2024-11-30 02:19:15 EST", "InactiveExitTimestampMonotonic": "396798448", "InvocationID": "e1714f16c5b34569b71060d5d98bd6ec", "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": "13962", "LimitNPROCSoft": "13962", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13962", "LimitSIGPENDINGSoft": "13962", "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": "Sat 2024-11-30 02:19:32 EST", "StateChangeTimestampMonotonic": "413595764", "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": "22340", "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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 30 November 2024 02:19:40 -0500 (0:00:00.666) 0:00:37.744 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDUkpIa3V2WDhIL0p2QTJ5MkkwckZ0Y05SUEtab29ia3BvYkxkQ0FKQS9kWXlXT1QxcjdsNTFhaWY3V1VMYUNyOUxUdE51eUF1TGNVYmxrYzFLYXArMjJ6WVN5eVI4RWYvUW90b0NyZFg1Q1k4VjNqNkpZZnpnV2MvbnhHcTR1aXppajR6Szd2dXZKR0REc1VpbmhiSHpmV0xxekhkWGs1WHlsM3Z6Y3NPVDJuTmpYaWJBMTlqaFFYWkJNL0dKSXFzQWFCS1JxZStQdCtUMXZoWUFjbDJWNGNCUFdPbWNRSXNBSXZTNXdPRkk0eUdHb0Zpa3F6ZnBPNHhsU2Q4b1dhRnM5UlRPSHVkbWcyYVhtN2J4dFQ2Q2cyU3N1bGpBNHlpNU02T1pGYnFsRjVBUHJSWWIrK0lxZ3BHNXV6Q2gwdEpqRktWWFU5WFV2Q2lLdDBxZ3poeUZ0dlUzYkdDK1RPWm1aQjdtZ2tadUt4YnBpY0pWUnVMSGJIRi82NURsZlhOSTV5V2ZxVHBMcmhpK1h5WHo5aVJHSlZpaWFpMExYak1Bb0pwV3pwVHJhVXdwRXplUDloazBHMXloTHFES2k1eEF3enU1TzRpSnkxcVE4Z1Z5d08xZFcxRFdqZGc0MVdnY2k4enhValBTZ3cyZHM4cm1wUFpSSFA1YTF5MUtGTlU9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 30 November 2024 02:19:41 -0500 (0:00:00.394) 0:00:38.139 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 30 November 2024 02:19:41 -0500 (0:00:00.024) 0:00:38.163 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951151.8207793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951152.3517787, "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": 1732951152.3517787, "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": "3398076616", "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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 30 November 2024 02:19:41 -0500 (0:00:00.487) 0:00:38.651 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 30 November 2024 02:19:41 -0500 (0:00:00.020) 0:00:38.671 ***** 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-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 30 November 2024 02:19:42 -0500 (0:00:00.510) 0:00:39.182 ***** 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 Saturday 30 November 2024 02:19:42 -0500 (0:00:00.486) 0:00:39.669 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 17.35s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.39s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 1.39s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Install required packages ------------- 1.24s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Create a kdump user on kdump_ssh_server --------------------------------- 1.05s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.83s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Gather facts from managed-node2 ----------------------------------------- 0.79s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.68s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.68s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.68s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.67s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.53s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Delete user ------------------------------------------------------------- 0.51s /tmp/collections-riP/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.51s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Get the ssh dir for the user after -------------------------------------- 0.49s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Cleanup kdump_path ------------------------------------------------------ 0.49s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.48s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.48s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.45s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.43s /tmp/collections-riP/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7