ansible-playbook [core 2.17.5] 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-rhI executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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.yml ******************************************************** 1 plays in /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 Saturday 02 November 2024 03:16:23 -0400 (0:00:00.008) 0:00:00.008 ***** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Gather facts from managed-node3] ***************************************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 Saturday 02 November 2024 03:16:24 -0400 (0:00:01.430) 0:00:01.438 ***** ok: [managed-node3] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:61 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.977) 0:00:02.415 ***** skipping: [managed-node3] => { "false_condition": "ansible_distribution in ['CentOS','RedHat']" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:71 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.014) 0:00:02.430 ***** META: end_host conditional evaluated to False, continuing execution for managed-node3 skipping: [managed-node3] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node3" } MSG: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:82 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.007) 0:00:02.438 ***** included: fedora.linux_system_roles.kdump for managed-node3 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.035) 0:00:02.473 ***** included: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.023) 0:00:02.496 ***** skipping: [managed-node3] => { "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 02 November 2024 03:16:25 -0400 (0:00:00.038) 0:00:02.535 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 02 November 2024 03:16:26 -0400 (0:00:00.557) 0:00:03.092 ***** ok: [managed-node3] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 02 November 2024 03:16:26 -0400 (0:00:00.035) 0:00:03.127 ***** skipping: [managed-node3] => (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-node3] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 02 November 2024 03:16:26 -0400 (0:00:00.056) 0:00:03.184 ***** ok: [managed-node3] => { "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 02 November 2024 03:16:27 -0400 (0:00:01.740) 0:00:04.925 ***** ok: [managed-node3] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket remote-fs.target basic.target system.slice network.target network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "no", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecCondition": "{ path=/bin/sh ; argv[]=/bin/sh -c grep -q -e \"crashkernel\" -e \"fadump\" /proc/cmdline ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecConditionEx": "{ path=/bin/sh ; argv[]=/bin/sh -c grep -q -e \"crashkernel\" -e \"fadump\" /proc/cmdline ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14719", "LimitNPROCSoft": "14719", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14719", "LimitSIGPENDINGSoft": "14719", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3495964672", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4415", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 02 November 2024 03:16:28 -0400 (0:00:00.971) 0:00:05.896 ***** included: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed-node3 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 02 November 2024 03:16:29 -0400 (0:00:00.070) 0:00:05.967 ***** changed: [managed-node3] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.201095", "end": "2024-11-02 03:16:29.669028", "rc": 0, "start": "2024-11-02 03:16:29.467933" } 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:fVMg94Mp9gpmeEJTm/4bERmF+FZAtlA3y3r6kpjWEms root@managed-node3 The key's randomart image is: +---[RSA 3072]----+ | o+B+* | | ..=.O.B | | o o.*.= + | | . + oo= . . | | o S.+ = | | =.o * . | | *=. | | E ++ | | o .... | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 02 November 2024 03:16:29 -0400 (0:00:00.689) 0:00:06.656 ***** ok: [managed-node3] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDd29LQXZSVUg1N2QrSkVwK0N4NGoxWlBuM3c1ZE1kN0FoSXhrMkR4ZlpreS81dHcrOFYrYlBmNHI5WXVNR3cxUkVNaGlGcHRRd081RWdwN0JZMmpuTGFLanNZOWc3NXY4RTNySDh0dUh2dWFxS0ppYTRSVnFLckZaZnpZOVlZN3FpM1VoTFBIRUQ2UU5aVnIyV25YQWFLTkRjUGdqcnN0Rk8ydXBaUlZ2VEl2VG92ai9QNzcxMGRsOUJublFiV3ZSbG5ZL3FrUHprb3FXcHRoam5GY2kwL0NrOGRUQk1VOE5wNkdqbGUwK3JCdzBGdm9hMEcxc0FaYU9IdHRqUGlNWmN3REJoMncwRVk1dGNSWFdtNXVEN2FPZFAxWTNYaXl5YkpOWkZKRTlKaUVodlNUL2p6MWhXb21SZUZML0ZqSDlsSVpSblFTcjZXckdzblpwY0R0czRScGY5eGZ5a2JZT1RSOTFUSldFL3JleUdJdk10RU5ESHQ1d3JsSWtFV0kvQkpTWGhIQnNSWUFQWDNNaG45bW1zSXBPUTZXTTZLN0lxSkptcUtGa1RsZTI5SlJncDhZQkdrN0F6dnVMcDZyaDVxRlNscXk2MFppRmZDcGplSmNPT1BtdUoxaVNKNDNjSFlkSTdFN2lNWHNobDdHTy9LWDZBakw3MmlDd2ZPNEU9IHJvb3RAbWFuYWdlZC1ub2RlMwo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 02 November 2024 03:16:30 -0400 (0:00:00.537) 0:00:07.193 ***** ok: [managed-node3] => { "append": false, "changed": false, "comment": "Super User", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 02 November 2024 03:16:30 -0400 (0:00:00.602) 0:00:07.795 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730531565.454482, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "ctime": 1730531789.6674836, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 887, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1730531789.6674836, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "4253880467", "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 02 November 2024 03:16:31 -0400 (0:00:00.430) 0:00:08.226 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730531697.6445408, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1730531565.451482, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1730531565.450482, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "2832319714", "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 02 November 2024 03:16:31 -0400 (0:00:00.408) 0:00:08.634 ***** ok: [managed-node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ssh", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 02 November 2024 03:16:32 -0400 (0:00:00.648) 0:00:09.282 ***** changed: [managed-node3] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 02 November 2024 03:16:33 -0400 (0:00:00.768) 0:00:10.051 ***** ok: [managed-node3] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDcExNeWRUcTFscmxoZGFVQzFEa1lNcm5QN3NMZVBXWTlhNmxHNGd2VlFIMVFxZ0hPWDJvUUt3U2UyQVRLcUh6bm5xWFUvS3o4TmFRQStZQlViNmtJdFg4dlRwbGlXL1NlQXZRVStoVDlsejkwM00remppQ2NrcjBVRXlacmE3bVB2QWZvZ2hwa2k3VlRUVHo3UFVGelRiMkNtTnpyN0NjMno3MFhiOVJDOUM5WUJKZHNuRW8rZWNMTE5SWVdIdkNLUFRqS24vOFNSNU8xRisyR1NmV1habStYTkcxVWJxSEpNVGdFQ3Bkd1JGU2lra2FCRDdnaThPZlNPRW5RR3dvSHdCVk80SDREb0ZMdFZ5U2VnclE2S0dpYWdMMWhEamhwT1Bxc0xyM3NaRC8xVkErcll2Y0dueWF0RDI1REFnejJMaUZ4eHF4YldFdXJVRmtVcVhTb0VsUnp6Z0hWWTFGb0ZLMWVVd081QXZOVEJvcEhUQjRheEVxT0ZzRjlYU215dyt5YW1nZ2FtYXNMcnlJS1hlMTg3QjQydGw3UE1zZU1lQnIvZG42NlFVeGNwRWduU0tzckRwU203aGY2K3gydmtsWkt2RmhXTGpZSnZHV0l2c2ZzMjIrY296YzlqZDIydVdURlMzYzNyRzZzOFFzNGplc0ZMMEZEZHdhMmN3eWs9IHJvb3RAaXAtMTAtMzEtMTAtMTM1LnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 02 November 2024 03:16:33 -0400 (0:00:00.396) 0:00:10.447 ***** changed: [managed-node3] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.10.135 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCpLMydTq1lrlhdaUC1DkYMrnP7sLePWY9a6lG4gvVQH1QqgHOX2oQKwSe2ATKqHznnqXU/Kz8NaQA+YBUb6kItX8vTpliW/SeAvQU+hT9lz903M+zjiCckr0UEyZra7mPvAfoghpki7VTTTz7PUFzTb2CmNzr7Cc2z70Xb9RC9C9YBJdsnEo+ecLLNRYWHvCKPTjKn/8SR5O1F+2GSfWXZm+XNG1UbqHJMTgECpdwRFSikkaBD7gi8OfSOEnQGwoHwBVO4H4DoFLtVySegrQ6KGiagL1hDjhpOPqsLr3sZD/1VA+rYvcGnyatD25DAgz2LiFxxqxbWEurUFkUqXSoElRzzgHVY1FoFK1eUwO5AvNTBopHTB4axEqOFsF9XSmyw+yamggamasLryIKXe187B42tl7PMseMeBr/dn66QUxcpEgnSKsrDpSm7hf6+x2vklZKvFhWLjYJvGWIvsfs22+cozc9jd22uWTFS3c3rG6s8Qs4jesFL0FDdwa2cwyk= root@ip-10-31-10-135.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.10.135", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 612, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 02 November 2024 03:16:34 -0400 (0:00:00.597) 0:00:11.045 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730531778.5844994, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6358268c70ea4eb010df0ced1b282adb222f1d1b", "ctime": 1730531763.4185212, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280053, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1730531763.4193616, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "uid": 0, "version": "4218360307", "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 02 November 2024 03:16:34 -0400 (0:00:00.440) 0:00:11.485 ***** Notification for handler Restart kdump has been saved. changed: [managed-node3] => { "backup_file": "/etc/kdump.conf.8375.2024-11-02@03:16:35~", "changed": true, "checksum": "5299fb2c7de2f112db972e6932c5b255fb8b2845", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "c7540e027246fa3e0bc09314186731c8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 138, "src": "/root/.ansible/tmp/ansible-tmp-1730531794.6682239-4520-280763005133413/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 02 November 2024 03:16:35 -0400 (0:00:01.144) 0:00:12.630 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "content": "MAo=", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 02 November 2024 03:16:36 -0400 (0:00:00.402) 0:00:13.033 ***** ok: [managed-node3] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 02 November 2024 03:16:36 -0400 (0:00:00.051) 0:00:13.085 ***** changed: [managed-node3] => { "changed": true, "cmd": [ "kdumpctl", "reset-crashkernel", "--kernel=ALL" ], "delta": "0:00:00.282754", "end": "2024-11-02 03:16:36.847396", "rc": 0, "start": "2024-11-02 03:16:36.564642" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 02 November 2024 03:16:36 -0400 (0:00:00.745) 0:00:13.830 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_facts['distribution_major_version'] | int <= 8", "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-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 02 November 2024 03:16:36 -0400 (0:00:00.039) 0:00:13.869 ***** fatal: [managed-node3]: FAILED! => { "changed": false } MSG: "Reboot is required to apply changes. Re-execute the role after boot to ensure that kdump is working." TASK [If reboot is required - assert the expected fail message] **************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:86 Saturday 02 November 2024 03:16:36 -0400 (0:00:00.037) 0:00:13.906 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 Saturday 02 November 2024 03:16:37 -0400 (0:00:00.040) 0:00:13.947 ***** ok: [managed-node3] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 02 November 2024 03:16:37 -0400 (0:00:00.473) 0:00:14.420 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not kdump_reboot_required", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node3 : ok=25 changed=5 unreachable=0 failed=0 skipped=5 rescued=1 ignored=0 Saturday 02 November 2024 03:16:37 -0400 (0:00:00.067) 0:00:14.488 ***** =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------- 1.74s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.43s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 1.14s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Gather facts from managed-node3 ----------------------------------------- 0.98s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.97s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.77s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.75s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.69s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.65s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.60s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.60s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.56s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.54s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Cleanup kdump_path ------------------------------------------------------ 0.47s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.44s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.43s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.41s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.40s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.40s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.07s /tmp/collections-rhI/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16