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-JEC/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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 26 October 2024 03:19:37 -0400 (0:00:00.091) 0:00:00.091 ****** ok: [managed-node2] META: ran handlers TASK [Gather facts from managed-node2] ***************************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 26 October 2024 03:19:39 -0400 (0:00:01.529) 0:00:01.620 ****** ok: [managed-node2 -> managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 26 October 2024 03:19:39 -0400 (0:00:00.794) 0:00:02.415 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 26 October 2024 03:19:40 -0400 (0:00:00.734) 0:00:03.149 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 26 October 2024 03:19:40 -0400 (0:00:00.044) 0:00:03.194 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 26 October 2024 03:19:40 -0400 (0:00:00.042) 0:00:03.236 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.512) 0:00:03.748 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.027) 0:00:03.775 ****** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.035) 0:00:03.811 ****** included: /tmp/collections-JEC/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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.023) 0:00:03.834 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.017) 0:00:03.852 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.014) 0:00:03.867 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.014) 0:00:03.881 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 26 October 2024 03:19:41 -0400 (0:00:00.037) 0:00:03.919 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 26 October 2024 03:19:44 -0400 (0:00:03.018) 0:00:06.938 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-10-26 03:19:35 EDT", "ActiveEnterTimestampMonotonic": "400743795", "ActiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ActiveExitTimestampMonotonic": "398136204", "ActiveState": "active", "After": "system.slice network.target remote-fs.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 03:19:33 EDT", "AssertTimestampMonotonic": "398169681", "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-10-26 03:19:33 EDT", "ConditionTimestampMonotonic": "398169658", "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-10-26 03:19:35 EDT", "ExecMainExitTimestampMonotonic": "400743363", "ExecMainPID": "14803", "ExecMainStartTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ExecMainStartTimestampMonotonic": "398170554", "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-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:35 EDT] ; pid=14803 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:33 EDT] ; pid=14795 ; 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-10-26 03:19:33 EDT", "InactiveEnterTimestampMonotonic": "398168840", "InactiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "InactiveExitTimestampMonotonic": "398170586", "InvocationID": "a5a8987bca9d414a881a15248d88630f", "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-10-26 03:19:35 EDT", "StateChangeTimestampMonotonic": "400743795", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 26 October 2024 03:19:45 -0400 (0:00:00.730) 0:00:07.668 ****** included: /tmp/collections-JEC/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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 26 October 2024 03:19:45 -0400 (0:00:00.052) 0:00:07.720 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.497819", "end": "2024-10-26 03:19:46.026663", "rc": 0, "start": "2024-10-26 03:19:45.528844" } 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:r5t6YrG7VtdgMkzlwmRnXaBV/vQ6CNCtcTkakdcxHao root@managed-node2 The key's randomart image is: +---[RSA 3072]----+ | o.=oo==+.| | +.=.=ooo..| | o+ *.=.. .| | +oo*.. o.| | S++E o| | . ...... . | | + .. . o | | = .o . | | o+*+. | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 26 October 2024 03:19:46 -0400 (0:00:00.970) 0:00:08.691 ****** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM3pqemkyUjg5ZFNVYXhrV0xpa0VQMDR5SzNEQ2FKbDV0ajFzWFMvMkdrVHhSR25rdndBcGpoZkwrQkpuTS9oRmFQQWlpMTFuOEpRaUJHMWRaUEdHRW91ZWluckowYXpobzRmdnpYT2t3SHFya0FoVVI4SU1mSU1wdm04WEd6M2ZaNWd5b1FHd3o1bTZiWXowMTI0NlZKU0JDN2ZZVkFvU2wrM2tVTmk0MkpuaVV0MXA5UkRWU3RVQTdpbUtiakUwYk93ek9sbHl4TlI4bTkwcUx1dnhiWFQvQ0lOQ0Z6RHlIRnVBeDBzQ0NpTU1qNU1uR1pwNzVLYWUxM2poZUJFNDdMc0YwNExERHlJbUtpMXZOOXRWbHRSRzQwcmZFaGdBaWlnQ2JET3EyM2RSL0lNaWd3ZlAyNVhEWndiYlZKK2JreU1lamZRMnVWdjFXVDJYZERpTHM4ODVEejR0TGZjbXh1S2Z6SGFMZHg1ZVpheTU5WmxCQVZGZGZPTUVKeXpWZ0Y3U3pMT291SGVCSkZoREwxOWdvc1lObFB4WTZKZmxsUFdWc3VrN2ZiS2x0b0w2WEhOT05iSUx6UndGTkM4bm1oSEJqUmJtOUxmTjU0akdSQkdDVDZrQlV4aGJ1eU1USFdRMjR6R2c2RUNqRU5sdE4zWDBxSDJxU25xbDkyc0U9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 26 October 2024 03:19:46 -0400 (0:00:00.525) 0:00:09.216 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 26 October 2024 03:19:47 -0400 (0:00:00.407) 0:00:09.624 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 26 October 2024 03:19:47 -0400 (0:00:00.359) 0:00:09.983 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 26 October 2024 03:19:47 -0400 (0:00:00.351) 0:00:10.335 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 26 October 2024 03:19:48 -0400 (0:00:00.487) 0:00:10.822 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 26 October 2024 03:19:48 -0400 (0:00:00.478) 0:00:11.300 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZVZXRmdlYmhiRHpPYjV5MGI4RDlHaUlzbEt0OFpJdy96QU5ndEFvclZEa0hEM2FBcmdocmxuTzlVbXpYM01KMVlyVkhnYVNVN0dxYTkzSWdpdVd3THNpMVBPdEFTc3NuMnNUQU5MM1pYRVV0TTVXZFpXZENvVTlEc0hxbTY4cGRreThMeVhEWFF5NUwrS0J5RCsxQlgwcFo5Tk9FVm5CZ3dQdHJoRVdqT1dxVXJIbzN2ME1vR3IwdHc2RmVrYnk1Q1ppSkdtU0haNjhTSHE1azRTRnlpdlJON2p0bHNXT2p3dFN2NFJaNGs5QWlKMnhZTlZ5Y1pzcnVKMEtBdjB5Y3RqUVZtQXVNUEZIS1V1RWxkTUpab1JYdCtXeWFac0c5ZGNlWmJybWw1dHNVVVh1allaUWVFa3BxL0RtSzNZb0dCOVJpRWJQZWtFa1BRaXNpUFNNUDB5ell6VkJWQy9hazhGa3ZGQWxSTTVZQ0lUVjd2bENZeW8vYlZOWFBhNFQ4REF3S2tMVU1JUXFaWUJxRGc1UFNUc2VQZXZhdkxjdFB1UFlyQlN1TFIydWlWTDFtTTNRei81R3BJM28rZlFLM0ZoeUVwc0dlcnpIbjdxOWFNSnhTU1BDMWpPWFFFMlpGWlhCblBMY2J4am0yYlhZbjdyMWVGcHppN0ljRWpCOWM9IHJvb3RAaXAtMTAtMzEtOS0yMzEudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 26 October 2024 03:19:49 -0400 (0:00:00.334) 0:00:11.634 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.231 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDeVWFgebhbDzOb5y0b8D9GiIslKt8ZIw/zANgtAorVDkHD3aArghrlnO9UmzX3MJ1YrVHgaSU7Gqa93IgiuWwLsi1POtASssn2sTANL3ZXEUtM5WdZWdCoU9DsHqm68pdky8LyXDXQy5L+KByD+1BX0pZ9NOEVnBgwPtrhEWjOWqUrHo3v0MoGr0tw6Fekby5CZiJGmSHZ68SHq5k4SFyivRN7jtlsWOjwtSv4RZ4k9AiJ2xYNVycZsruJ0KAv0yctjQVmAuMPFHKUuEldMJZoRXt+WyaZsG9dceZbrml5tsUUXujYZQeEkpq/DmK3YoGB9RiEbPekEkPQisiPSMP0yzYzVBVC/ak8FkvFAlRM5YCITV7vlCYyo/bVNXPa4T8DAwKkLUMIQqZYBqDg5PSTsePevavLctPuPYrBSuLR2uiVL1mM3Qz/5GpI3o+fQK3FhyEpsGerzHn7q9aMJxSSPC1jOXQE2ZFZXBnPLcbxjm2bXYn7r1eFpzi7IcEjB9c= root@ip-10-31-9-231.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.9.231", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 26 October 2024 03:19:49 -0400 (0:00:00.546) 0:00:12.181 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729927171.7066464, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1729927169.646625, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 29360386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729927169.2826211, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "2526667817", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 26 October 2024 03:19:49 -0400 (0:00:00.365) 0:00:12.547 ****** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.19960.2024-10-26@03:19:50~", "changed": true, "checksum": "90ba6a573d36fe08fe40a128fc5827e26e334237", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "4d15022f7d11332cd49cb23f84ed066e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1729927189.9986725-9957-261794381816783/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 26 October 2024 03:19:50 -0400 (0:00:00.877) 0:00:13.425 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.378) 0:00:13.803 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.027) 0:00:13.830 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.019) 0:00:13.850 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.017) 0:00:13.868 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.017) 0:00:13.886 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.020) 0:00:13.907 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.022) 0:00:13.929 ****** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-26 03:19:35 EDT", "ActiveEnterTimestampMonotonic": "400743795", "ActiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ActiveExitTimestampMonotonic": "398136204", "ActiveState": "active", "After": "system.slice network.target remote-fs.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 03:19:33 EDT", "AssertTimestampMonotonic": "398169681", "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-10-26 03:19:33 EDT", "ConditionTimestampMonotonic": "398169658", "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-10-26 03:19:35 EDT", "ExecMainExitTimestampMonotonic": "400743363", "ExecMainPID": "14803", "ExecMainStartTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ExecMainStartTimestampMonotonic": "398170554", "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-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:35 EDT] ; pid=14803 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:33 EDT] ; pid=14795 ; 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-10-26 03:19:33 EDT", "InactiveEnterTimestampMonotonic": "398168840", "InactiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "InactiveExitTimestampMonotonic": "398170586", "InvocationID": "a5a8987bca9d414a881a15248d88630f", "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-10-26 03:19:35 EDT", "StateChangeTimestampMonotonic": "400743795", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 26 October 2024 03:19:51 -0400 (0:00:00.512) 0:00:14.442 ****** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-26 03:19:35 EDT", "ActiveEnterTimestampMonotonic": "400743795", "ActiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ActiveExitTimestampMonotonic": "398136204", "ActiveState": "active", "After": "system.slice network.target remote-fs.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 03:19:33 EDT", "AssertTimestampMonotonic": "398169681", "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-10-26 03:19:33 EDT", "ConditionTimestampMonotonic": "398169658", "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-10-26 03:19:35 EDT", "ExecMainExitTimestampMonotonic": "400743363", "ExecMainPID": "14803", "ExecMainStartTimestamp": "Sat 2024-10-26 03:19:33 EDT", "ExecMainStartTimestampMonotonic": "398170554", "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-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:35 EDT] ; pid=14803 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-26 03:19:33 EDT] ; stop_time=[Sat 2024-10-26 03:19:33 EDT] ; pid=14795 ; 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-10-26 03:19:33 EDT", "InactiveEnterTimestampMonotonic": "398168840", "InactiveExitTimestamp": "Sat 2024-10-26 03:19:33 EDT", "InactiveExitTimestampMonotonic": "398170586", "InvocationID": "a5a8987bca9d414a881a15248d88630f", "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-10-26 03:19:35 EDT", "StateChangeTimestampMonotonic": "400743795", "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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 26 October 2024 03:20:11 -0400 (0:00:19.402) 0:00:33.845 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1729927188.1647995, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1729927188.6448033, "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": 1729927188.6448033, "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": "2105120700", "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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 26 October 2024 03:20:11 -0400 (0:00:00.357) 0:00:34.202 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1729927192.4968338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "df32dddb26bbdc69017c7bf8728d63e1a1dc8d1a", "ctime": 1729927188.6468031, "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": 1729927188.6428032, "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": "137421348", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 26 October 2024 03:20:11 -0400 (0:00:00.358) 0:00:34.561 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM3pqemkyUjg5ZFNVYXhrV0xpa0VQMDR5SzNEQ2FKbDV0ajFzWFMvMkdrVHhSR25rdndBcGpoZkwrQkpuTS9oRmFQQWlpMTFuOEpRaUJHMWRaUEdHRW91ZWluckowYXpobzRmdnpYT2t3SHFya0FoVVI4SU1mSU1wdm04WEd6M2ZaNWd5b1FHd3o1bTZiWXowMTI0NlZKU0JDN2ZZVkFvU2wrM2tVTmk0MkpuaVV0MXA5UkRWU3RVQTdpbUtiakUwYk93ek9sbHl4TlI4bTkwcUx1dnhiWFQvQ0lOQ0Z6RHlIRnVBeDBzQ0NpTU1qNU1uR1pwNzVLYWUxM2poZUJFNDdMc0YwNExERHlJbUtpMXZOOXRWbHRSRzQwcmZFaGdBaWlnQ2JET3EyM2RSL0lNaWd3ZlAyNVhEWndiYlZKK2JreU1lamZRMnVWdjFXVDJYZERpTHM4ODVEejR0TGZjbXh1S2Z6SGFMZHg1ZVpheTU5WmxCQVZGZGZPTUVKeXpWZ0Y3U3pMT291SGVCSkZoREwxOWdvc1lObFB4WTZKZmxsUFdWc3VrN2ZiS2x0b0w2WEhOT05iSUx6UndGTkM4bm1oSEJqUmJtOUxmTjU0akdSQkdDVDZrQlV4aGJ1eU1USFdRMjR6R2c2RUNqRU5sdE4zWDBxSDJxU25xbDkyc0U9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.343) 0:00:34.905 ****** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.032) 0:00:34.937 ****** included: /tmp/collections-JEC/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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.023) 0:00:34.961 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.017) 0:00:34.978 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.015) 0:00:34.993 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.014) 0:00:35.008 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 26 October 2024 03:20:12 -0400 (0:00:00.036) 0:00:35.045 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 26 October 2024 03:20:15 -0400 (0:00:02.894) 0:00:37.939 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-10-26 03:20:11 EDT", "ActiveEnterTimestampMonotonic": "436197428", "ActiveExitTimestamp": "Sat 2024-10-26 03:19:52 EDT", "ActiveExitTimestampMonotonic": "417309945", "ActiveState": "active", "After": "system.slice network.target remote-fs.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 03:19:52 EDT", "AssertTimestampMonotonic": "417333335", "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-10-26 03:19:52 EDT", "ConditionTimestampMonotonic": "417333313", "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-10-26 03:20:11 EDT", "ExecMainExitTimestampMonotonic": "436197138", "ExecMainPID": "20352", "ExecMainStartTimestamp": "Sat 2024-10-26 03:19:52 EDT", "ExecMainStartTimestampMonotonic": "417334198", "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-10-26 03:19:52 EDT] ; stop_time=[Sat 2024-10-26 03:20:11 EDT] ; pid=20352 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-26 03:19:52 EDT] ; stop_time=[Sat 2024-10-26 03:19:52 EDT] ; pid=20343 ; 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-10-26 03:19:52 EDT", "InactiveEnterTimestampMonotonic": "417332497", "InactiveExitTimestamp": "Sat 2024-10-26 03:19:52 EDT", "InactiveExitTimestampMonotonic": "417334230", "InvocationID": "3bf4a3a1518f424a8872a05a65f9697e", "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-10-26 03:20:11 EDT", "StateChangeTimestampMonotonic": "436197428", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 26 October 2024 03:20:15 -0400 (0:00:00.483) 0:00:38.422 ****** included: /tmp/collections-JEC/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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 26 October 2024 03:20:15 -0400 (0:00:00.050) 0:00:38.473 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 26 October 2024 03:20:16 -0400 (0:00:00.344) 0:00:38.818 ****** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM3pqemkyUjg5ZFNVYXhrV0xpa0VQMDR5SzNEQ2FKbDV0ajFzWFMvMkdrVHhSR25rdndBcGpoZkwrQkpuTS9oRmFQQWlpMTFuOEpRaUJHMWRaUEdHRW91ZWluckowYXpobzRmdnpYT2t3SHFya0FoVVI4SU1mSU1wdm04WEd6M2ZaNWd5b1FHd3o1bTZiWXowMTI0NlZKU0JDN2ZZVkFvU2wrM2tVTmk0MkpuaVV0MXA5UkRWU3RVQTdpbUtiakUwYk93ek9sbHl4TlI4bTkwcUx1dnhiWFQvQ0lOQ0Z6RHlIRnVBeDBzQ0NpTU1qNU1uR1pwNzVLYWUxM2poZUJFNDdMc0YwNExERHlJbUtpMXZOOXRWbHRSRzQwcmZFaGdBaWlnQ2JET3EyM2RSL0lNaWd3ZlAyNVhEWndiYlZKK2JreU1lamZRMnVWdjFXVDJYZERpTHM4ODVEejR0TGZjbXh1S2Z6SGFMZHg1ZVpheTU5WmxCQVZGZGZPTUVKeXpWZ0Y3U3pMT291SGVCSkZoREwxOWdvc1lObFB4WTZKZmxsUFdWc3VrN2ZiS2x0b0w2WEhOT05iSUx6UndGTkM4bm1oSEJqUmJtOUxmTjU0akdSQkdDVDZrQlV4aGJ1eU1USFdRMjR6R2c2RUNqRU5sdE4zWDBxSDJxU25xbDkyc0U9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 26 October 2024 03:20:16 -0400 (0:00:00.344) 0:00:39.162 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 26 October 2024 03:20:16 -0400 (0:00:00.423) 0:00:39.585 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1729927188.1647995, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1729927188.6448033, "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": 1729927188.6448033, "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": "2105120700", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 26 October 2024 03:20:17 -0400 (0:00:00.417) 0:00:40.003 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1729927192.4968338, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "df32dddb26bbdc69017c7bf8728d63e1a1dc8d1a", "ctime": 1729927188.6468031, "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": 1729927188.6428032, "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": "137421348", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 26 October 2024 03:20:17 -0400 (0:00:00.469) 0:00:40.472 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 26 October 2024 03:20:18 -0400 (0:00:00.510) 0:00:40.983 ****** ok: [managed-node2 -> managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 26 October 2024 03:20:18 -0400 (0:00:00.435) 0:00:41.418 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZVZXRmdlYmhiRHpPYjV5MGI4RDlHaUlzbEt0OFpJdy96QU5ndEFvclZEa0hEM2FBcmdocmxuTzlVbXpYM01KMVlyVkhnYVNVN0dxYTkzSWdpdVd3THNpMVBPdEFTc3NuMnNUQU5MM1pYRVV0TTVXZFpXZENvVTlEc0hxbTY4cGRreThMeVhEWFF5NUwrS0J5RCsxQlgwcFo5Tk9FVm5CZ3dQdHJoRVdqT1dxVXJIbzN2ME1vR3IwdHc2RmVrYnk1Q1ppSkdtU0haNjhTSHE1azRTRnlpdlJON2p0bHNXT2p3dFN2NFJaNGs5QWlKMnhZTlZ5Y1pzcnVKMEtBdjB5Y3RqUVZtQXVNUEZIS1V1RWxkTUpab1JYdCtXeWFac0c5ZGNlWmJybWw1dHNVVVh1allaUWVFa3BxL0RtSzNZb0dCOVJpRWJQZWtFa1BRaXNpUFNNUDB5ell6VkJWQy9hazhGa3ZGQWxSTTVZQ0lUVjd2bENZeW8vYlZOWFBhNFQ4REF3S2tMVU1JUXFaWUJxRGc1UFNUc2VQZXZhdkxjdFB1UFlyQlN1TFIydWlWTDFtTTNRei81R3BJM28rZlFLM0ZoeUVwc0dlcnpIbjdxOWFNSnhTU1BDMWpPWFFFMlpGWlhCblBMY2J4am0yYlhZbjdyMWVGcHppN0ljRWpCOWM9IHJvb3RAaXAtMTAtMzEtOS0yMzEudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 26 October 2024 03:20:19 -0400 (0:00:00.478) 0:00:41.897 ****** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.231 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDeVWFgebhbDzOb5y0b8D9GiIslKt8ZIw/zANgtAorVDkHD3aArghrlnO9UmzX3MJ1YrVHgaSU7Gqa93IgiuWwLsi1POtASssn2sTANL3ZXEUtM5WdZWdCoU9DsHqm68pdky8LyXDXQy5L+KByD+1BX0pZ9NOEVnBgwPtrhEWjOWqUrHo3v0MoGr0tw6Fekby5CZiJGmSHZ68SHq5k4SFyivRN7jtlsWOjwtSv4RZ4k9AiJ2xYNVycZsruJ0KAv0yctjQVmAuMPFHKUuEldMJZoRXt+WyaZsG9dceZbrml5tsUUXujYZQeEkpq/DmK3YoGB9RiEbPekEkPQisiPSMP0yzYzVBVC/ak8FkvFAlRM5YCITV7vlCYyo/bVNXPa4T8DAwKkLUMIQqZYBqDg5PSTsePevavLctPuPYrBSuLR2uiVL1mM3Qz/5GpI3o+fQK3FhyEpsGerzHn7q9aMJxSSPC1jOXQE2ZFZXBnPLcbxjm2bXYn7r1eFpzi7IcEjB9c= root@ip-10-31-9-231.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.9.231", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 26 October 2024 03:20:19 -0400 (0:00:00.527) 0:00:42.425 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729927192.3288326, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "90ba6a573d36fe08fe40a128fc5827e26e334237", "ctime": 1729927190.75982, "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": 1729927190.3748171, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "2961413397", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 26 October 2024 03:20:20 -0400 (0:00:00.495) 0:00:42.921 ****** ok: [managed-node2] => { "changed": false, "checksum": "90ba6a573d36fe08fe40a128fc5827e26e334237", "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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 26 October 2024 03:20:21 -0400 (0:00:01.030) 0:00:43.951 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.481) 0:00:44.433 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.020) 0:00:44.453 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.017) 0:00:44.471 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.015) 0:00:44.486 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.015) 0:00:44.501 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.015) 0:00:44.517 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 26 October 2024 03:20:21 -0400 (0:00:00.015) 0:00:44.532 ****** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-26 03:20:11 EDT", "ActiveEnterTimestampMonotonic": "436197428", "ActiveExitTimestamp": "Sat 2024-10-26 03:19:52 EDT", "ActiveExitTimestampMonotonic": "417309945", "ActiveState": "active", "After": "system.slice network.target remote-fs.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-26 03:19:52 EDT", "AssertTimestampMonotonic": "417333335", "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-10-26 03:19:52 EDT", "ConditionTimestampMonotonic": "417333313", "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-10-26 03:20:11 EDT", "ExecMainExitTimestampMonotonic": "436197138", "ExecMainPID": "20352", "ExecMainStartTimestamp": "Sat 2024-10-26 03:19:52 EDT", "ExecMainStartTimestampMonotonic": "417334198", "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-10-26 03:19:52 EDT] ; stop_time=[Sat 2024-10-26 03:20:11 EDT] ; pid=20352 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-26 03:19:52 EDT] ; stop_time=[Sat 2024-10-26 03:19:52 EDT] ; pid=20343 ; 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-10-26 03:19:52 EDT", "InactiveEnterTimestampMonotonic": "417332497", "InactiveExitTimestamp": "Sat 2024-10-26 03:19:52 EDT", "InactiveExitTimestampMonotonic": "417334230", "InvocationID": "3bf4a3a1518f424a8872a05a65f9697e", "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-10-26 03:20:11 EDT", "StateChangeTimestampMonotonic": "436197428", "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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 26 October 2024 03:20:22 -0400 (0:00:00.672) 0:00:45.204 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM3pqemkyUjg5ZFNVYXhrV0xpa0VQMDR5SzNEQ2FKbDV0ajFzWFMvMkdrVHhSR25rdndBcGpoZkwrQkpuTS9oRmFQQWlpMTFuOEpRaUJHMWRaUEdHRW91ZWluckowYXpobzRmdnpYT2t3SHFya0FoVVI4SU1mSU1wdm04WEd6M2ZaNWd5b1FHd3o1bTZiWXowMTI0NlZKU0JDN2ZZVkFvU2wrM2tVTmk0MkpuaVV0MXA5UkRWU3RVQTdpbUtiakUwYk93ek9sbHl4TlI4bTkwcUx1dnhiWFQvQ0lOQ0Z6RHlIRnVBeDBzQ0NpTU1qNU1uR1pwNzVLYWUxM2poZUJFNDdMc0YwNExERHlJbUtpMXZOOXRWbHRSRzQwcmZFaGdBaWlnQ2JET3EyM2RSL0lNaWd3ZlAyNVhEWndiYlZKK2JreU1lamZRMnVWdjFXVDJYZERpTHM4ODVEejR0TGZjbXh1S2Z6SGFMZHg1ZVpheTU5WmxCQVZGZGZPTUVKeXpWZ0Y3U3pMT291SGVCSkZoREwxOWdvc1lObFB4WTZKZmxsUFdWc3VrN2ZiS2x0b0w2WEhOT05iSUx6UndGTkM4bm1oSEJqUmJtOUxmTjU0akdSQkdDVDZrQlV4aGJ1eU1USFdRMjR6R2c2RUNqRU5sdE4zWDBxSDJxU25xbDkyc0U9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 26 October 2024 03:20:23 -0400 (0:00:00.458) 0:00:45.663 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 26 October 2024 03:20:23 -0400 (0:00:00.026) 0:00:45.689 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1729927188.1647995, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1729927188.6448033, "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": 1729927188.6448033, "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": "2105120700", "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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 26 October 2024 03:20:23 -0400 (0:00:00.470) 0:00:46.159 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 26 October 2024 03:20:23 -0400 (0:00:00.024) 0:00:46.184 ****** 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-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 26 October 2024 03:20:24 -0400 (0:00:00.595) 0:00:46.780 ****** 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 26 October 2024 03:20:24 -0400 (0:00:00.461) 0:00:47.241 ****** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.40s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 2.89s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.53s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 1.03s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.97s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Gather facts from managed-node2 ----------------------------------------- 0.79s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Create a kdump user on kdump_ssh_server --------------------------------- 0.73s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.67s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Delete user ------------------------------------------------------------- 0.60s /tmp/collections-JEC/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.55s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.53s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.53s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Check if system is ostree ----------------------------------------------- 0.51s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.51s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.50s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.49s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.48s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.48s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.48s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.48s /tmp/collections-JEC/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43