ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-YoW executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ssh_reboot.yml ************************************************* 1 plays in /tmp/collections-YoW/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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 14 December 2024 02:22:31 -0500 (0:00:00.048) 0:00:00.048 ***** ok: [managed-node2] TASK [Gather facts from managed-node2] ***************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 14 December 2024 02:22:32 -0500 (0:00:01.456) 0:00:01.504 ***** ok: [managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 14 December 2024 02:22:33 -0500 (0:00:00.902) 0:00:02.407 ***** changed: [managed-node2] => { "changed": true, "comment": "", "create_home": true, "group": 1189, "home": "/home/kdump_ssh_user", "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1189 } TASK [Set kdump_ssh_user, sshkey, auth keys] *********************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 14 December 2024 02:22:34 -0500 (0:00:00.975) 0:00:03.382 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 14 December 2024 02:22:34 -0500 (0:00:00.022) 0:00:03.405 ***** skipping: [managed-node2] => { "false_condition": "ansible_distribution_major_version == '6'" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:86 Saturday 14 December 2024 02:22:34 -0500 (0:00:00.073) 0:00:03.479 ***** META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 14 December 2024 02:22:34 -0500 (0:00:00.010) 0:00:03.490 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.723) 0:00:04.214 ***** ok: [managed-node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [Skip the test on ostree systems] ***************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:105 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.032) 0:00:04.246 ***** META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.035) 0:00:04.281 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.055) 0:00:04.337 ***** included: /tmp/collections-YoW/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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.065) 0:00:04.402 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.036) 0:00:04.439 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.034) 0:00:04.473 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.052) 0:00:04.526 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 14 December 2024 02:22:35 -0500 (0:00:00.058) 0:00:04.584 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 14 December 2024 02:22:38 -0500 (0:00:03.003) 0:00:07.587 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-12-14 02:22:29 EST", "ActiveEnterTimestampMonotonic": "558444595", "ActiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "ActiveExitTimestampMonotonic": "555755903", "ActiveState": "active", "After": "network.target basic.target system.slice remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 02:22:26 EST", "AssertTimestampMonotonic": "555795173", "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-12-14 02:22:26 EST", "ConditionTimestampMonotonic": "555795153", "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-12-14 02:22:29 EST", "ExecMainExitTimestampMonotonic": "558444079", "ExecMainPID": "14840", "ExecMainStartTimestamp": "Sat 2024-12-14 02:22:26 EST", "ExecMainStartTimestampMonotonic": "555795962", "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-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:29 EST] ; pid=14840 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:26 EST] ; pid=14832 ; 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-12-14 02:22:26 EST", "InactiveEnterTimestampMonotonic": "555794462", "InactiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "InactiveExitTimestampMonotonic": "555796127", "InvocationID": "72e95a3d36ae4df3afa11cc9cce4f89f", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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-12-14 02:22:29 EST", "StateChangeTimestampMonotonic": "558444595", "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": "22406", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 14 December 2024 02:22:39 -0500 (0:00:00.700) 0:00:08.288 ***** included: /tmp/collections-YoW/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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 14 December 2024 02:22:39 -0500 (0:00:00.065) 0:00:08.353 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.308988", "end": "2024-12-14 02:22:40.412630", "rc": 0, "start": "2024-12-14 02:22:40.103642" } 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:ZbvYlby/M0n1rfJ/dikegqHJaY1SJZsaYDw1ff4Jr9c root@managed-node2 The key's randomart image is: +---[RSA 3072]----+ | o. | | . . .. . | | = .o.o | | . o == o . .| | . +S.= = .o| | = *oo* .. o| | o B.o+.oo o.| | o . .oE*.+| | . .+=*+| +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 14 December 2024 02:22:40 -0500 (0:00:00.800) 0:00:09.154 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEY2hFU3pVVGFITmcyL2VPR1p1VEZVMWJGOTZpdXBzd0NBYng4WEcrWUw0SENZN0pZWTN6eWhRQUZGZWFQV2xndHJWYUEzWFRWOEt3WmFwSUJ0S1NkYTRLMXpVNUlrUnZkckhFUzQyRmVHV0hZaW1tRWxONGhteU9UbTFpWlk0TjliOWpJQXNSdzdnMThIZFYvTlpBTWlzeWozRmZnYkRPNVkzZ003clk5enhkYmM5ZVU3QVpRYUgwazY0aWprR2ZETVZyVmk2clFSckVEemM2akMxSU10VFAzMGU1a3VtMVBwM3FtL3V5R1BuNlFhS3BNTmlHd2RUOFYzZ1lnc2VXYWRzanRnaWxlNWhPSzFnTldSU05FZW9JcmpsU1ZBRWxJeENId3RrV3lyZzViZEhFbmJGWmpML2RvTkZwVXg3aU9wcUsybFlyOTR0cllXeFd4QW5aYzNzMlk0ckZLNjdmMytKWUFCMTBETzE3cm1vYm1HS2d6aUV6NUZyMHFxbTBvSHhrN3hwMzZvTXEyNHRDWXVVMGVnaExQb094bVF0MElWbmJBeVIxeEtHNzdKVmZyYzdSYmJ5TkpTam1SQ3Y4Z1A4WnZsOC8zN0g2bStiZTZZYll6MDVnUGlkRHBDbEl1M2phMHNML3Q5eGIwNXNnLzRNdGFIZit1ZUZMZnlnUHM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 14 December 2024 02:22:40 -0500 (0:00:00.404) 0:00:09.559 ***** ok: [managed-node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 14 December 2024 02:22:41 -0500 (0:00:00.374) 0:00:09.933 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 14 December 2024 02:22:41 -0500 (0:00:00.321) 0:00:10.255 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 14 December 2024 02:22:41 -0500 (0:00:00.332) 0:00:10.588 ***** changed: [managed-node2] => { "changed": true, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 6, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 14 December 2024 02:22:42 -0500 (0:00:00.498) 0:00:11.086 ***** changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added and ownership, perms or SE linux context changed TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 14 December 2024 02:22:42 -0500 (0:00:00.515) 0:00:11.601 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEa2pKcWoxT1A3dSsyTFBaSXd4VTFTZDhJVmdORzAwQ2JRNmdqZDdCWmUva29remxvdWNSa2JUNTVDbU41b09sUmhIYjMwMG15QmFjOGhYY0JIVjJZREN5U0FHbXloVWhmUmJDTGxad0E0L1RjZkNIYkxZbXhraVJDOXNPSkR6UEZadG11SkhId254Y3pPbUdTRkpGV0c4cTdkYTlmNEFwRlJ0MXl2Qm9TdlZuRkFRNUttRmo5Mnd2eExhcU10ekJlQkFMSUl3RnJOOHUvUUtpUjFoakVYL0VHOUtYb0x4K0FEelBNVExPRk01ZWdOL2p0Yy9PdUoxd0kwRHplaU5hamFCMFVGTGJHYkJYc3pCY0xpUDRNSTNIZEE5cU1Jb2VxY1NCWGJodkRQS0RJRnpIYU1XalBUOG15ZlQvVGQyNlQ4NE5EdGtHaTVvTHcvT2g0TFpOek9lT3Z5WFhVM0VuOGJ1VkRsRVFvUXlaV1B3bldncm1MaWNob3BQNm5sdU5jVGk3UUVOb3E3aEFZaVJTemE2dEZEbkNDTkROTXpLbm9ZaFhMWEFTVjVpbjVVUWIrRFlsZFlhaStRMW8vd1RzQ1RhUnBDOTMrRFNXNHN3UUJiQi9oVXJzblgreHpMWWFyNmNVZkZ4bTRrRXpIdG5HVGgzRCt5TCtJcUpqczRCVms9IHJvb3RAaXAtMTAtMzEtNDUtMzMudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 14 December 2024 02:22:43 -0500 (0:00:00.316) 0:00:11.918 ***** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.45.33 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDkjJqj1OP7u+2LPZIwxU1Sd8IVgNG00CbQ6gjd7BZe/kokzloucRkbT55CmN5oOlRhHb300myBac8hXcBHV2YDCySAGmyhUhfRbCLlZwA4/TcfCHbLYmxkiRC9sOJDzPFZtmuJHHwnxczOmGSFJFWG8q7da9f4ApFRt1yvBoSvVnFAQ5KmFj92wvxLaqMtzBeBALIIwFrN8u/QKiR1hjEX/EG9KXoLx+ADzPMTLOFM5egN/jtc/OuJ1wI0DzeiNajaB0UFLbGbBXszBcLiP4MI3HdA9qMIoeqcSBXbhvDPKDIFzHaMWjPT8myfT/Td26T84NDtkGi5oLw/Oh4LZNzOeOvyXXU3En8buVDlEQoQyZWPwnWgrmLichopP6nluNcTi7QENoq7hAYiRSza6tFDnCCNDNMzKnoYhXLXASV5in5UQb+DYldYai+Q1o/wTsCTaRpC93+DSW4swQBbB/hUrsnX+xzLYar6cUfFxm4kEzHtnGTh3D+yL+IqJjs4BVk= root@ip-10-31-45-33.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.45.33", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 14 December 2024 02:22:43 -0500 (0:00:00.453) 0:00:12.371 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160945.1305664, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1734160942.989549, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23068930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734160942.5775454, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "3098619197", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 14 December 2024 02:22:43 -0500 (0:00:00.322) 0:00:12.694 ***** Notification for handler Restart kdump has been saved. changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.20008.2024-12-14@02:22:44~", "changed": true, "checksum": "5a2b6142d49fa5a6a948238b959239260b7c5925", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "fb1bca20e0946ebeb60742729b9df667", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1734160964.038392-10054-155800663446685/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 14 December 2024 02:22:44 -0500 (0:00:00.755) 0:00:13.449 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.316) 0:00:13.765 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.019) 0:00:13.784 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.013) 0:00:13.798 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.012) 0:00:13.810 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.013) 0:00:13.824 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.012) 0:00:13.837 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.013) 0:00:13.850 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-14 02:22:29 EST", "ActiveEnterTimestampMonotonic": "558444595", "ActiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "ActiveExitTimestampMonotonic": "555755903", "ActiveState": "active", "After": "network.target basic.target system.slice remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 02:22:26 EST", "AssertTimestampMonotonic": "555795173", "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-12-14 02:22:26 EST", "ConditionTimestampMonotonic": "555795153", "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-12-14 02:22:29 EST", "ExecMainExitTimestampMonotonic": "558444079", "ExecMainPID": "14840", "ExecMainStartTimestamp": "Sat 2024-12-14 02:22:26 EST", "ExecMainStartTimestampMonotonic": "555795962", "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-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:29 EST] ; pid=14840 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:26 EST] ; pid=14832 ; 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-12-14 02:22:26 EST", "InactiveEnterTimestampMonotonic": "555794462", "InactiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "InactiveExitTimestampMonotonic": "555796127", "InvocationID": "72e95a3d36ae4df3afa11cc9cce4f89f", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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-12-14 02:22:29 EST", "StateChangeTimestampMonotonic": "558444595", "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": "22406", "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 [Flush handlers] ********************************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:113 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.462) 0:00:14.313 ***** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 14 December 2024 02:22:45 -0500 (0:00:00.005) 0:00:14.318 ***** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-14 02:22:29 EST", "ActiveEnterTimestampMonotonic": "558444595", "ActiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "ActiveExitTimestampMonotonic": "555755903", "ActiveState": "active", "After": "network.target basic.target system.slice remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 02:22:26 EST", "AssertTimestampMonotonic": "555795173", "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-12-14 02:22:26 EST", "ConditionTimestampMonotonic": "555795153", "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-12-14 02:22:29 EST", "ExecMainExitTimestampMonotonic": "558444079", "ExecMainPID": "14840", "ExecMainStartTimestamp": "Sat 2024-12-14 02:22:26 EST", "ExecMainStartTimestampMonotonic": "555795962", "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-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:29 EST] ; pid=14840 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-14 02:22:26 EST] ; stop_time=[Sat 2024-12-14 02:22:26 EST] ; pid=14832 ; 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-12-14 02:22:26 EST", "InactiveEnterTimestampMonotonic": "555794462", "InactiveExitTimestamp": "Sat 2024-12-14 02:22:26 EST", "InactiveExitTimestampMonotonic": "555796127", "InvocationID": "72e95a3d36ae4df3afa11cc9cce4f89f", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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-12-14 02:22:29 EST", "StateChangeTimestampMonotonic": "558444595", "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": "22406", "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 ssh dir for the user] ******************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 14 December 2024 02:23:04 -0500 (0:00:18.957) 0:00:33.276 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160962.337707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1734160962.8627114, "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": 1734160962.8627114, "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": "2184703966", "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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 14 December 2024 02:23:04 -0500 (0:00:00.323) 0:00:33.599 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160966.2717392, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e9bdc0569b758f14f271ce6b30494b11685fb71", "ctime": 1734160962.8637114, "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": 1734160962.8607113, "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": "3069964407", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.324) 0:00:33.924 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEY2hFU3pVVGFITmcyL2VPR1p1VEZVMWJGOTZpdXBzd0NBYng4WEcrWUw0SENZN0pZWTN6eWhRQUZGZWFQV2xndHJWYUEzWFRWOEt3WmFwSUJ0S1NkYTRLMXpVNUlrUnZkckhFUzQyRmVHV0hZaW1tRWxONGhteU9UbTFpWlk0TjliOWpJQXNSdzdnMThIZFYvTlpBTWlzeWozRmZnYkRPNVkzZ003clk5enhkYmM5ZVU3QVpRYUgwazY0aWprR2ZETVZyVmk2clFSckVEemM2akMxSU10VFAzMGU1a3VtMVBwM3FtL3V5R1BuNlFhS3BNTmlHd2RUOFYzZ1lnc2VXYWRzanRnaWxlNWhPSzFnTldSU05FZW9JcmpsU1ZBRWxJeENId3RrV3lyZzViZEhFbmJGWmpML2RvTkZwVXg3aU9wcUsybFlyOTR0cllXeFd4QW5aYzNzMlk0ckZLNjdmMytKWUFCMTBETzE3cm1vYm1HS2d6aUV6NUZyMHFxbTBvSHhrN3hwMzZvTXEyNHRDWXVVMGVnaExQb094bVF0MElWbmJBeVIxeEtHNzdKVmZyYzdSYmJ5TkpTam1SQ3Y4Z1A4WnZsOC8zN0g2bStiZTZZYll6MDVnUGlkRHBDbEl1M2phMHNML3Q5eGIwNXNnLzRNdGFIZit1ZUZMZnlnUHM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.315) 0:00:34.239 ***** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.042) 0:00:34.282 ***** included: /tmp/collections-YoW/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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.020) 0:00:34.303 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kdump_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.018) 0:00:34.321 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.018) 0:00:34.339 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kdump_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.018) 0:00:34.358 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 14 December 2024 02:23:05 -0500 (0:00:00.032) 0:00:34.390 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 14 December 2024 02:23:08 -0500 (0:00:02.762) 0:00:37.152 ***** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-12-14 02:23:04 EST", "ActiveEnterTimestampMonotonic": "593529494", "ActiveExitTimestamp": "Sat 2024-12-14 02:22:46 EST", "ActiveExitTimestampMonotonic": "575068516", "ActiveState": "active", "After": "network.target basic.target system.slice remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 02:22:46 EST", "AssertTimestampMonotonic": "575091218", "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-12-14 02:22:46 EST", "ConditionTimestampMonotonic": "575091197", "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-12-14 02:23:04 EST", "ExecMainExitTimestampMonotonic": "593529050", "ExecMainPID": "20400", "ExecMainStartTimestamp": "Sat 2024-12-14 02:22:46 EST", "ExecMainStartTimestampMonotonic": "575092017", "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-12-14 02:22:46 EST] ; stop_time=[Sat 2024-12-14 02:23:04 EST] ; pid=20400 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-14 02:22:46 EST] ; stop_time=[Sat 2024-12-14 02:22:46 EST] ; pid=20391 ; 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-12-14 02:22:46 EST", "InactiveEnterTimestampMonotonic": "575090289", "InactiveExitTimestamp": "Sat 2024-12-14 02:22:46 EST", "InactiveExitTimestampMonotonic": "575092052", "InvocationID": "c186d00121734498b1b0abdf8812c1fa", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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-12-14 02:23:04 EST", "StateChangeTimestampMonotonic": "593529494", "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": "22406", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 14 December 2024 02:23:08 -0500 (0:00:00.459) 0:00:37.612 ***** included: /tmp/collections-YoW/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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 14 December 2024 02:23:08 -0500 (0:00:00.042) 0:00:37.654 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists MSG: Did not run command since '/root/.ssh/kdump_id_rsa' exists TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 14 December 2024 02:23:09 -0500 (0:00:00.314) 0:00:37.969 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEY2hFU3pVVGFITmcyL2VPR1p1VEZVMWJGOTZpdXBzd0NBYng4WEcrWUw0SENZN0pZWTN6eWhRQUZGZWFQV2xndHJWYUEzWFRWOEt3WmFwSUJ0S1NkYTRLMXpVNUlrUnZkckhFUzQyRmVHV0hZaW1tRWxONGhteU9UbTFpWlk0TjliOWpJQXNSdzdnMThIZFYvTlpBTWlzeWozRmZnYkRPNVkzZ003clk5enhkYmM5ZVU3QVpRYUgwazY0aWprR2ZETVZyVmk2clFSckVEemM2akMxSU10VFAzMGU1a3VtMVBwM3FtL3V5R1BuNlFhS3BNTmlHd2RUOFYzZ1lnc2VXYWRzanRnaWxlNWhPSzFnTldSU05FZW9JcmpsU1ZBRWxJeENId3RrV3lyZzViZEhFbmJGWmpML2RvTkZwVXg3aU9wcUsybFlyOTR0cllXeFd4QW5aYzNzMlk0ckZLNjdmMytKWUFCMTBETzE3cm1vYm1HS2d6aUV6NUZyMHFxbTBvSHhrN3hwMzZvTXEyNHRDWXVVMGVnaExQb094bVF0MElWbmJBeVIxeEtHNzdKVmZyYzdSYmJ5TkpTam1SQ3Y4Z1A4WnZsOC8zN0g2bStiZTZZYll6MDVnUGlkRHBDbEl1M2phMHNML3Q5eGIwNXNnLzRNdGFIZit1ZUZMZnlnUHM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 14 December 2024 02:23:09 -0500 (0:00:00.317) 0:00:38.286 ***** ok: [managed-node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 14 December 2024 02:23:09 -0500 (0:00:00.373) 0:00:38.660 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160962.337707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1734160962.8627114, "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": 1734160962.8627114, "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": "2184703966", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 14 December 2024 02:23:10 -0500 (0:00:00.328) 0:00:38.988 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160966.2717392, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e9bdc0569b758f14f271ce6b30494b11685fb71", "ctime": 1734160962.8637114, "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": 1734160962.8607113, "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": "3069964407", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 14 December 2024 02:23:10 -0500 (0:00:00.327) 0:00:39.316 ***** ok: [managed-node2] => { "changed": false, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 29, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 14 December 2024 02:23:10 -0500 (0:00:00.334) 0:00:39.651 ***** ok: [managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 14 December 2024 02:23:11 -0500 (0:00:00.334) 0:00:39.986 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEa2pKcWoxT1A3dSsyTFBaSXd4VTFTZDhJVmdORzAwQ2JRNmdqZDdCWmUva29remxvdWNSa2JUNTVDbU41b09sUmhIYjMwMG15QmFjOGhYY0JIVjJZREN5U0FHbXloVWhmUmJDTGxad0E0L1RjZkNIYkxZbXhraVJDOXNPSkR6UEZadG11SkhId254Y3pPbUdTRkpGV0c4cTdkYTlmNEFwRlJ0MXl2Qm9TdlZuRkFRNUttRmo5Mnd2eExhcU10ekJlQkFMSUl3RnJOOHUvUUtpUjFoakVYL0VHOUtYb0x4K0FEelBNVExPRk01ZWdOL2p0Yy9PdUoxd0kwRHplaU5hamFCMFVGTGJHYkJYc3pCY0xpUDRNSTNIZEE5cU1Jb2VxY1NCWGJodkRQS0RJRnpIYU1XalBUOG15ZlQvVGQyNlQ4NE5EdGtHaTVvTHcvT2g0TFpOek9lT3Z5WFhVM0VuOGJ1VkRsRVFvUXlaV1B3bldncm1MaWNob3BQNm5sdU5jVGk3UUVOb3E3aEFZaVJTemE2dEZEbkNDTkROTXpLbm9ZaFhMWEFTVjVpbjVVUWIrRFlsZFlhaStRMW8vd1RzQ1RhUnBDOTMrRFNXNHN3UUJiQi9oVXJzblgreHpMWWFyNmNVZkZ4bTRrRXpIdG5HVGgzRCt5TCtJcUpqczRCVms9IHJvb3RAaXAtMTAtMzEtNDUtMzMudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 14 December 2024 02:23:11 -0500 (0:00:00.312) 0:00:40.298 ***** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.45.33 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDkjJqj1OP7u+2LPZIwxU1Sd8IVgNG00CbQ6gjd7BZe/kokzloucRkbT55CmN5oOlRhHb300myBac8hXcBHV2YDCySAGmyhUhfRbCLlZwA4/TcfCHbLYmxkiRC9sOJDzPFZtmuJHHwnxczOmGSFJFWG8q7da9f4ApFRt1yvBoSvVnFAQ5KmFj92wvxLaqMtzBeBALIIwFrN8u/QKiR1hjEX/EG9KXoLx+ADzPMTLOFM5egN/jtc/OuJ1wI0DzeiNajaB0UFLbGbBXszBcLiP4MI3HdA9qMIoeqcSBXbhvDPKDIFzHaMWjPT8myfT/Td26T84NDtkGi5oLw/Oh4LZNzOeOvyXXU3En8buVDlEQoQyZWPwnWgrmLichopP6nluNcTi7QENoq7hAYiRSza6tFDnCCNDNMzKnoYhXLXASV5in5UQb+DYldYai+Q1o/wTsCTaRpC93+DSW4swQBbB/hUrsnX+xzLYar6cUfFxm4kEzHtnGTh3D+yL+IqJjs4BVk= root@ip-10-31-45-33.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.45.33", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 14 December 2024 02:23:11 -0500 (0:00:00.359) 0:00:40.658 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160966.098738, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5a2b6142d49fa5a6a948238b959239260b7c5925", "ctime": 1734160964.7037265, "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": 1734160964.3527236, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "2559092373", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 14 December 2024 02:23:12 -0500 (0:00:00.325) 0:00:40.983 ***** ok: [managed-node2] => { "changed": false, "checksum": "5a2b6142d49fa5a6a948238b959239260b7c5925", "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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 14 December 2024 02:23:12 -0500 (0:00:00.619) 0:00:41.602 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.356) 0:00:41.959 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.036) 0:00:41.995 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.022) 0:00:42.018 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.022) 0:00:42.040 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.021) 0:00:42.062 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.021) 0:00:42.084 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kdump_reboot_required | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 14 December 2024 02:23:13 -0500 (0:00:00.022) 0:00:42.106 ***** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-12-14 02:23:04 EST", "ActiveEnterTimestampMonotonic": "593529494", "ActiveExitTimestamp": "Sat 2024-12-14 02:22:46 EST", "ActiveExitTimestampMonotonic": "575068516", "ActiveState": "active", "After": "network.target basic.target system.slice remote-fs.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-12-14 02:22:46 EST", "AssertTimestampMonotonic": "575091218", "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-12-14 02:22:46 EST", "ConditionTimestampMonotonic": "575091197", "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-12-14 02:23:04 EST", "ExecMainExitTimestampMonotonic": "593529050", "ExecMainPID": "20400", "ExecMainStartTimestamp": "Sat 2024-12-14 02:22:46 EST", "ExecMainStartTimestampMonotonic": "575092017", "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-12-14 02:22:46 EST] ; stop_time=[Sat 2024-12-14 02:23:04 EST] ; pid=20400 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-12-14 02:22:46 EST] ; stop_time=[Sat 2024-12-14 02:22:46 EST] ; pid=20391 ; 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-12-14 02:22:46 EST", "InactiveEnterTimestampMonotonic": "575090289", "InactiveExitTimestamp": "Sat 2024-12-14 02:22:46 EST", "InactiveExitTimestampMonotonic": "575092052", "InvocationID": "c186d00121734498b1b0abdf8812c1fa", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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-12-14 02:23:04 EST", "StateChangeTimestampMonotonic": "593529494", "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": "22406", "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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 14 December 2024 02:23:14 -0500 (0:00:00.615) 0:00:42.721 ***** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEY2hFU3pVVGFITmcyL2VPR1p1VEZVMWJGOTZpdXBzd0NBYng4WEcrWUw0SENZN0pZWTN6eWhRQUZGZWFQV2xndHJWYUEzWFRWOEt3WmFwSUJ0S1NkYTRLMXpVNUlrUnZkckhFUzQyRmVHV0hZaW1tRWxONGhteU9UbTFpWlk0TjliOWpJQXNSdzdnMThIZFYvTlpBTWlzeWozRmZnYkRPNVkzZ003clk5enhkYmM5ZVU3QVpRYUgwazY0aWprR2ZETVZyVmk2clFSckVEemM2akMxSU10VFAzMGU1a3VtMVBwM3FtL3V5R1BuNlFhS3BNTmlHd2RUOFYzZ1lnc2VXYWRzanRnaWxlNWhPSzFnTldSU05FZW9JcmpsU1ZBRWxJeENId3RrV3lyZzViZEhFbmJGWmpML2RvTkZwVXg3aU9wcUsybFlyOTR0cllXeFd4QW5aYzNzMlk0ckZLNjdmMytKWUFCMTBETzE3cm1vYm1HS2d6aUV6NUZyMHFxbTBvSHhrN3hwMzZvTXEyNHRDWXVVMGVnaExQb094bVF0MElWbmJBeVIxeEtHNzdKVmZyYzdSYmJ5TkpTam1SQ3Y4Z1A4WnZsOC8zN0g2bStiZTZZYll6MDVnUGlkRHBDbEl1M2phMHNML3Q5eGIwNXNnLzRNdGFIZit1ZUZMZnlnUHM9IHJvb3RAbWFuYWdlZC1ub2RlMgo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 14 December 2024 02:23:14 -0500 (0:00:00.353) 0:00:43.075 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 14 December 2024 02:23:14 -0500 (0:00:00.016) 0:00:43.092 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1734160962.337707, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1734160962.8627114, "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": 1734160962.8627114, "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": "2184703966", "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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 14 December 2024 02:23:14 -0500 (0:00:00.479) 0:00:43.571 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 14 December 2024 02:23:14 -0500 (0:00:00.029) 0:00:43.601 ***** 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-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 14 December 2024 02:23:15 -0500 (0:00:00.528) 0:00:44.129 ***** changed: [managed-node2] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=52 changed=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 14 December 2024 02:23:15 -0500 (0:00:00.439) 0:00:44.568 ***** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 18.96s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 3.00s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Install required packages ------------- 2.76s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.46s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Create a kdump user on kdump_ssh_server --------------------------------- 0.98s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Gather facts from managed-node2 ----------------------------------------- 0.90s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.80s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.76s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Check if system is ostree ----------------------------------------------- 0.72s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.70s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.62s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.62s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Delete user ------------------------------------------------------------- 0.53s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.52s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.50s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Get the ssh dir for the user after -------------------------------------- 0.48s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.46s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.46s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.45s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Cleanup kdump_path ------------------------------------------------------ 0.44s /tmp/collections-YoW/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168