[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.16.9] 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.TWPv1Lccgn 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/tmp.TWPv1Lccgn/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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 03 August 2024 03:16:52 -0400 (0:00:00.009) 0:00:00.009 ******* ok: [managed_node1] TASK [Gather facts from managed_node1] ***************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 03 August 2024 03:16:53 -0400 (0:00:01.102) 0:00:01.111 ******* ok: [managed_node1] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 03 August 2024 03:16:54 -0400 (0:00:00.766) 0:00:01.877 ******* changed: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 03 August 2024 03:16:54 -0400 (0:00:00.602) 0:00:02.479 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 03 August 2024 03:16:54 -0400 (0:00:00.018) 0:00:02.498 ******* skipping: [managed_node1] => { "false_condition": "ansible_distribution_major_version == '6'" } TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:86 Saturday 03 August 2024 03:16:54 -0400 (0:00:00.014) 0:00:02.512 ******* 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 [Check if system is ostree] *********************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 03 August 2024 03:16:54 -0400 (0:00:00.007) 0:00:02.520 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.445) 0:00:02.966 ******* ok: [managed_node1] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [Skip the test on ostree systems] ***************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:105 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.022) 0:00:02.989 ******* 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 and reboot if necessary] ************************************ task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.023) 0:00:03.012 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.041) 0:00:03.054 ******* included: /tmp/tmp.TWPv1Lccgn/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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.023) 0:00:03.077 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.018) 0:00:03.096 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.018) 0:00:03.115 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.019) 0:00:03.134 ******* 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=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_node1] => (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_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 03 August 2024 03:16:55 -0400 (0:00:00.033) 0:00:03.168 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 03 August 2024 03:16:58 -0400 (0:00:02.696) 0:00:05.864 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 03:16:50 EDT", "ActiveEnterTimestampMonotonic": "322719633", "ActiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ActiveExitTimestampMonotonic": "301772584", "ActiveState": "active", "After": "network-online.target network.target system.slice basic.target systemd-journald.socket remote-fs.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 03:16:29 EDT", "AssertTimestampMonotonic": "301796270", "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-08-03 03:16:29 EDT", "ConditionTimestampMonotonic": "301796207", "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-08-03 03:16:50 EDT", "ExecMainExitTimestampMonotonic": "322718888", "ExecMainPID": "31794", "ExecMainStartTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ExecMainStartTimestampMonotonic": "301797291", "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-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:50 EDT] ; pid=31794 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:29 EDT] ; pid=31785 ; 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-08-03 03:16:29 EDT", "InactiveEnterTimestampMonotonic": "301795082", "InactiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "InactiveExitTimestampMonotonic": "301797333", "InvocationID": "c2984a65d02046fbbd8af56114ba3f0e", "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-08-03 03:16:50 EDT", "StateChangeTimestampMonotonic": "322719633", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 03 August 2024 03:16:59 -0400 (0:00:00.727) 0:00:06.592 ******* included: /tmp/tmp.TWPv1Lccgn/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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 03 August 2024 03:16:59 -0400 (0:00:00.049) 0:00:06.641 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 03 August 2024 03:16:59 -0400 (0:00:00.445) 0:00:07.086 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZWpRZnpBcGhLOFBHV2NhbUdaaVVqSEZYQ2FybHZFQnZxcGgzTEZOeWh4Wjl6YXRCS3JTK1ZxNitGR1dZMHdKOUthdktHU3BhS05sWFU1TG00MnpYM3NENGMySjIvRk1xODN1OC82S2dTS1NMTGxaQ1BpK05CUHo4SFE3WklIVW5OSlo0bGw4c292N0dvK0tteFIwaEJKV2U1ZmlhUklVVTU0bEJNL21iS2J4OGFPS2Nnd2FkMEFVKzhjb1VLVkJWM05wVFNmeUN0VXNoS3RNU0hGQ0svNWxkWWdLclJZL3NHS3k0VGRicXlFRFUvZDFLWEdCUHZyMVFpOHpkTDlQbmZIeU9NUXp0Q1JmREtMR3A3ZWVUSmZYNWdDNHlBYzl1ajdKSGZXZDFvY25EVlRyU2dQZ3pwcklUdWVnWTFGeGhVdFV2R0U2ZVYzR3I0S2wyODBoOVpPLzBuWklBN3NpczZxTHpwTEtielN1bzlkV1ViZEN5eG5ETldZKzY2UWVBQ3NTWnZ2VGx2VEdYTkVSUEJtbTVYUkZITDZtRk03U3VaWWFqZjMvaVJEUjZsVEptaXdkM3pseFhuNDIxNWx0Q0tFaXFOajlCY2Znd2lBcUlVcEVWOEpvcU11ZTNPTnVuK3BHMkVRNHA1SElaMDdiMEFwclYyL1dmZHBXQ2ZvTWM9IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 03 August 2024 03:16:59 -0400 (0:00:00.439) 0:00:07.526 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 03 August 2024 03:17:00 -0400 (0:00:00.406) 0:00:07.932 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 03 August 2024 03:17:00 -0400 (0:00:00.357) 0:00:08.290 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 03 August 2024 03:17:01 -0400 (0:00:00.351) 0:00:08.641 ******* changed: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 03 August 2024 03:17:01 -0400 (0:00:00.479) 0:00:09.120 ******* changed: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 03 August 2024 03:17:02 -0400 (0:00:00.469) 0:00:09.590 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEcmRENTVON2Vxb2FGZE1KL1Joc3BGeGdIOWdWbnFSdlVaV0hScXpPY3JyRm40K2xOeTZSVHVoR0JyaU5PVjlyOTltNUwwOVBKbEI5UHpNSGRFZEJINUZobWp6anZFRGNldTJxUW4rUlhoL2IvNldxb25GMGhpWGZ3OVV6cThCelI1K2p4SEdBclpyK1dXN3pjRnNXMmZneVlEVGJoSGQwYWw0V0hXaWxENkZrdnI1R1JxKzkzV2VYZ1g2cFZCU3JzZVNPelhvNlFKOXhuM3Z0ZUVzTURsUXJyZENNV1U2UGdyaEZQQ2hCRmVqZXJIWlJ0Ymx0b0hGMksvcWJRTXZjUXNUWjVHMXFkQkgvNUN5K2RINnQxWkx4R1pvcW52Skl5Z05KUFBDeXVnRUxaSFNsTFhBRk9HUitPaXQrclhRNC9ITjlGSmF2MnlRR1BWTXRWaW9qNjg5Qk83MFhac203amhrR2diR3lWeFYyemJ2SWY1YnNOc1JGMDNyVkhSdWI2M0RvZVdnc1MyVWFTQ1dnOWtqNkZRb0hLTngzN04wdUplWkpSajRGTGxhQTNabm9jTXpXZWs2eVJWcEdiWTBQV1lSVzRyclRac0tkT3gvVjJ2ZVh3VldmbWtWdjYySWNpL3h5R1NacEJoc2lzRGtFV01PSWxZdjIvcXMzZUJ1S009IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 03 August 2024 03:17:02 -0400 (0:00:00.345) 0:00:09.935 ******* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.40.87 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDrdD55N7eqoaFdMJ/RhspFxgH9gVnqRvUZWHRqzOcrrFn4+lNy6RTuhGBriNOV9r99m5L09PJlB9PzMHdEdBH5FhmjzjvEDceu2qQn+RXh/b/6WqonF0hiXfw9Uzq8BzR5+jxHGArZr+WW7zcFsW2fgyYDTbhHd0al4WHWilD6Fkvr5GRq+93WeXgX6pVBSrseSOzXo6QJ9xn3vteEsMDlQrrdCMWU6PgrhFPChBFejerHZRtbltoHF2K/qbQMvcQsTZ5G1qdBH/5Cy+dH6t1ZLxGZoqnvJIygNJPPCyugELZHSlLXAFOGR+Oit+rXQ4/HN9FJav2yQGPVMtVioj689BO70XZsm7jhkGgbGyVxV2zbvIf5bsNsRF03rVHRub63DoeWgsS2UaSCWg9kj6FQoHKNx37N0uJeZJRj4FLlaA3ZnocMzWek6yRVpGbY0PWYRW4rrTZsKdOx/V2veXwVWfmkVv62Ici/xyGSZpBhsisDkEWMOIlYv2/qs3eBuKM= root@ip-10-31-40-87.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.40.87", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 03 August 2024 03:17:02 -0400 (0:00:00.483) 0:00:10.419 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669389.7322865, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f8df1abcb7cf3f9eddb3a2dd3a16ba3f726873ca", "ctime": 1722669387.7653782, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 113246406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722669387.3933954, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 103, "uid": 0, "version": "372008438", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 03 August 2024 03:17:03 -0400 (0:00:00.350) 0:00:10.770 ******* Notification for handler Restart kdump has been saved. changed: [managed_node1] => { "backup_file": "/etc/kdump.conf.37861.2024-08-03@03:17:03~", "changed": true, "checksum": "42faefd9fef5020b591abee0046d1f52865116a6", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "7da5b980bddf26a067c3f80ec89d56ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1722669423.2403264-9225-56797119394467/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.808) 0:00:11.578 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.342) 0:00:11.921 ******* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.019) 0:00:11.941 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.014) 0:00:11.955 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.014) 0:00:11.969 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.014) 0:00:11.984 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.014) 0:00:11.998 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.014) 0:00:12.013 ******* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 03:16:50 EDT", "ActiveEnterTimestampMonotonic": "322719633", "ActiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ActiveExitTimestampMonotonic": "301772584", "ActiveState": "active", "After": "network-online.target network.target system.slice basic.target systemd-journald.socket remote-fs.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 03:16:29 EDT", "AssertTimestampMonotonic": "301796270", "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-08-03 03:16:29 EDT", "ConditionTimestampMonotonic": "301796207", "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-08-03 03:16:50 EDT", "ExecMainExitTimestampMonotonic": "322718888", "ExecMainPID": "31794", "ExecMainStartTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ExecMainStartTimestampMonotonic": "301797291", "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-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:50 EDT] ; pid=31794 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:29 EDT] ; pid=31785 ; 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-08-03 03:16:29 EDT", "InactiveEnterTimestampMonotonic": "301795082", "InactiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "InactiveExitTimestampMonotonic": "301797333", "InvocationID": "c2984a65d02046fbbd8af56114ba3f0e", "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-08-03 03:16:50 EDT", "StateChangeTimestampMonotonic": "322719633", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:113 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.497) 0:00:12.510 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 03 August 2024 03:17:04 -0400 (0:00:00.006) 0:00:12.517 ******* changed: [managed_node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 03:16:50 EDT", "ActiveEnterTimestampMonotonic": "322719633", "ActiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ActiveExitTimestampMonotonic": "301772584", "ActiveState": "active", "After": "network-online.target network.target system.slice basic.target systemd-journald.socket remote-fs.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 03:16:29 EDT", "AssertTimestampMonotonic": "301796270", "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-08-03 03:16:29 EDT", "ConditionTimestampMonotonic": "301796207", "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-08-03 03:16:50 EDT", "ExecMainExitTimestampMonotonic": "322718888", "ExecMainPID": "31794", "ExecMainStartTimestamp": "Sat 2024-08-03 03:16:29 EDT", "ExecMainStartTimestampMonotonic": "301797291", "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-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:50 EDT] ; pid=31794 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-03 03:16:29 EDT] ; stop_time=[Sat 2024-08-03 03:16:29 EDT] ; pid=31785 ; 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-08-03 03:16:29 EDT", "InactiveEnterTimestampMonotonic": "301795082", "InactiveExitTimestamp": "Sat 2024-08-03 03:16:29 EDT", "InactiveExitTimestampMonotonic": "301797333", "InvocationID": "c2984a65d02046fbbd8af56114ba3f0e", "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-08-03 03:16:50 EDT", "StateChangeTimestampMonotonic": "322719633", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 03 August 2024 03:17:25 -0400 (0:00:20.937) 0:00:33.454 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669421.5008724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722669421.9708517, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 505414016, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722669421.9708517, "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": "2864496842", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 03 August 2024 03:17:26 -0400 (0:00:00.358) 0:00:33.813 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669425.534694, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "856927f569b41346cd9316261c0d6700aeaef895", "ctime": 1722669421.9718516, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 507510918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722669421.9688516, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 598, "uid": 1189, "version": "1495300590", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 03 August 2024 03:17:26 -0400 (0:00:00.359) 0:00:34.172 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZWpRZnpBcGhLOFBHV2NhbUdaaVVqSEZYQ2FybHZFQnZxcGgzTEZOeWh4Wjl6YXRCS3JTK1ZxNitGR1dZMHdKOUthdktHU3BhS05sWFU1TG00MnpYM3NENGMySjIvRk1xODN1OC82S2dTS1NMTGxaQ1BpK05CUHo4SFE3WklIVW5OSlo0bGw4c292N0dvK0tteFIwaEJKV2U1ZmlhUklVVTU0bEJNL21iS2J4OGFPS2Nnd2FkMEFVKzhjb1VLVkJWM05wVFNmeUN0VXNoS3RNU0hGQ0svNWxkWWdLclJZL3NHS3k0VGRicXlFRFUvZDFLWEdCUHZyMVFpOHpkTDlQbmZIeU9NUXp0Q1JmREtMR3A3ZWVUSmZYNWdDNHlBYzl1ajdKSGZXZDFvY25EVlRyU2dQZ3pwcklUdWVnWTFGeGhVdFV2R0U2ZVYzR3I0S2wyODBoOVpPLzBuWklBN3NpczZxTHpwTEtielN1bzlkV1ViZEN5eG5ETldZKzY2UWVBQ3NTWnZ2VGx2VEdYTkVSUEJtbTVYUkZITDZtRk03U3VaWWFqZjMvaVJEUjZsVEptaXdkM3pseFhuNDIxNWx0Q0tFaXFOajlCY2Znd2lBcUlVcEVWOEpvcU11ZTNPTnVuK3BHMkVRNHA1SElaMDdiMEFwclYyL1dmZHBXQ2ZvTWM9IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 03 August 2024 03:17:26 -0400 (0:00:00.342) 0:00:34.515 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 03 August 2024 03:17:26 -0400 (0:00:00.044) 0:00:34.559 ******* included: /tmp/tmp.TWPv1Lccgn/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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 03 August 2024 03:17:27 -0400 (0:00:00.021) 0:00:34.581 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 03 August 2024 03:17:27 -0400 (0:00:00.018) 0:00:34.599 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 03 August 2024 03:17:27 -0400 (0:00:00.018) 0:00:34.618 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 03 August 2024 03:17:27 -0400 (0:00:00.018) 0:00:34.637 ******* 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=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_node1] => (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_node1] => (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_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 03 August 2024 03:17:27 -0400 (0:00:00.033) 0:00:34.670 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 03 August 2024 03:17:29 -0400 (0:00:02.648) 0:00:37.319 ******* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 03:17:25 EDT", "ActiveEnterTimestampMonotonic": "357902832", "ActiveExitTimestamp": "Sat 2024-08-03 03:17:05 EDT", "ActiveExitTimestampMonotonic": "337473087", "ActiveState": "active", "After": "network-online.target network.target system.slice basic.target systemd-journald.socket remote-fs.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 03:17:05 EDT", "AssertTimestampMonotonic": "337497546", "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-08-03 03:17:05 EDT", "ConditionTimestampMonotonic": "337497520", "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-08-03 03:17:25 EDT", "ExecMainExitTimestampMonotonic": "357902226", "ExecMainPID": "38253", "ExecMainStartTimestamp": "Sat 2024-08-03 03:17:05 EDT", "ExecMainStartTimestampMonotonic": "337498717", "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-08-03 03:17:05 EDT] ; stop_time=[Sat 2024-08-03 03:17:25 EDT] ; pid=38253 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-03 03:17:05 EDT] ; stop_time=[Sat 2024-08-03 03:17:05 EDT] ; pid=38244 ; 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-08-03 03:17:05 EDT", "InactiveEnterTimestampMonotonic": "337496376", "InactiveExitTimestamp": "Sat 2024-08-03 03:17:05 EDT", "InactiveExitTimestampMonotonic": "337498761", "InvocationID": "367dff7ae4184b7e9121fd006ad04606", "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-08-03 03:17:25 EDT", "StateChangeTimestampMonotonic": "357902832", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 03 August 2024 03:17:30 -0400 (0:00:00.503) 0:00:37.822 ******* included: /tmp/tmp.TWPv1Lccgn/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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 03 August 2024 03:17:30 -0400 (0:00:00.046) 0:00:37.868 ******* 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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 03 August 2024 03:17:30 -0400 (0:00:00.343) 0:00:38.212 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZWpRZnpBcGhLOFBHV2NhbUdaaVVqSEZYQ2FybHZFQnZxcGgzTEZOeWh4Wjl6YXRCS3JTK1ZxNitGR1dZMHdKOUthdktHU3BhS05sWFU1TG00MnpYM3NENGMySjIvRk1xODN1OC82S2dTS1NMTGxaQ1BpK05CUHo4SFE3WklIVW5OSlo0bGw4c292N0dvK0tteFIwaEJKV2U1ZmlhUklVVTU0bEJNL21iS2J4OGFPS2Nnd2FkMEFVKzhjb1VLVkJWM05wVFNmeUN0VXNoS3RNU0hGQ0svNWxkWWdLclJZL3NHS3k0VGRicXlFRFUvZDFLWEdCUHZyMVFpOHpkTDlQbmZIeU9NUXp0Q1JmREtMR3A3ZWVUSmZYNWdDNHlBYzl1ajdKSGZXZDFvY25EVlRyU2dQZ3pwcklUdWVnWTFGeGhVdFV2R0U2ZVYzR3I0S2wyODBoOVpPLzBuWklBN3NpczZxTHpwTEtielN1bzlkV1ViZEN5eG5ETldZKzY2UWVBQ3NTWnZ2VGx2VEdYTkVSUEJtbTVYUkZITDZtRk03U3VaWWFqZjMvaVJEUjZsVEptaXdkM3pseFhuNDIxNWx0Q0tFaXFOajlCY2Znd2lBcUlVcEVWOEpvcU11ZTNPTnVuK3BHMkVRNHA1SElaMDdiMEFwclYyL1dmZHBXQ2ZvTWM9IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 03 August 2024 03:17:30 -0400 (0:00:00.340) 0:00:38.553 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 03 August 2024 03:17:31 -0400 (0:00:00.405) 0:00:38.959 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669421.5008724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722669421.9708517, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 505414016, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722669421.9708517, "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": "2864496842", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 03 August 2024 03:17:31 -0400 (0:00:00.355) 0:00:39.315 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669425.534694, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "856927f569b41346cd9316261c0d6700aeaef895", "ctime": 1722669421.9718516, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 507510918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722669421.9688516, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 598, "uid": 1189, "version": "1495300590", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 03 August 2024 03:17:32 -0400 (0:00:00.360) 0:00:39.675 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 03 August 2024 03:17:32 -0400 (0:00:00.364) 0:00:40.040 ******* ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 03 August 2024 03:17:32 -0400 (0:00:00.364) 0:00:40.405 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEcmRENTVON2Vxb2FGZE1KL1Joc3BGeGdIOWdWbnFSdlVaV0hScXpPY3JyRm40K2xOeTZSVHVoR0JyaU5PVjlyOTltNUwwOVBKbEI5UHpNSGRFZEJINUZobWp6anZFRGNldTJxUW4rUlhoL2IvNldxb25GMGhpWGZ3OVV6cThCelI1K2p4SEdBclpyK1dXN3pjRnNXMmZneVlEVGJoSGQwYWw0V0hXaWxENkZrdnI1R1JxKzkzV2VYZ1g2cFZCU3JzZVNPelhvNlFKOXhuM3Z0ZUVzTURsUXJyZENNV1U2UGdyaEZQQ2hCRmVqZXJIWlJ0Ymx0b0hGMksvcWJRTXZjUXNUWjVHMXFkQkgvNUN5K2RINnQxWkx4R1pvcW52Skl5Z05KUFBDeXVnRUxaSFNsTFhBRk9HUitPaXQrclhRNC9ITjlGSmF2MnlRR1BWTXRWaW9qNjg5Qk83MFhac203amhrR2diR3lWeFYyemJ2SWY1YnNOc1JGMDNyVkhSdWI2M0RvZVdnc1MyVWFTQ1dnOWtqNkZRb0hLTngzN04wdUplWkpSajRGTGxhQTNabm9jTXpXZWs2eVJWcEdiWTBQV1lSVzRyclRac0tkT3gvVjJ2ZVh3VldmbWtWdjYySWNpL3h5R1NacEJoc2lzRGtFV01PSWxZdjIvcXMzZUJ1S009IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 03 August 2024 03:17:33 -0400 (0:00:00.343) 0:00:40.748 ******* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.40.87 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDrdD55N7eqoaFdMJ/RhspFxgH9gVnqRvUZWHRqzOcrrFn4+lNy6RTuhGBriNOV9r99m5L09PJlB9PzMHdEdBH5FhmjzjvEDceu2qQn+RXh/b/6WqonF0hiXfw9Uzq8BzR5+jxHGArZr+WW7zcFsW2fgyYDTbhHd0al4WHWilD6Fkvr5GRq+93WeXgX6pVBSrseSOzXo6QJ9xn3vteEsMDlQrrdCMWU6PgrhFPChBFejerHZRtbltoHF2K/qbQMvcQsTZ5G1qdBH/5Cy+dH6t1ZLxGZoqnvJIygNJPPCyugELZHSlLXAFOGR+Oit+rXQ4/HN9FJav2yQGPVMtVioj689BO70XZsm7jhkGgbGyVxV2zbvIf5bsNsRF03rVHRub63DoeWgsS2UaSCWg9kj6FQoHKNx37N0uJeZJRj4FLlaA3ZnocMzWek6yRVpGbY0PWYRW4rrTZsKdOx/V2veXwVWfmkVv62Ici/xyGSZpBhsisDkEWMOIlYv2/qs3eBuKM= root@ip-10-31-40-87.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.40.87", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 03 August 2024 03:17:33 -0400 (0:00:00.388) 0:00:41.137 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669425.4336984, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "42faefd9fef5020b591abee0046d1f52865116a6", "ctime": 1722669423.954764, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 524288514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722669423.5827804, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "3035925303", "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.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 03 August 2024 03:17:33 -0400 (0:00:00.352) 0:00:41.490 ******* ok: [managed_node1] => { "changed": false, "checksum": "42faefd9fef5020b591abee0046d1f52865116a6", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.647) 0:00:42.137 ******* ok: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.343) 0:00:42.481 ******* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.019) 0:00:42.501 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.014) 0:00:42.516 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.013) 0:00:42.529 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.013) 0:00:42.543 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 03 August 2024 03:17:34 -0400 (0:00:00.013) 0:00:42.556 ******* skipping: [managed_node1] => { "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 03 August 2024 03:17:35 -0400 (0:00:00.015) 0:00:42.571 ******* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-03 03:17:25 EDT", "ActiveEnterTimestampMonotonic": "357902832", "ActiveExitTimestamp": "Sat 2024-08-03 03:17:05 EDT", "ActiveExitTimestampMonotonic": "337473087", "ActiveState": "active", "After": "network-online.target network.target system.slice basic.target systemd-journald.socket remote-fs.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 03:17:05 EDT", "AssertTimestampMonotonic": "337497546", "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-08-03 03:17:05 EDT", "ConditionTimestampMonotonic": "337497520", "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-08-03 03:17:25 EDT", "ExecMainExitTimestampMonotonic": "357902226", "ExecMainPID": "38253", "ExecMainStartTimestamp": "Sat 2024-08-03 03:17:05 EDT", "ExecMainStartTimestampMonotonic": "337498717", "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-08-03 03:17:05 EDT] ; stop_time=[Sat 2024-08-03 03:17:25 EDT] ; pid=38253 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-03 03:17:05 EDT] ; stop_time=[Sat 2024-08-03 03:17:05 EDT] ; pid=38244 ; 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-08-03 03:17:05 EDT", "InactiveEnterTimestampMonotonic": "337496376", "InactiveExitTimestamp": "Sat 2024-08-03 03:17:05 EDT", "InactiveExitTimestampMonotonic": "337498761", "InvocationID": "367dff7ae4184b7e9121fd006ad04606", "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-08-03 03:17:25 EDT", "StateChangeTimestampMonotonic": "357902832", "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/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 03 August 2024 03:17:35 -0400 (0:00:00.494) 0:00:43.066 ******* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FEZWpRZnpBcGhLOFBHV2NhbUdaaVVqSEZYQ2FybHZFQnZxcGgzTEZOeWh4Wjl6YXRCS3JTK1ZxNitGR1dZMHdKOUthdktHU3BhS05sWFU1TG00MnpYM3NENGMySjIvRk1xODN1OC82S2dTS1NMTGxaQ1BpK05CUHo4SFE3WklIVW5OSlo0bGw4c292N0dvK0tteFIwaEJKV2U1ZmlhUklVVTU0bEJNL21iS2J4OGFPS2Nnd2FkMEFVKzhjb1VLVkJWM05wVFNmeUN0VXNoS3RNU0hGQ0svNWxkWWdLclJZL3NHS3k0VGRicXlFRFUvZDFLWEdCUHZyMVFpOHpkTDlQbmZIeU9NUXp0Q1JmREtMR3A3ZWVUSmZYNWdDNHlBYzl1ajdKSGZXZDFvY25EVlRyU2dQZ3pwcklUdWVnWTFGeGhVdFV2R0U2ZVYzR3I0S2wyODBoOVpPLzBuWklBN3NpczZxTHpwTEtielN1bzlkV1ViZEN5eG5ETldZKzY2UWVBQ3NTWnZ2VGx2VEdYTkVSUEJtbTVYUkZITDZtRk03U3VaWWFqZjMvaVJEUjZsVEptaXdkM3pseFhuNDIxNWx0Q0tFaXFOajlCY2Znd2lBcUlVcEVWOEpvcU11ZTNPTnVuK3BHMkVRNHA1SElaMDdiMEFwclYyL1dmZHBXQ2ZvTWM9IHJvb3RAaXAtMTAtMzEtNDAtODcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 03 August 2024 03:17:35 -0400 (0:00:00.343) 0:00:43.410 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 03 August 2024 03:17:35 -0400 (0:00:00.017) 0:00:43.427 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722669421.5008724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1722669421.9708517, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 505414016, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722669421.9708517, "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": "2864496842", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert no changes to ssh dir] ******************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 03 August 2024 03:17:36 -0400 (0:00:00.355) 0:00:43.783 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 03 August 2024 03:17:36 -0400 (0:00:00.020) 0:00:43.803 ******* changed: [managed_node1] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 03 August 2024 03:17:36 -0400 (0:00:00.478) 0:00:44.282 ******* changed: [managed_node1] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=52 changed=7 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Saturday 03 August 2024 03:17:37 -0400 (0:00:00.362) 0:00:44.644 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 20.94s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 2.70s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Install required packages ------------- 2.65s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.81s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Gather facts from managed_node1 ----------------------------------------- 0.77s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.73s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.65s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Create a kdump user on kdump_ssh_server --------------------------------- 0.60s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.50s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.50s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.49s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.48s /tmp/tmp.TWPv1Lccgn/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.48s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Delete user ------------------------------------------------------------- 0.48s /tmp/tmp.TWPv1Lccgn/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.47s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Check if system is ostree ----------------------------------------------- 0.45s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.45s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.44s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.41s /tmp/tmp.TWPv1Lccgn/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19