ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ssh_reboot.yml ************************************************* 1 plays in /tmp/collections-ZLi/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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 30 November 2024 02:19:03 -0500 (0:00:00.039) 0:00:00.039 ***** ok: [managed-node2] META: ran handlers TASK [Gather facts from managed-node2] ***************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 30 November 2024 02:19:04 -0500 (0:00:01.192) 0:00:01.231 ***** ok: [managed-node2 -> managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 30 November 2024 02:19:05 -0500 (0:00:00.856) 0:00:02.088 ***** changed: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 30 November 2024 02:19:05 -0500 (0:00:00.806) 0:00:02.894 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 30 November 2024 02:19:05 -0500 (0:00:00.022) 0:00:02.917 ***** skipping: [managed-node2] => {} META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.032) 0:00:02.950 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.700) 0:00:03.650 ***** ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.078) 0:00:03.729 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.111) 0:00:03.840 ***** included: /tmp/collections-ZLi/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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 30 November 2024 02:19:06 -0500 (0:00:00.063) 0:00:03.904 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.053) 0:00:03.957 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.027) 0:00:03.985 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.036) 0:00:04.021 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 30 November 2024 02:19:07 -0500 (0:00:00.074) 0:00:04.096 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 30 November 2024 02:19:10 -0500 (0:00:03.677) 0:00:07.773 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "400057338", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "ActiveExitTimestampMonotonic": "397074401", "ActiveState": "active", "After": "remote-fs.target system.slice network.target basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:58 EST", "AssertTimestampMonotonic": "397108410", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 02:18:58 EST", "ConditionTimestampMonotonic": "397108387", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "400056839", "ExecMainPID": "14825", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:58 EST", "ExecMainStartTimestampMonotonic": "397109248", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14825 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:18:58 EST] ; pid=14817 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveEnterTimestampMonotonic": "397107631", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveExitTimestampMonotonic": "397109282", "InvocationID": "c521d19586974e1bad871c67acc235fa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "400057338", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 30 November 2024 02:19:11 -0500 (0:00:00.926) 0:00:08.699 ***** included: /tmp/collections-ZLi/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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 30 November 2024 02:19:11 -0500 (0:00:00.069) 0:00:08.769 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.594881", "end": "2024-11-30 02:19:12.856763", "rc": 0, "start": "2024-11-30 02:19:12.261882" } 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:HoiFwuL70Xj2JglmOKia4/JoRwckL8enR9QZKxwXZ+k root@managed-node2 The key's randomart image is: +---[RSA 3072]----+ | ..++o. | | o ..ooo+. | |. B oo... | |.o * =.. E | |..+ * . S | |.o.*oo . . | |..=o++. . | |++..+o.. | |O+o. o. | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 30 November 2024 02:19:12 -0500 (0:00:01.075) 0:00:09.844 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FETFc3UFFkNGpiOFJLZHFnZ1RwR3QyOVVqS0lESXhYdGtncHFVSzN2TU9udTBWTERLdVFXb2s5U3FlNzRvcStOZ013NHp2N05LM1pQc3NxYWJjR3dDNWtrZkc5VFhVT1FMZDdEWEZ3ZSswVW1PQjJ6NGhEMGxLTDkvTXVFWVlkRTRpazFRWlM2NndiL1JGcjRiL0ZnSkE2MlhrekJFcWZTUkxmV1ZtclY5TEFzRG9rUlhHOXRUWkpRVFZKdFMrWUY0MU03TlkyZWRhMkYwMnRFYlQ3MEJGTXdiMjgvUUFoV3BydGlmcGNRQXFyWUdyZDkyKzJqcUZNTkhLZmsrYS9xVDVPYUhmUG40SnNLL2o1dDU3K2gwcWVwdTJDaUNiYVRlQkxwUkNPc0lTVFVwNEdKdEptTjl3cDI1Y3lBYmF5MkxQVys4eXVGc0dPWkxpSjVodjdZNlhYR3BzeEYwdmxEWEEzQnFHeG96TURVdDJKNGQ3cExLcjRSeXRuZTFCWXJ0QTdkcithekk5Rnlla0pNU3JwRnJPSGZkRmxJV0JRbUo1MzlZZDRSRVByVUw0elUvcUs0VW4zOVZ3RUt6Y2x3ZkM2cS84YXRCdTIyRktla0RYQW5nd3VOU3ZQZHFsM1hCNHFDVU91b1l6b3I4eXN3TVpNR3NtejdoY25WNFM2dXM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 30 November 2024 02:19:13 -0500 (0:00:00.609) 0:00:10.454 ***** ok: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.484) 0:00:10.938 ***** ok: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.350) 0:00:11.289 ***** ok: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 30 November 2024 02:19:14 -0500 (0:00:00.366) 0:00:11.655 ***** changed: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 30 November 2024 02:19:15 -0500 (0:00:00.505) 0:00:12.160 ***** changed: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 30 November 2024 02:19:15 -0500 (0:00:00.550) 0:00:12.711 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDaXBHTThHTUlMS3V4d0lvM3o1WE9uVTFua3dwdjhQTXJrTXNMYXRXOExuMWttNjJKdExvL3BHWjZ3M3AzOG95NFN4cU5xVHlHVlEzWUtzcUxNL3ZwRjlIL1k5RzBEWDdRVVRsdjdobTJvMnZsc1hEOUpBNnN5OE9FTFAvd1E4aVZSY05NeW44YlFqYjFTckd4WHBBYzUyTHFXbm91L0hlUGhJL3dENVpOeGVDS0dMcHpKZStvbTdjZzVHOXVMd3ovN3Arakp5MWVRV1lHN051aTc5ZjBUYW53dG1lNVU0a1JPbmlkN1lKVmJMb0d5V1V2YmdhTzYzQlV4S3hRQlRzVDVweUs1bk5ISmk1TTNDbC9GMGMxMm5qR3pmWVJBaUFFV2JvLzZxbndhUTVyaTZ4MEw0Y2RzU3NuK1NXSXlLMnJ0M2pXZ0VhVmlXOWtscENsMGt1MFhlK1pEcU1SS2xpZVF2R1BnOFdXUWJnK0ZEZzlnVHdpY3F3MDFDQnFQSUJFc3dOTnhzeVdiOFZCNjY2QlhybnEra01xZU1wRFRNMmQ1KzhVS1dPVW5LZUVXeDUwcFFRQTdRdEo2azZtTWZkdVFhaUp4ZE9tL2NiSjd4LytUN081V2pwKytZYStraHBXU1FMNEQxdVZhRDcrVkdMVy9nR0phMmJCMFI4TEsrSDg9IHJvb3RAaXAtMTAtMzEtOC0xMDEudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 30 November 2024 02:19:16 -0500 (0:00:00.384) 0:00:13.095 ***** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.8.101 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCipGM8GMILKuxwIo3z5XOnU1nkwpv8PMrkMsLatW8Ln1km62JtLo/pGZ6w3p38oy4SxqNqTyGVQ3YKsqLM/vpF9H/Y9G0DX7QUTlv7hm2o2vlsXD9JA6sy8OELP/wQ8iVRcNMyn8bQjb1SrGxXpAc52LqWnou/HePhI/wD5ZNxeCKGLpzJe+om7cg5G9uLwz/7p+jJy1eQWYG7Nui79f0Tanwtme5U4kROnid7YJVbLoGyWUvbgaO63BUxKxQBTsT5pyK5nNHJi5M3Cl/F0c12njGzfYRAiAEWbo/6qnwaQ5ri6x0L4cdsSsn+SWIyK2rt3jWgEaViW9klpCl0ku0Xe+ZDqMRKlieQvGPg8WWQbg+FDg9gTwicqw01CBqPIBEswNNxsyWb8VB666BXrnq+kMqeMpDTM2d5+8UKWOUnKeEWx50pQQA7QtJ6k6mMfduQaiJxdOm/cbJ7x/+T7O5Wjp++Ya+khpWSQL4D1uVaD7+VGLW/gGJa2bB0R8LK+H8= root@ip-10-31-8-101.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.8.101", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 610, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 30 November 2024 02:19:16 -0500 (0:00:00.530) 0:00:13.626 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951136.4071586, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1732951134.0771642, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18874626, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732951133.6611652, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "4142719495", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 30 November 2024 02:19:17 -0500 (0:00:00.350) 0:00:13.976 ***** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.19984.2024-11-30@02:19:17~", "changed": true, "checksum": "e92bb05fbd97ccfdb7f480c58e3129200d96080a", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "417f4756615e601852c2d55abbbaa220", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1732951157.0940819-10052-27300245583381/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 30 November 2024 02:19:17 -0500 (0:00:00.819) 0:00:14.795 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.335) 0:00:15.131 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.021) 0:00:15.152 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.019) 0:00:15.172 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.018) 0:00:15.191 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.018) 0:00:15.209 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.017) 0:00:15.227 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.018) 0:00:15.245 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "400057338", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "ActiveExitTimestampMonotonic": "397074401", "ActiveState": "active", "After": "remote-fs.target system.slice network.target basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:58 EST", "AssertTimestampMonotonic": "397108410", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 02:18:58 EST", "ConditionTimestampMonotonic": "397108387", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "400056839", "ExecMainPID": "14825", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:58 EST", "ExecMainStartTimestampMonotonic": "397109248", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14825 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:18:58 EST] ; pid=14817 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveEnterTimestampMonotonic": "397107631", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveExitTimestampMonotonic": "397109282", "InvocationID": "c521d19586974e1bad871c67acc235fa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "400057338", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 30 November 2024 02:19:18 -0500 (0:00:00.454) 0:00:15.700 ***** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:01 EST", "ActiveEnterTimestampMonotonic": "400057338", "ActiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "ActiveExitTimestampMonotonic": "397074401", "ActiveState": "active", "After": "remote-fs.target system.slice network.target basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:18:58 EST", "AssertTimestampMonotonic": "397108410", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 02:18:58 EST", "ConditionTimestampMonotonic": "397108387", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:01 EST", "ExecMainExitTimestampMonotonic": "400056839", "ExecMainPID": "14825", "ExecMainStartTimestamp": "Sat 2024-11-30 02:18:58 EST", "ExecMainStartTimestampMonotonic": "397109248", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:19:01 EST] ; pid=14825 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:18:58 EST] ; stop_time=[Sat 2024-11-30 02:18:58 EST] ; pid=14817 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveEnterTimestampMonotonic": "397107631", "InactiveExitTimestamp": "Sat 2024-11-30 02:18:58 EST", "InactiveExitTimestampMonotonic": "397109282", "InvocationID": "c521d19586974e1bad871c67acc235fa", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-30 02:19:01 EST", "StateChangeTimestampMonotonic": "400057338", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Get the ssh dir for the user] ******************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 30 November 2024 02:19:37 -0500 (0:00:19.173) 0:00:34.874 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1732951155.1651275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951155.7251275, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 155189440, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1732951155.7251275, "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": "1955946861", "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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 30 November 2024 02:19:38 -0500 (0:00:00.356) 0:00:35.230 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1732951159.4121275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2fe3fac5fa9111880f4f54b6ed03c03e5e8368fc", "ctime": 1732951155.7261274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 157286598, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732951155.7231274, "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": "1298618878", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 30 November 2024 02:19:38 -0500 (0:00:00.356) 0:00:35.587 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FETFc3UFFkNGpiOFJLZHFnZ1RwR3QyOVVqS0lESXhYdGtncHFVSzN2TU9udTBWTERLdVFXb2s5U3FlNzRvcStOZ013NHp2N05LM1pQc3NxYWJjR3dDNWtrZkc5VFhVT1FMZDdEWEZ3ZSswVW1PQjJ6NGhEMGxLTDkvTXVFWVlkRTRpazFRWlM2NndiL1JGcjRiL0ZnSkE2MlhrekJFcWZTUkxmV1ZtclY5TEFzRG9rUlhHOXRUWkpRVFZKdFMrWUY0MU03TlkyZWRhMkYwMnRFYlQ3MEJGTXdiMjgvUUFoV3BydGlmcGNRQXFyWUdyZDkyKzJqcUZNTkhLZmsrYS9xVDVPYUhmUG40SnNLL2o1dDU3K2gwcWVwdTJDaUNiYVRlQkxwUkNPc0lTVFVwNEdKdEptTjl3cDI1Y3lBYmF5MkxQVys4eXVGc0dPWkxpSjVodjdZNlhYR3BzeEYwdmxEWEEzQnFHeG96TURVdDJKNGQ3cExLcjRSeXRuZTFCWXJ0QTdkcithekk5Rnlla0pNU3JwRnJPSGZkRmxJV0JRbUo1MzlZZDRSRVByVUw0elUvcUs0VW4zOVZ3RUt6Y2x3ZkM2cS84YXRCdTIyRktla0RYQW5nd3VOU3ZQZHFsM1hCNHFDVU91b1l6b3I4eXN3TVpNR3NtejdoY25WNFM2dXM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.338) 0:00:35.926 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.033) 0:00:35.959 ***** included: /tmp/collections-ZLi/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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.025) 0:00:35.985 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.020) 0:00:36.005 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.018) 0:00:36.024 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.017) 0:00:36.041 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 30 November 2024 02:19:39 -0500 (0:00:00.041) 0:00:36.083 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 30 November 2024 02:19:41 -0500 (0:00:02.837) 0:00:38.921 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:37 EST", "ActiveEnterTimestampMonotonic": "436890460", "ActiveExitTimestamp": "Sat 2024-11-30 02:19:19 EST", "ActiveExitTimestampMonotonic": "418205267", "ActiveState": "active", "After": "remote-fs.target system.slice network.target basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:19:19 EST", "AssertTimestampMonotonic": "418227979", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 02:19:19 EST", "ConditionTimestampMonotonic": "418227920", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:37 EST", "ExecMainExitTimestampMonotonic": "436889923", "ExecMainPID": "20376", "ExecMainStartTimestamp": "Sat 2024-11-30 02:19:19 EST", "ExecMainStartTimestampMonotonic": "418228853", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:19:19 EST] ; stop_time=[Sat 2024-11-30 02:19:37 EST] ; pid=20376 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:19:19 EST] ; stop_time=[Sat 2024-11-30 02:19:19 EST] ; pid=20367 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 02:19:19 EST", "InactiveEnterTimestampMonotonic": "418226989", "InactiveExitTimestamp": "Sat 2024-11-30 02:19:19 EST", "InactiveExitTimestampMonotonic": "418228888", "InvocationID": "24fb09bbf79342029070ce6ccfd0ba44", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-30 02:19:37 EST", "StateChangeTimestampMonotonic": "436890460", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 30 November 2024 02:19:42 -0500 (0:00:00.469) 0:00:39.391 ***** included: /tmp/collections-ZLi/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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 30 November 2024 02:19:42 -0500 (0:00:00.054) 0:00:39.445 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "rc": 0 } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 30 November 2024 02:19:42 -0500 (0:00:00.339) 0:00:39.785 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FETFc3UFFkNGpiOFJLZHFnZ1RwR3QyOVVqS0lESXhYdGtncHFVSzN2TU9udTBWTERLdVFXb2s5U3FlNzRvcStOZ013NHp2N05LM1pQc3NxYWJjR3dDNWtrZkc5VFhVT1FMZDdEWEZ3ZSswVW1PQjJ6NGhEMGxLTDkvTXVFWVlkRTRpazFRWlM2NndiL1JGcjRiL0ZnSkE2MlhrekJFcWZTUkxmV1ZtclY5TEFzRG9rUlhHOXRUWkpRVFZKdFMrWUY0MU03TlkyZWRhMkYwMnRFYlQ3MEJGTXdiMjgvUUFoV3BydGlmcGNRQXFyWUdyZDkyKzJqcUZNTkhLZmsrYS9xVDVPYUhmUG40SnNLL2o1dDU3K2gwcWVwdTJDaUNiYVRlQkxwUkNPc0lTVFVwNEdKdEptTjl3cDI1Y3lBYmF5MkxQVys4eXVGc0dPWkxpSjVodjdZNlhYR3BzeEYwdmxEWEEzQnFHeG96TURVdDJKNGQ3cExLcjRSeXRuZTFCWXJ0QTdkcithekk5Rnlla0pNU3JwRnJPSGZkRmxJV0JRbUo1MzlZZDRSRVByVUw0elUvcUs0VW4zOVZ3RUt6Y2x3ZkM2cS84YXRCdTIyRktla0RYQW5nd3VOU3ZQZHFsM1hCNHFDVU91b1l6b3I4eXN3TVpNR3NtejdoY25WNFM2dXM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 30 November 2024 02:19:43 -0500 (0:00:00.346) 0:00:40.131 ***** ok: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 30 November 2024 02:19:43 -0500 (0:00:00.390) 0:00:40.522 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1732951155.1651275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951155.7251275, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 155189440, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1732951155.7251275, "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": "1955946861", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 30 November 2024 02:19:43 -0500 (0:00:00.360) 0:00:40.883 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1732951159.4121275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2fe3fac5fa9111880f4f54b6ed03c03e5e8368fc", "ctime": 1732951155.7261274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 157286598, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732951155.7231274, "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": "1298618878", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 30 November 2024 02:19:44 -0500 (0:00:00.363) 0:00:41.246 ***** ok: [managed-node2 -> 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 30 November 2024 02:19:44 -0500 (0:00:00.364) 0:00:41.610 ***** ok: [managed-node2 -> managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 30 November 2024 02:19:45 -0500 (0:00:00.358) 0:00:41.969 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDaXBHTThHTUlMS3V4d0lvM3o1WE9uVTFua3dwdjhQTXJrTXNMYXRXOExuMWttNjJKdExvL3BHWjZ3M3AzOG95NFN4cU5xVHlHVlEzWUtzcUxNL3ZwRjlIL1k5RzBEWDdRVVRsdjdobTJvMnZsc1hEOUpBNnN5OE9FTFAvd1E4aVZSY05NeW44YlFqYjFTckd4WHBBYzUyTHFXbm91L0hlUGhJL3dENVpOeGVDS0dMcHpKZStvbTdjZzVHOXVMd3ovN3Arakp5MWVRV1lHN051aTc5ZjBUYW53dG1lNVU0a1JPbmlkN1lKVmJMb0d5V1V2YmdhTzYzQlV4S3hRQlRzVDVweUs1bk5ISmk1TTNDbC9GMGMxMm5qR3pmWVJBaUFFV2JvLzZxbndhUTVyaTZ4MEw0Y2RzU3NuK1NXSXlLMnJ0M2pXZ0VhVmlXOWtscENsMGt1MFhlK1pEcU1SS2xpZVF2R1BnOFdXUWJnK0ZEZzlnVHdpY3F3MDFDQnFQSUJFc3dOTnhzeVdiOFZCNjY2QlhybnEra01xZU1wRFRNMmQ1KzhVS1dPVW5LZUVXeDUwcFFRQTdRdEo2azZtTWZkdVFhaUp4ZE9tL2NiSjd4LytUN081V2pwKytZYStraHBXU1FMNEQxdVZhRDcrVkdMVy9nR0phMmJCMFI4TEsrSDg9IHJvb3RAaXAtMTAtMzEtOC0xMDEudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 30 November 2024 02:19:45 -0500 (0:00:00.335) 0:00:42.304 ***** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.8.101 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCipGM8GMILKuxwIo3z5XOnU1nkwpv8PMrkMsLatW8Ln1km62JtLo/pGZ6w3p38oy4SxqNqTyGVQ3YKsqLM/vpF9H/Y9G0DX7QUTlv7hm2o2vlsXD9JA6sy8OELP/wQ8iVRcNMyn8bQjb1SrGxXpAc52LqWnou/HePhI/wD5ZNxeCKGLpzJe+om7cg5G9uLwz/7p+jJy1eQWYG7Nui79f0Tanwtme5U4kROnid7YJVbLoGyWUvbgaO63BUxKxQBTsT5pyK5nNHJi5M3Cl/F0c12njGzfYRAiAEWbo/6qnwaQ5ri6x0L4cdsSsn+SWIyK2rt3jWgEaViW9klpCl0ku0Xe+ZDqMRKlieQvGPg8WWQbg+FDg9gTwicqw01CBqPIBEswNNxsyWb8VB666BXrnq+kMqeMpDTM2d5+8UKWOUnKeEWx50pQQA7QtJ6k6mMfduQaiJxdOm/cbJ7x/+T7O5Wjp++Ya+khpWSQL4D1uVaD7+VGLW/gGJa2bB0R8LK+H8= root@ip-10-31-8-101.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.8.101", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 610, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 30 November 2024 02:19:45 -0500 (0:00:00.390) 0:00:42.695 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1732951159.2331274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e92bb05fbd97ccfdb7f480c58e3129200d96080a", "ctime": 1732951157.8151274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 174063874, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732951157.4341273, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "357736831", "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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 30 November 2024 02:19:46 -0500 (0:00:00.347) 0:00:43.043 ***** ok: [managed-node2] => { "changed": false, "checksum": "e92bb05fbd97ccfdb7f480c58e3129200d96080a", "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": 120, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 30 November 2024 02:19:46 -0500 (0:00:00.635) 0:00:43.678 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.334) 0:00:44.012 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.020) 0:00:44.032 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.017) 0:00:44.050 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.016) 0:00:44.067 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.017) 0:00:44.085 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.016) 0:00:44.102 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.016) 0:00:44.118 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-30 02:19:37 EST", "ActiveEnterTimestampMonotonic": "436890460", "ActiveExitTimestamp": "Sat 2024-11-30 02:19:19 EST", "ActiveExitTimestampMonotonic": "418205267", "ActiveState": "active", "After": "remote-fs.target system.slice network.target basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-30 02:19:19 EST", "AssertTimestampMonotonic": "418227979", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-30 02:19:19 EST", "ConditionTimestampMonotonic": "418227920", "ConfigurationDirectoryMode": "0755", "ControlPID": "0", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-11-30 02:19:37 EST", "ExecMainExitTimestampMonotonic": "436889923", "ExecMainPID": "20376", "ExecMainStartTimestamp": "Sat 2024-11-30 02:19:19 EST", "ExecMainStartTimestampMonotonic": "418228853", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:19:19 EST] ; stop_time=[Sat 2024-11-30 02:19:37 EST] ; pid=20376 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-11-30 02:19:19 EST] ; stop_time=[Sat 2024-11-30 02:19:19 EST] ; pid=20367 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-30 02:19:19 EST", "InactiveEnterTimestampMonotonic": "418226989", "InactiveExitTimestamp": "Sat 2024-11-30 02:19:19 EST", "InactiveExitTimestampMonotonic": "418228888", "InvocationID": "24fb09bbf79342029070ce6ccfd0ba44", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-11-30 02:19:37 EST", "StateChangeTimestampMonotonic": "436890460", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get the authorized_keys contents after] ********************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.467) 0:00:44.586 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FETFc3UFFkNGpiOFJLZHFnZ1RwR3QyOVVqS0lESXhYdGtncHFVSzN2TU9udTBWTERLdVFXb2s5U3FlNzRvcStOZ013NHp2N05LM1pQc3NxYWJjR3dDNWtrZkc5VFhVT1FMZDdEWEZ3ZSswVW1PQjJ6NGhEMGxLTDkvTXVFWVlkRTRpazFRWlM2NndiL1JGcjRiL0ZnSkE2MlhrekJFcWZTUkxmV1ZtclY5TEFzRG9rUlhHOXRUWkpRVFZKdFMrWUY0MU03TlkyZWRhMkYwMnRFYlQ3MEJGTXdiMjgvUUFoV3BydGlmcGNRQXFyWUdyZDkyKzJqcUZNTkhLZmsrYS9xVDVPYUhmUG40SnNLL2o1dDU3K2gwcWVwdTJDaUNiYVRlQkxwUkNPc0lTVFVwNEdKdEptTjl3cDI1Y3lBYmF5MkxQVys4eXVGc0dPWkxpSjVodjdZNlhYR3BzeEYwdmxEWEEzQnFHeG96TURVdDJKNGQ3cExLcjRSeXRuZTFCWXJ0QTdkcithekk5Rnlla0pNU3JwRnJPSGZkRmxJV0JRbUo1MzlZZDRSRVByVUw0elUvcUs0VW4zOVZ3RUt6Y2x3ZkM2cS84YXRCdTIyRktla0RYQW5nd3VOU3ZQZHFsM1hCNHFDVU91b1l6b3I4eXN3TVpNR3NtejdoY25WNFM2dXM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 30 November 2024 02:19:47 -0500 (0:00:00.335) 0:00:44.922 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 30 November 2024 02:19:48 -0500 (0:00:00.027) 0:00:44.949 ***** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1732951155.1651275, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1732951155.7251275, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 155189440, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1732951155.7251275, "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": "1955946861", "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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 30 November 2024 02:19:48 -0500 (0:00:00.345) 0:00:45.294 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 30 November 2024 02:19:48 -0500 (0:00:00.026) 0:00:45.321 ***** 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-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 30 November 2024 02:19:48 -0500 (0:00:00.446) 0:00:45.768 ***** changed: [managed-node2 -> managed-node2] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=52 changed=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Saturday 30 November 2024 02:19:49 -0500 (0:00:00.354) 0:00:46.123 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.17s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 2.84s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 1.08s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Gather facts from managed-node2 ----------------------------------------- 0.86s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Create a kdump user on kdump_ssh_server --------------------------------- 0.81s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Check if system is ostree ----------------------------------------------- 0.70s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.64s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.61s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.55s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.53s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.51s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.48s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.47s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.47s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Delete user ------------------------------------------------------------- 0.45s /tmp/collections-ZLi/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.39s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.39s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.38s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.37s /tmp/collections-ZLi/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30