[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.zz9Y1L6G7j executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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/tmp.zz9Y1L6G7j/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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 Saturday 27 July 2024 03:22:04 -0400 (0:00:00.009) 0:00:00.009 ********* [WARNING]: Platform linux on host managed_node1 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_node1] TASK [Gather facts from managed_node1] ***************************************** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 Saturday 27 July 2024 03:22:05 -0400 (0:00:01.349) 0:00:01.359 ********* ok: [managed_node1] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:61 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.918) 0:00:02.278 ********* skipping: [managed_node1] => { "false_condition": "ansible_distribution in ['CentOS','RedHat']" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:71 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.015) 0:00:02.293 ********* META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:82 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.009) 0:00:02.303 ********* included: fedora.linux_system_roles.kdump for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.042) 0:00:02.345 ********* included: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.027) 0:00:02.372 ********* skipping: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 27 July 2024 03:22:06 -0400 (0:00:00.024) 0:00:02.397 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 27 July 2024 03:22:07 -0400 (0:00:00.494) 0:00:02.891 ********* ok: [managed_node1] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 27 July 2024 03:22:07 -0400 (0:00:00.027) 0:00:02.918 ********* skipping: [managed_node1] => (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_node1] => (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_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 27 July 2024 03:22:07 -0400 (0:00:00.040) 0:00:02.959 ********* ok: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 27 July 2024 03:22:09 -0400 (0:00:01.867) 0:00:04.827 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "AccessSELinuxContext": "system_u:object_r:kdump_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice -.mount network-online.target basic.target systemd-journald.socket remote-fs.target systemd-tmpfiles-setup.service tmp.mount", "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", "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", "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": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "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": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "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": "yes", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "-.mount system.slice", "RequiresMountsFor": "/var/tmp", "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", "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": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4426", "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", "Wants": "tmp.mount", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 27 July 2024 03:22:10 -0400 (0:00:00.821) 0:00:05.648 ********* included: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 27 July 2024 03:22:10 -0400 (0:00:00.068) 0:00:05.716 ********* ok: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 27 July 2024 03:22:10 -0400 (0:00:00.493) 0:00:06.210 ********* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDUjV4OWd4VVYra204SmcxSVZUb2IzNnNvS3ZnRjBXM1RmNzNuUTV0SzRhZWU5QmRTaHpwbTVUR0l1WkZ5a212bFJKaU1GaTFJWXJGK2REbDlmNEJJSGhOZkNSN3JaZkc5VmNSc3ArTEhmbjZnWkxIdUI5bXQrRlRUcFZoQVRJbDhHNFRXNzFwb2pWVmxTaXpYcG1GM3VtcHBFWnVUcy9jS2tudjM1OXNTZGxaUy81cVdNWmd3cmJENHJKb2ZzS0JXRDV0ZGQ2akxEQUEvbys5TEVXNmp3S0lEeVNnT3JhaDhIV3lLTmRwTGl3U0tDbnJLVFJyRDJZRVdHS0RhcGNFaURkVWtiVDVjMnRRNFBpazJieUhDWU5NOHR6cDVqYzNaMExaQ2xxejZXVnFFSHZrc0gvRGNJN3V4VWVkNTdlL29XMmlTVk1QTkNMUVErMURkWWQvck5iT0FZWGZncHRoMThLZTdjK1JkVkNvNWdoVzNSdGhrOENPZU11UFozZVRJNUNOREpHeFI3dzVuZGRVOXdremRZcDlzMjh4SEhUOGdKamI3N1RWSHdrbmZudnhsK2xncDhJRm01UXpLQWlIeEJEc2daMTAydlFPbGlJcWNjR1M2OW85aGE1NnRrQlpqNDZtK1hJOUt0dThnSmJmSiswWjR1UTVIRUk2T1VoNGs9IHJvb3RAaXAtMTAtMzEtMTMtMTkudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 27 July 2024 03:22:11 -0400 (0:00:00.486) 0:00:06.696 ********* ok: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 27 July 2024 03:22:11 -0400 (0:00:00.591) 0:00:07.288 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064645.5158088, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "binary", "ctime": 1722064903.368684, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 461, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722064903.368684, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "3391822153", "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 27 July 2024 03:22:12 -0400 (0:00:00.385) 0:00:07.673 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064917.5336869, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3e80b5bf44ebbb4bc3b256a1827d7e67c19a121f", "ctime": 1722064903.368684, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722064645.5138087, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1588, "uid": 0, "version": "3676553578", "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 27 July 2024 03:22:12 -0400 (0:00:00.392) 0:00:08.066 ********* ok: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 27 July 2024 03:22:13 -0400 (0:00:00.540) 0:00:08.607 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 27 July 2024 03:22:13 -0400 (0:00:00.561) 0:00:09.168 ********* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEY1hMa1RPWGp2TzJYZDFFTzJsbC9JSzZKeGxDM1ZpRHZEQVVVT0V3QnFnVXEvZFo1WWJTZFk2ck8wdjNGZU5rRVFMM2xGd1p3YXN3UHVDYTZlZFh1RXM5M2hhKzRaZnU1SEUvRGY5SGY1bTRCaE9SVVFUMzhudlBSL0lkZlBETnhUYmtZRUZ1YlA2ZjlNUjIvQ3BMeTFZREhXLzVQM3Nua0FQcDc4Vm1YMTdrVVNRRktxWFBLdURVbVV5MDNYcTlCWWs2ejBLWnhiOXVRMVBNT0lpQlVNY0F0YzZrZ0FIK1N0UGFkL1ZqdER3SS9jVmJKY2x2WThsclJZQWxINHpTTW5KcjgrckQ5Q0hEV3hNS056YU5KNmM4dUlwVlZCQXAxeWlDK1BOUi9mOGJvUGZTM2xBWm1rdzJKVkF1YVE0MFl5QjBBMGRqYUh3aWdBeUxrbTZFVTJaWHpiaktDWGlXWkx5ZlBuanZDZDlFbE9MKzZnRXBMSGFvODhIRStiWU1Tb1l1TFRheExWa0lvdnI5MHNNM2dBWU44RGdxSU5JZ1NCRDVoUlR3TW9HajVMV0FpeS80TXdJRXhNbGJvNmpzdXRpQnRIM0tYZUllSkxRaW5aeHhpUFpUdTNzdUNVMlh1M293N3lJWXZKQXVNTGlzSTVVMFB3ME5xeml3MktLa1U9IHJvb3RAaXAtMTAtMzEtMTMtMTkudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 27 July 2024 03:22:13 -0400 (0:00:00.375) 0:00:09.544 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.19 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDcXLkTOXjvO2Xd1EO2ll/IK6JxlC3ViDvDAUUOEwBqgUq/dZ5YbSdY6rO0v3FeNkEQL3lFwZwaswPuCa6edXuEs93ha+4Zfu5HE/Df9Hf5m4BhORUQT38nvPR/IdfPDNxTbkYEFubP6f9MR2/CpLy1YDHW/5P3snkAPp78VmX17kUSQFKqXPKuDUmUy03Xq9BYk6z0KZxb9uQ1PMOIiBUMcAtc6kgAH+StPad/VjtDwI/cVbJclvY8lrRYAlH4zSMnJr8+rD9CHDWxMKNzaNJ6c8uIpVVBAp1yiC+PNR/f8boPfS3lAZmkw2JVAuaQ40YyB0A0djaHwigAyLkm6EU2ZXzbjKCXiWZLyfPnjvCd9ElOL+6gEpLHao88HE+bYMSoYuLTaxLVkIovr90sM3gAYN8DgqINIgSBD5hRTwMoGj5LWAiy/4MwIExMlbo6jsutiBtH3KXeIeJLQinZxxiPZTu3suCU2Xu3ow7yIYvJAuMLisI5U0Pw0Nqziw2KKkU= root@ip-10-31-13-19.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.13.19", "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 27 July 2024 03:22:14 -0400 (0:00:00.559) 0:00:10.103 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064919.9336874, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a3b7b1f059c86ccffe0b7cd232ec0508038a3dea", "ctime": 1722064905.484684, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722064888.4476852, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 137, "uid": 0, "version": "3010370706", "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 27 July 2024 03:22:14 -0400 (0:00:00.378) 0:00:10.482 ********* ok: [managed_node1] => { "changed": false, "checksum": "a3b7b1f059c86ccffe0b7cd232ec0508038a3dea", "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": 137, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 27 July 2024 03:22:15 -0400 (0:00:00.724) 0:00:11.207 ********* ok: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 27 July 2024 03:22:15 -0400 (0:00:00.368) 0:00:11.575 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 27 July 2024 03:22:16 -0400 (0:00:00.027) 0:00:11.602 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "kdumpctl", "reset-crashkernel", "--kernel=ALL" ], "delta": "0:00:00.346783", "end": "2024-07-27 03:22:16.700724", "rc": 0, "start": "2024-07-27 03:22:16.353941" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 27 July 2024 03:22:16 -0400 (0:00:00.729) 0:00:12.332 ********* skipping: [managed_node1] => { "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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 27 July 2024 03:22:16 -0400 (0:00:00.026) 0:00:12.358 ********* fatal: [managed_node1]: 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/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:86 Saturday 27 July 2024 03:22:16 -0400 (0:00:00.026) 0:00:12.385 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 Saturday 27 July 2024 03:22:16 -0400 (0:00:00.025) 0:00:12.410 ********* ok: [managed_node1] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=25 changed=1 unreachable=0 failed=0 skipped=4 rescued=1 ignored=0 Saturday 27 July 2024 03:22:17 -0400 (0:00:00.397) 0:00:12.808 ********* =============================================================================== fedora.linux_system_roles.kdump : Install required packages ------------- 1.87s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.35s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 Gather facts from managed_node1 ----------------------------------------- 0.92s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.82s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.73s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.72s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 0.59s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.56s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.56s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.54s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.49s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.49s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.49s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Cleanup kdump_path ------------------------------------------------------ 0.40s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.39s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.39s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.38s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.38s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.37s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.07s /tmp/tmp.zz9Y1L6G7j/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16