ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ssh_reboot.yml ************************************************* 1 plays in /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 07 September 2024 03:20:04 -0400 (0:00:00.022) 0:00:00.022 **** ok: [managed_node2] META: ran handlers TASK [Gather facts from managed_node2] ***************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 07 September 2024 03:20:05 -0400 (0:00:01.132) 0:00:01.154 **** ok: [managed_node2 -> managed_node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 07 September 2024 03:20:06 -0400 (0:00:00.855) 0:00:02.010 **** changed: [managed_node2 -> managed_node2] => { "changed": true, "comment": "", "create_home": true, "group": 1189, "home": "/home/kdump_ssh_user", "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1189 } TASK [Set kdump_ssh_user, sshkey, auth keys] *********************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 07 September 2024 03:20:07 -0400 (0:00:00.993) 0:00:03.003 **** ok: [managed_node2] => { "ansible_facts": { "__authorized_keys_path": "/home/kdump_ssh_user/.ssh/authorized_keys", "__ssh_dir": "/home/kdump_ssh_user/.ssh", "kdump_ssh_user": "kdump_ssh_user" }, "changed": false } TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 07 September 2024 03:20:07 -0400 (0:00:00.019) 0:00:03.023 **** skipping: [managed_node2] => {} META: end_host conditional evaluated to false, continuing execution for managed_node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 07 September 2024 03:20:07 -0400 (0:00:00.031) 0:00:03.054 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 07 September 2024 03:20:07 -0400 (0:00:00.518) 0:00:03.573 **** ok: [managed_node2] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed_node2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 07 September 2024 03:20:07 -0400 (0:00:00.040) 0:00:03.613 **** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.053) 0:00:03.667 **** included: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.029) 0:00:03.696 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.016) 0:00:03.713 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.015) 0:00:03.728 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.015) 0:00:03.744 **** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 07 September 2024 03:20:08 -0400 (0:00:00.049) 0:00:03.794 **** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 07 September 2024 03:20:11 -0400 (0:00:02.934) 0:00:06.728 **** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-09-07 03:20:02 EDT", "ActiveEnterTimestampMonotonic": "341185927", "ActiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ActiveExitTimestampMonotonic": "338789800", "ActiveState": "active", "After": "network-online.target basic.target remote-fs.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 03:20:00 EDT", "AssertTimestampMonotonic": "338812985", "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-09-07 03:20:00 EDT", "ConditionTimestampMonotonic": "338812962", "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-09-07 03:20:02 EDT", "ExecMainExitTimestampMonotonic": "341185591", "ExecMainPID": "14875", "ExecMainStartTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ExecMainStartTimestampMonotonic": "338813961", "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-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:02 EDT] ; pid=14875 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:00 EDT] ; pid=14864 ; 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-09-07 03:20:00 EDT", "InactiveEnterTimestampMonotonic": "338812154", "InactiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "InactiveExitTimestampMonotonic": "338814034", "InvocationID": "7ebd9c91da4d497fa774d573b5e9c7b2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-07 03:20:02 EDT", "StateChangeTimestampMonotonic": "341185927", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 07 September 2024 03:20:11 -0400 (0:00:00.769) 0:00:07.498 **** included: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node2 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 07 September 2024 03:20:11 -0400 (0:00:00.055) 0:00:07.554 **** changed: [managed_node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.537877", "end": "2024-09-07 03:20:12.889817", "rc": 0, "start": "2024-09-07 03:20:12.351940" } STDOUT: Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/kdump_id_rsa. Your public key has been saved in /root/.ssh/kdump_id_rsa.pub. The key fingerprint is: SHA256:EUB4xCOFtLVuJlWOpdW0klosY4lX/v/ZMTIcm9JLcUQ root@ip-10-31-47-27.us-east-1.aws.redhat.com The key's randomart image is: +---[RSA 3072]----+ | ..B*.*o. E | | +++& o.. . | | oo@.O . . | | = = + . | | . = S . o . | | + .o * | | ..O o | | o.+oo| | .o .| +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 07 September 2024 03:20:12 -0400 (0:00:01.009) 0:00:08.564 **** ok: [managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDdUdGdi9JV2V3S3diTkU1SG44a0N3YlhJZjNKWXBQYkhCdWQzWmw1c2RHRG4zZXVjR3hCVUp4NXdLL1o1ZTNrbjI5dlo3bzZvaEFhUGRzOVgzR3YyaVdLSzgxOE9uaXhMUGdYRUZnUGNvNkpRUnkxTEpITEpwOHZySlBxRnNFUFFpaVVyWjl0RE9ta3RHajVrNlZrN2NrZnkvcVpUN0JEUmw1ZTd6cFR3bS9mTEI1V1BqKzVCTERoN1NaaFlVR25JdjJvQUxOOVBvQ29nS3BLZUlZbVdENkV6dGcxTEdqY0todzlNd0Q1blJrTXgyU2lXWktSU0tnK0lYc1RISUVLb1N3QjhPTU5iaGlFQldGbFhWQWVDNHZSMHVEdUl1dW5WVmN3T0d2TlZwbGdhUlNrTDNFZVBlS2NCaGwvNjdEM1FheFBiUnFFMytNY0djTGxZMmlGamxSK2NxUUtXMmcvMGRQRkJCdnZaME9tTTllMnROTWwzMkNlYkhrWnNCelFzMEpIOVBpRFhnOFJCYjh6Q2dCSWdsU3Z6ZGNTdkxEWVBwcFFFTzE3cmZPV3JkQlBVbUFoQmd1L2lnbi9naUhOWUdHWUFLZ3BwYXg5RlVoVEpWbWtUTFh4dUZDbHFtY013NVFxNmRIbnZRY1RTcmtiTkk4am81SXpRdm5xZUtjUGs9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 07 September 2024 03:20:13 -0400 (0:00:00.418) 0:00:08.982 **** ok: [managed_node2 -> managed_node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 07 September 2024 03:20:13 -0400 (0:00:00.422) 0:00:09.404 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 07 September 2024 03:20:14 -0400 (0:00:00.332) 0:00:09.736 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 07 September 2024 03:20:14 -0400 (0:00:00.330) 0:00:10.067 **** changed: [managed_node2 -> managed_node2] => { "changed": true, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 6, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 07 September 2024 03:20:14 -0400 (0:00:00.482) 0:00:10.550 **** changed: [managed_node2 -> managed_node2] => { "backup": "", "changed": true } MSG: line added and ownership, perms or SE linux context changed TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 07 September 2024 03:20:15 -0400 (0:00:00.481) 0:00:11.031 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM001ZWlXYnhhV0pzU01Kb2FVUTdnM1dzcnFpS1pVWUpJRWpWTGRoMUlBVkdsUzFWSUJhZVVBVDBWTzJsYmVUekdqMWVlL09kWk1oSDJSUzMwM2krVTVtWVpaNnVwbGRVYy9NaE9ONklibU1kak1WQXFQR3J1RDVjU3NJZUc0YnhsMWp2YVZBY1drVTI4M2h2RjhCZGpNOHRINTRLMkFKb0dMY01RSWlMZU1HelRIeG42VWl0dzIxdm9UVWJOV0tQWHVLY0tZdWcySlYyQWY5dXNJcUJyYlQyUWJkMSttNWN6UXk2eGl1MyszekNaOEJUSXRHWTJWMHRLdUtlNk44ck54ZzhlTW02eEU5bEtPNUdpbDh2dGhMdFpZYmNRdTBFbS9TNHhaYzJNSHE2ZDEvWWkxZmovWmJjR01nS1ZJKzFVeXBlU3BHcC9EclVLM3Z6M05TK2NyeVVoVDRzVEpOT1pSWmQ5Wk83aEhUc016TTF6K3diSnNqaUt5bENOdTJncG1kTm1rVWhxU1pkTmRVcDJHaU9kc3paTGV1UkdBVTJtWnAzRHFUSjg2YVMvMnJPb0prZ2p6WHBpRExxL3prRm5jT3hUS0tiYkt6LzBJMngyc1FTbVJEYTRPUGM1aHdhbTR1Mk1ZdWk3elZoRnJVZnNJbHRvTWZZVkY1T0FuWHM9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 07 September 2024 03:20:15 -0400 (0:00:00.355) 0:00:11.387 **** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.47.27 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3M5eiWbxaWJsSMJoaUQ7g3WsrqiKZUYJIEjVLdh1IAVGlS1VIBaeUAT0VO2lbeTzGj1ee/OdZMhH2RS303i+U5mYZZ6upldUc/MhON6IbmMdjMVAqPGruD5cSsIeG4bxl1jvaVAcWkU283hvF8BdjM8tH54K2AJoGLcMQIiLeMGzTHxn6Uitw21voTUbNWKPXuKcKYug2JV2Af9usIqBrbT2Qbd1+m5czQy6xiu3+3zCZ8BTItGY2V0tKuKe6N8rNxg8eMm6xE9lKO5Gil8vthLtZYbcQu0Em/S4xZc2MHq6d1/Yi1fj/ZbcGMgKVI+1UypeSpGp/DrUK3vz3NS+cryUhT4sTJNOZRZd9ZO7hHTsMzM1z+wbJsjiKylCNu2gpmdNmkUhqSZdNdUp2GiOdszZLeuRGAU2mZp3DqTJ86aS/2rOoJkgjzXpiDLq/zkFncOxTKKbbKz/0I2x2sQSmRDa4OPc5hwam4u2MYui7zVhFrUfsIltoMfYVF5OAnXs= root@ip-10-31-47-27.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.47.27", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 610, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 07 September 2024 03:20:16 -0400 (0:00:00.469) 0:00:11.857 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725693598.683114, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1725693596.8581123, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725693596.5031118, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "3426026987", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 07 September 2024 03:20:16 -0400 (0:00:00.367) 0:00:12.224 **** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node2 changed: [managed_node2] => { "backup_file": "/etc/kdump.conf.19904.2024-09-07@03:20:17~", "changed": true, "checksum": "60e1fac9d7ee146b8dba845050dbf07bae6879f1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "dc6c1db78369d09bed23b1e235956f9b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1725693616.6354892-10112-87802705867759/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.809) 0:00:13.033 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "content": "MjAxMzI2NTkyCg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.327) 0:00:13.360 **** ok: [managed_node2] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.017) 0:00:13.378 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.013) 0:00:13.392 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.014) 0:00:13.407 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.014) 0:00:13.421 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.013) 0:00:13.434 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 07 September 2024 03:20:17 -0400 (0:00:00.014) 0:00:13.448 **** ok: [managed_node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-07 03:20:02 EDT", "ActiveEnterTimestampMonotonic": "341185927", "ActiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ActiveExitTimestampMonotonic": "338789800", "ActiveState": "active", "After": "network-online.target basic.target remote-fs.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 03:20:00 EDT", "AssertTimestampMonotonic": "338812985", "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-09-07 03:20:00 EDT", "ConditionTimestampMonotonic": "338812962", "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-09-07 03:20:02 EDT", "ExecMainExitTimestampMonotonic": "341185591", "ExecMainPID": "14875", "ExecMainStartTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ExecMainStartTimestampMonotonic": "338813961", "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-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:02 EDT] ; pid=14875 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:00 EDT] ; pid=14864 ; 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-09-07 03:20:00 EDT", "InactiveEnterTimestampMonotonic": "338812154", "InactiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "InactiveExitTimestampMonotonic": "338814034", "InvocationID": "7ebd9c91da4d497fa774d573b5e9c7b2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-07 03:20:02 EDT", "StateChangeTimestampMonotonic": "341185927", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 07 September 2024 03:20:18 -0400 (0:00:00.477) 0:00:13.926 **** changed: [managed_node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-07 03:20:02 EDT", "ActiveEnterTimestampMonotonic": "341185927", "ActiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ActiveExitTimestampMonotonic": "338789800", "ActiveState": "active", "After": "network-online.target basic.target remote-fs.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 03:20:00 EDT", "AssertTimestampMonotonic": "338812985", "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-09-07 03:20:00 EDT", "ConditionTimestampMonotonic": "338812962", "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-09-07 03:20:02 EDT", "ExecMainExitTimestampMonotonic": "341185591", "ExecMainPID": "14875", "ExecMainStartTimestamp": "Sat 2024-09-07 03:20:00 EDT", "ExecMainStartTimestampMonotonic": "338813961", "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-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:02 EDT] ; pid=14875 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-09-07 03:20:00 EDT] ; stop_time=[Sat 2024-09-07 03:20:00 EDT] ; pid=14864 ; 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-09-07 03:20:00 EDT", "InactiveEnterTimestampMonotonic": "338812154", "InactiveExitTimestamp": "Sat 2024-09-07 03:20:00 EDT", "InactiveExitTimestampMonotonic": "338814034", "InvocationID": "7ebd9c91da4d497fa774d573b5e9c7b2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-07 03:20:02 EDT", "StateChangeTimestampMonotonic": "341185927", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Get the ssh dir for the user] ******************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 07 September 2024 03:20:37 -0400 (0:00:19.662) 0:00:33.588 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "atime": 1725693614.8481302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1725693615.3461308, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 327155842, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1725693615.3461308, "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": "1960988911", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Get the authorized_keys file for the user] ******************************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 07 September 2024 03:20:38 -0400 (0:00:00.336) 0:00:33.925 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "atime": 1725693619.2561347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "345c1a7c13d9daf72a8f33880021200986e2b1eb", "ctime": 1725693615.3481307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 329252999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725693615.3441308, "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": "3112306790", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 07 September 2024 03:20:38 -0400 (0:00:00.333) 0:00:34.258 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDdUdGdi9JV2V3S3diTkU1SG44a0N3YlhJZjNKWXBQYkhCdWQzWmw1c2RHRG4zZXVjR3hCVUp4NXdLL1o1ZTNrbjI5dlo3bzZvaEFhUGRzOVgzR3YyaVdLSzgxOE9uaXhMUGdYRUZnUGNvNkpRUnkxTEpITEpwOHZySlBxRnNFUFFpaVVyWjl0RE9ta3RHajVrNlZrN2NrZnkvcVpUN0JEUmw1ZTd6cFR3bS9mTEI1V1BqKzVCTERoN1NaaFlVR25JdjJvQUxOOVBvQ29nS3BLZUlZbVdENkV6dGcxTEdqY0todzlNd0Q1blJrTXgyU2lXWktSU0tnK0lYc1RISUVLb1N3QjhPTU5iaGlFQldGbFhWQWVDNHZSMHVEdUl1dW5WVmN3T0d2TlZwbGdhUlNrTDNFZVBlS2NCaGwvNjdEM1FheFBiUnFFMytNY0djTGxZMmlGamxSK2NxUUtXMmcvMGRQRkJCdnZaME9tTTllMnROTWwzMkNlYkhrWnNCelFzMEpIOVBpRFhnOFJCYjh6Q2dCSWdsU3Z6ZGNTdkxEWVBwcFFFTzE3cmZPV3JkQlBVbUFoQmd1L2lnbi9naUhOWUdHWUFLZ3BwYXg5RlVoVEpWbWtUTFh4dUZDbHFtY013NVFxNmRIbnZRY1RTcmtiTkk4am81SXpRdm5xZUtjUGs9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 07 September 2024 03:20:38 -0400 (0:00:00.316) 0:00:34.574 **** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 07 September 2024 03:20:38 -0400 (0:00:00.026) 0:00:34.601 **** included: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 07 September 2024 03:20:38 -0400 (0:00:00.019) 0:00:34.621 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 07 September 2024 03:20:39 -0400 (0:00:00.015) 0:00:34.636 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 07 September 2024 03:20:39 -0400 (0:00:00.013) 0:00:34.650 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 07 September 2024 03:20:39 -0400 (0:00:00.013) 0:00:34.664 **** skipping: [managed_node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 07 September 2024 03:20:39 -0400 (0:00:00.034) 0:00:34.698 **** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 07 September 2024 03:20:41 -0400 (0:00:02.735) 0:00:37.434 **** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-09-07 03:20:37 EDT", "ActiveEnterTimestampMonotonic": "376594351", "ActiveExitTimestamp": "Sat 2024-09-07 03:20:18 EDT", "ActiveExitTimestampMonotonic": "357436942", "ActiveState": "active", "After": "network-online.target basic.target remote-fs.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 03:20:18 EDT", "AssertTimestampMonotonic": "357459434", "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-09-07 03:20:18 EDT", "ConditionTimestampMonotonic": "357459411", "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-09-07 03:20:37 EDT", "ExecMainExitTimestampMonotonic": "376593906", "ExecMainPID": "20296", "ExecMainStartTimestamp": "Sat 2024-09-07 03:20:18 EDT", "ExecMainStartTimestampMonotonic": "357460358", "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-09-07 03:20:18 EDT] ; stop_time=[Sat 2024-09-07 03:20:37 EDT] ; pid=20296 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-09-07 03:20:18 EDT] ; stop_time=[Sat 2024-09-07 03:20:18 EDT] ; pid=20287 ; 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-09-07 03:20:18 EDT", "InactiveEnterTimestampMonotonic": "357458451", "InactiveExitTimestamp": "Sat 2024-09-07 03:20:18 EDT", "InactiveExitTimestampMonotonic": "357460391", "InvocationID": "ccfada0be44b4009ab90e0b02513544d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-07 03:20:37 EDT", "StateChangeTimestampMonotonic": "376594351", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 07 September 2024 03:20:42 -0400 (0:00:00.494) 0:00:37.929 **** included: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node2 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 07 September 2024 03:20:42 -0400 (0:00:00.072) 0:00:38.001 **** ok: [managed_node2] => { "changed": false, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "rc": 0 } STDOUT: skipped, since /root/.ssh/kdump_id_rsa exists TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 07 September 2024 03:20:42 -0400 (0:00:00.398) 0:00:38.399 **** ok: [managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDdUdGdi9JV2V3S3diTkU1SG44a0N3YlhJZjNKWXBQYkhCdWQzWmw1c2RHRG4zZXVjR3hCVUp4NXdLL1o1ZTNrbjI5dlo3bzZvaEFhUGRzOVgzR3YyaVdLSzgxOE9uaXhMUGdYRUZnUGNvNkpRUnkxTEpITEpwOHZySlBxRnNFUFFpaVVyWjl0RE9ta3RHajVrNlZrN2NrZnkvcVpUN0JEUmw1ZTd6cFR3bS9mTEI1V1BqKzVCTERoN1NaaFlVR25JdjJvQUxOOVBvQ29nS3BLZUlZbVdENkV6dGcxTEdqY0todzlNd0Q1blJrTXgyU2lXWktSU0tnK0lYc1RISUVLb1N3QjhPTU5iaGlFQldGbFhWQWVDNHZSMHVEdUl1dW5WVmN3T0d2TlZwbGdhUlNrTDNFZVBlS2NCaGwvNjdEM1FheFBiUnFFMytNY0djTGxZMmlGamxSK2NxUUtXMmcvMGRQRkJCdnZaME9tTTllMnROTWwzMkNlYkhrWnNCelFzMEpIOVBpRFhnOFJCYjh6Q2dCSWdsU3Z6ZGNTdkxEWVBwcFFFTzE3cmZPV3JkQlBVbUFoQmd1L2lnbi9naUhOWUdHWUFLZ3BwYXg5RlVoVEpWbWtUTFh4dUZDbHFtY013NVFxNmRIbnZRY1RTcmtiTkk4am81SXpRdm5xZUtjUGs9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 07 September 2024 03:20:43 -0400 (0:00:00.446) 0:00:38.846 **** ok: [managed_node2 -> managed_node2] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 07 September 2024 03:20:43 -0400 (0:00:00.464) 0:00:39.311 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "atime": 1725693614.8481302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1725693615.3461308, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 327155842, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1725693615.3461308, "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": "1960988911", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 07 September 2024 03:20:44 -0400 (0:00:00.465) 0:00:39.776 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "atime": 1725693619.2561347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "345c1a7c13d9daf72a8f33880021200986e2b1eb", "ctime": 1725693615.3481307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 329252999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1725693615.3441308, "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": "3112306790", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 07 September 2024 03:20:44 -0400 (0:00:00.420) 0:00:40.197 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 29, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 07 September 2024 03:20:45 -0400 (0:00:00.456) 0:00:40.653 **** ok: [managed_node2 -> managed_node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 07 September 2024 03:20:45 -0400 (0:00:00.527) 0:00:41.181 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDM001ZWlXYnhhV0pzU01Kb2FVUTdnM1dzcnFpS1pVWUpJRWpWTGRoMUlBVkdsUzFWSUJhZVVBVDBWTzJsYmVUekdqMWVlL09kWk1oSDJSUzMwM2krVTVtWVpaNnVwbGRVYy9NaE9ONklibU1kak1WQXFQR3J1RDVjU3NJZUc0YnhsMWp2YVZBY1drVTI4M2h2RjhCZGpNOHRINTRLMkFKb0dMY01RSWlMZU1HelRIeG42VWl0dzIxdm9UVWJOV0tQWHVLY0tZdWcySlYyQWY5dXNJcUJyYlQyUWJkMSttNWN6UXk2eGl1MyszekNaOEJUSXRHWTJWMHRLdUtlNk44ck54ZzhlTW02eEU5bEtPNUdpbDh2dGhMdFpZYmNRdTBFbS9TNHhaYzJNSHE2ZDEvWWkxZmovWmJjR01nS1ZJKzFVeXBlU3BHcC9EclVLM3Z6M05TK2NyeVVoVDRzVEpOT1pSWmQ5Wk83aEhUc016TTF6K3diSnNqaUt5bENOdTJncG1kTm1rVWhxU1pkTmRVcDJHaU9kc3paTGV1UkdBVTJtWnAzRHFUSjg2YVMvMnJPb0prZ2p6WHBpRExxL3prRm5jT3hUS0tiYkt6LzBJMngyc1FTbVJEYTRPUGM1aHdhbTR1Mk1ZdWk3elZoRnJVZnNJbHRvTWZZVkY1T0FuWHM9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 07 September 2024 03:20:46 -0400 (0:00:00.498) 0:00:41.679 **** ok: [managed_node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.47.27 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3M5eiWbxaWJsSMJoaUQ7g3WsrqiKZUYJIEjVLdh1IAVGlS1VIBaeUAT0VO2lbeTzGj1ee/OdZMhH2RS303i+U5mYZZ6upldUc/MhON6IbmMdjMVAqPGruD5cSsIeG4bxl1jvaVAcWkU283hvF8BdjM8tH54K2AJoGLcMQIiLeMGzTHxn6Uitw21voTUbNWKPXuKcKYug2JV2Af9usIqBrbT2Qbd1+m5czQy6xiu3+3zCZ8BTItGY2V0tKuKe6N8rNxg8eMm6xE9lKO5Gil8vthLtZYbcQu0Em/S4xZc2MHq6d1/Yi1fj/ZbcGMgKVI+1UypeSpGp/DrUK3vz3NS+cryUhT4sTJNOZRZd9ZO7hHTsMzM1z+wbJsjiKylCNu2gpmdNmkUhqSZdNdUp2GiOdszZLeuRGAU2mZp3DqTJ86aS/2rOoJkgjzXpiDLq/zkFncOxTKKbbKz/0I2x2sQSmRDa4OPc5hwam4u2MYui7zVhFrUfsIltoMfYVF5OAnXs= root@ip-10-31-47-27.us-east-1.aws.redhat.com\n", "mode": "0644", "name": "10.31.47.27", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 610, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 07 September 2024 03:20:46 -0400 (0:00:00.511) 0:00:42.191 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1725693618.7791343, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "60e1fac9d7ee146b8dba845050dbf07bae6879f1", "ctime": 1725693617.3531327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 346030211, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1725693616.9971323, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "4033739799", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 07 September 2024 03:20:47 -0400 (0:00:00.495) 0:00:42.687 **** ok: [managed_node2] => { "changed": false, "checksum": "60e1fac9d7ee146b8dba845050dbf07bae6879f1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/kdump.conf", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 07 September 2024 03:20:47 -0400 (0:00:00.839) 0:00:43.526 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "content": "MjAxMzI2NTkyCg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.444) 0:00:43.971 **** ok: [managed_node2] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.018) 0:00:43.990 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.014) 0:00:44.004 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.013) 0:00:44.018 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.014) 0:00:44.033 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.014) 0:00:44.047 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 07 September 2024 03:20:48 -0400 (0:00:00.013) 0:00:44.060 **** ok: [managed_node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-09-07 03:20:37 EDT", "ActiveEnterTimestampMonotonic": "376594351", "ActiveExitTimestamp": "Sat 2024-09-07 03:20:18 EDT", "ActiveExitTimestampMonotonic": "357436942", "ActiveState": "active", "After": "network-online.target basic.target remote-fs.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-07 03:20:18 EDT", "AssertTimestampMonotonic": "357459434", "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-09-07 03:20:18 EDT", "ConditionTimestampMonotonic": "357459411", "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-09-07 03:20:37 EDT", "ExecMainExitTimestampMonotonic": "376593906", "ExecMainPID": "20296", "ExecMainStartTimestamp": "Sat 2024-09-07 03:20:18 EDT", "ExecMainStartTimestampMonotonic": "357460358", "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-09-07 03:20:18 EDT] ; stop_time=[Sat 2024-09-07 03:20:37 EDT] ; pid=20296 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-09-07 03:20:18 EDT] ; stop_time=[Sat 2024-09-07 03:20:18 EDT] ; pid=20287 ; 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-09-07 03:20:18 EDT", "InactiveEnterTimestampMonotonic": "357458451", "InactiveExitTimestamp": "Sat 2024-09-07 03:20:18 EDT", "InactiveExitTimestampMonotonic": "357460391", "InvocationID": "ccfada0be44b4009ab90e0b02513544d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "0", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-07 03:20:37 EDT", "StateChangeTimestampMonotonic": "376594351", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get the authorized_keys contents after] ********************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 07 September 2024 03:20:49 -0400 (0:00:00.621) 0:00:44.682 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCZ1FDdUdGdi9JV2V3S3diTkU1SG44a0N3YlhJZjNKWXBQYkhCdWQzWmw1c2RHRG4zZXVjR3hCVUp4NXdLL1o1ZTNrbjI5dlo3bzZvaEFhUGRzOVgzR3YyaVdLSzgxOE9uaXhMUGdYRUZnUGNvNkpRUnkxTEpITEpwOHZySlBxRnNFUFFpaVVyWjl0RE9ta3RHajVrNlZrN2NrZnkvcVpUN0JEUmw1ZTd6cFR3bS9mTEI1V1BqKzVCTERoN1NaaFlVR25JdjJvQUxOOVBvQ29nS3BLZUlZbVdENkV6dGcxTEdqY0todzlNd0Q1blJrTXgyU2lXWktSU0tnK0lYc1RISUVLb1N3QjhPTU5iaGlFQldGbFhWQWVDNHZSMHVEdUl1dW5WVmN3T0d2TlZwbGdhUlNrTDNFZVBlS2NCaGwvNjdEM1FheFBiUnFFMytNY0djTGxZMmlGamxSK2NxUUtXMmcvMGRQRkJCdnZaME9tTTllMnROTWwzMkNlYkhrWnNCelFzMEpIOVBpRFhnOFJCYjh6Q2dCSWdsU3Z6ZGNTdkxEWVBwcFFFTzE3cmZPV3JkQlBVbUFoQmd1L2lnbi9naUhOWUdHWUFLZ3BwYXg5RlVoVEpWbWtUTFh4dUZDbHFtY013NVFxNmRIbnZRY1RTcmtiTkk4am81SXpRdm5xZUtjUGs9IHJvb3RAaXAtMTAtMzEtNDctMjcudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 07 September 2024 03:20:49 -0400 (0:00:00.436) 0:00:45.118 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 07 September 2024 03:20:49 -0400 (0:00:00.023) 0:00:45.141 **** ok: [managed_node2 -> managed_node2] => { "changed": false, "stat": { "atime": 1725693614.8481302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1725693615.3461308, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 327155842, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1725693615.3461308, "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": "1960988911", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert no changes to ssh dir] ******************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 07 September 2024 03:20:49 -0400 (0:00:00.442) 0:00:45.583 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 07 September 2024 03:20:49 -0400 (0:00:00.023) 0:00:45.607 **** changed: [managed_node2] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 07 September 2024 03:20:50 -0400 (0:00:00.547) 0:00:46.155 **** changed: [managed_node2 -> managed_node2] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=52 changed=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Saturday 07 September 2024 03:20:50 -0400 (0:00:00.459) 0:00:46.615 **** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.66s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 2.74s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.13s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 1.01s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Create a kdump user on kdump_ssh_server --------------------------------- 0.99s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Gather facts from managed_node2 ----------------------------------------- 0.86s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.84s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.62s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Delete user ------------------------------------------------------------- 0.55s /tmp/collections-M2d/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.53s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Check if system is ostree ----------------------------------------------- 0.52s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.51s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.50s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.50s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.49s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.48s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.48s /tmp/collections-M2d/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.47s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.47s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.46s /tmp/collections-M2d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19