ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-HVA/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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 12 October 2024 05:28:30 -0400 (0:00:00.037) 0:00:00.037 ****** ok: [managed-node2] META: ran handlers TASK [Gather facts from managed-node2] ***************************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 12 October 2024 05:28:31 -0400 (0:00:00.956) 0:00:00.993 ****** ok: [managed-node2 -> managed-node2] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 12 October 2024 05:28:31 -0400 (0:00:00.571) 0:00:01.564 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.616) 0:00:02.181 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.038) 0:00:02.220 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.053) 0:00:02.273 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.409) 0:00:02.683 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.040) 0:00:02.724 ****** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.064) 0:00:02.788 ****** included: /tmp/collections-HVA/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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.043) 0:00:02.832 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.032) 0:00:02.864 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 12 October 2024 05:28:32 -0400 (0:00:00.029) 0:00:02.894 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 12 October 2024 05:28:33 -0400 (0:00:00.028) 0:00:02.922 ****** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 12 October 2024 05:28:33 -0400 (0:00:00.075) 0:00:02.998 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 12 October 2024 05:28:33 -0400 (0:00:00.694) 0:00:03.692 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ActiveEnterTimestampMonotonic": "480024860", "ActiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ActiveExitTimestampMonotonic": "478634043", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-12 05:28:25 EDT", "AssertTimestampMonotonic": "478664789", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ConditionTimestampMonotonic": "478664788", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ExecMainExitTimestampMonotonic": "480024452", "ExecMainPID": "17516", "ExecMainStartTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ExecMainStartTimestampMonotonic": "478665441", "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-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:26 EDT] ; pid=17516 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:25 EDT] ; pid=17505 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveEnterTimestampMonotonic": "478664160", "InactiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveExitTimestampMonotonic": "478665476", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 12 October 2024 05:28:34 -0400 (0:00:00.623) 0:00:04.315 ****** included: /tmp/collections-HVA/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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 12 October 2024 05:28:34 -0400 (0:00:00.082) 0:00:04.398 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.144455", "end": "2024-10-12 05:28:35.001644", "rc": 0, "start": "2024-10-12 05:28:34.857189" } 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:I0aF87a6E8+FxGIiBT0fqg4HEyfaAoU/kMs8pkXJCbU root@managed-node2 The key's randomart image is: +---[RSA 2048]----+ |.B+= .. | |B *.+ +. | |=XE. +.= | |*=* o.+ = | |o=.+ oo+So | |o o ...o.. | | + = . | | . o o | | .o | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 12 October 2024 05:28:35 -0400 (0:00:00.569) 0:00:04.968 ****** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDMnMrYUxvMWZFaHQzRVdMUVFBN1ArREVWWXkwL1hTM05UUmpLczA1UFFkYlZhZmRXMzF5TEdCbnV3bmd2QXNTbktJTFcvU3RLTUZYdjdDMFlpUmhCT1AyeUttRDBJMjdBbGhVOExoSElUZHByT1hsaWpFNWs5U1pqMzVBRTJOYmtpdnBWTk5DRFE0VUxSMlVlYzI4WU41V0VZTnorbm9EL0pQazVRbm5rdEdVM1RaaDk5WERaMHlPK2VjOE4zNmluVDYrZGNZTkZjSktYeFVzQ01xMm9qMkdqNC82ZGJBMTQ2TTdCS0oxNVE0OVRNUmQxOUU1dmo2ZmhROC9iaG9Cbms4azRQTW1HMUFXRURBREU1K3psQXE3aHhreTlLZGdFTWV3VlAyT1RWNi9SUFR3dGdGbVNGc2ovSkRLRGt6dmd2dGQ5bmUyUmw3QU8rb1pKcFFQVUggcm9vdEBtYW5hZ2VkLW5vZGUyCg==", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 12 October 2024 05:28:35 -0400 (0:00:00.411) 0:00:05.379 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 12 October 2024 05:28:35 -0400 (0:00:00.338) 0:00:05.717 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 12 October 2024 05:28:36 -0400 (0:00:00.299) 0:00:06.017 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 12 October 2024 05:28:36 -0400 (0:00:00.306) 0:00:06.323 ****** 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": 4096, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 12 October 2024 05:28:36 -0400 (0:00:00.462) 0:00:06.786 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 12 October 2024 05:28:37 -0400 (0:00:00.480) 0:00:07.266 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDOHZFZW9SMUhvYWcwZFZwRTQ2RWFUQnUyOU5SRG5TNFArd2V5bm1FM0c3T0tFek52amxyTUNqZHZHZVR2eEhqNlJ0ZStwM3BMaURuMTQreWEvRmo2WFhubDhPMGFnOHc5eFh0ZVBLUDBmODNMOXBYZlJ4b1U2OVVRSGRaRUNhRHZYYkRjenZrSlBrZzNnZ1JQRjJLNUZmTk9ham9oR0ExTlRDbjR2d3E2ZkQ3RnpMbmRmSGk0aVhFUjh1TnlQdG5tMDFiWVlCSXhna2sxZk5KaC9YRTg4bFl2ekdRSVNqMms5aGpoSDd1ZG5TWlB1MmwxY1dLVzVXeVc3R2YxbVhOSGpYOEtjZ3RMRmhxQ2d6ZkpWbXBEdG1wZWhIU0VqblIyalMySTdtem4rUGd2TEpMcFJFY3BQclA4OC81eXNBM2dzVHMzMmREQmxJdkxQVC9RSk56WTMgCg==", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 12 October 2024 05:28:37 -0400 (0:00:00.260) 0:00:07.527 ****** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.45.23 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.45.23", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 394, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 12 October 2024 05:28:38 -0400 (0:00:00.516) 0:00:08.043 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728725304.1932228, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "ctime": 1728725301.8052273, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262448, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728725301.476228, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 105, "uid": 0, "version": "18446744072344490545", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 12 October 2024 05:28:38 -0400 (0:00:00.283) 0:00:08.326 ****** NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node2 changed: [managed-node2] => { "backup_file": "/etc/kdump.conf.19324.2024-10-12@05:28:39~", "changed": true, "checksum": "0dae06766df99a069cc9fa5a6ddedb99d5eaf876", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "d2349344e1280d52f7dbaf612ddff340", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 120, "src": "/root/.ansible/tmp/ansible-tmp-1728725318.45-11923-10361322271844/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.801) 0:00:09.128 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.292) 0:00:09.420 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.026) 0:00:09.447 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.022) 0:00:09.469 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.022) 0:00:09.491 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.027) 0:00:09.519 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.027) 0:00:09.546 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.029) 0:00:09.576 ****** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ActiveEnterTimestampMonotonic": "480024860", "ActiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ActiveExitTimestampMonotonic": "478634043", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-12 05:28:25 EDT", "AssertTimestampMonotonic": "478664789", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ConditionTimestampMonotonic": "478664788", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ExecMainExitTimestampMonotonic": "480024452", "ExecMainPID": "17516", "ExecMainStartTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ExecMainStartTimestampMonotonic": "478665441", "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-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:26 EDT] ; pid=17516 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:25 EDT] ; pid=17505 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveEnterTimestampMonotonic": "478664160", "InactiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveExitTimestampMonotonic": "478665476", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 12 October 2024 05:28:39 -0400 (0:00:00.336) 0:00:09.913 ****** changed: [managed-node2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ActiveEnterTimestampMonotonic": "480024860", "ActiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ActiveExitTimestampMonotonic": "478634043", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-12 05:28:25 EDT", "AssertTimestampMonotonic": "478664789", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ConditionTimestampMonotonic": "478664788", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-10-12 05:28:26 EDT", "ExecMainExitTimestampMonotonic": "480024452", "ExecMainPID": "17516", "ExecMainStartTimestamp": "Sat 2024-10-12 05:28:25 EDT", "ExecMainStartTimestampMonotonic": "478665441", "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-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:26 EDT] ; pid=17516 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-12 05:28:25 EDT] ; stop_time=[Sat 2024-10-12 05:28:25 EDT] ; pid=17505 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveEnterTimestampMonotonic": "478664160", "InactiveExitTimestamp": "Sat 2024-10-12 05:28:25 EDT", "InactiveExitTimestampMonotonic": "478665476", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Get the ssh dir for the user] ******************************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 12 October 2024 05:28:59 -0400 (0:00:19.221) 0:00:29.134 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1728725316.8082123, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1728725317.2792118, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262457, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1728725317.2792118, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "18446744072344490694", "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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 12 October 2024 05:28:59 -0400 (0:00:00.343) 0:00:29.478 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1728725320.4332092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "02a8993bff896fac74d830b66a747891bf3a0316", "ctime": 1728725317.2802117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728725317.2772117, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 400, "uid": 1189, "version": "18446744072344490700", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 12 October 2024 05:28:59 -0400 (0:00:00.367) 0:00:29.846 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDMnMrYUxvMWZFaHQzRVdMUVFBN1ArREVWWXkwL1hTM05UUmpLczA1UFFkYlZhZmRXMzF5TEdCbnV3bmd2QXNTbktJTFcvU3RLTUZYdjdDMFlpUmhCT1AyeUttRDBJMjdBbGhVOExoSElUZHByT1hsaWpFNWs5U1pqMzVBRTJOYmtpdnBWTk5DRFE0VUxSMlVlYzI4WU41V0VZTnorbm9EL0pQazVRbm5rdEdVM1RaaDk5WERaMHlPK2VjOE4zNmluVDYrZGNZTkZjSktYeFVzQ01xMm9qMkdqNC82ZGJBMTQ2TTdCS0oxNVE0OVRNUmQxOUU1dmo2ZmhROC9iaG9Cbms4azRQTW1HMUFXRURBREU1K3psQXE3aHhreTlLZGdFTWV3VlAyT1RWNi9SUFR3dGdGbVNGc2ovSkRLRGt6dmd2dGQ5bmUyUmw3QU8rb1pKcFFQVUggcm9vdEBtYW5hZ2VkLW5vZGUyCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.354) 0:00:30.201 ****** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.072) 0:00:30.273 ****** included: /tmp/collections-HVA/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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.062) 0:00:30.336 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.057) 0:00:30.393 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.025) 0:00:30.418 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.021) 0:00:30.440 ****** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 12 October 2024 05:29:00 -0400 (0:00:00.048) 0:00:30.488 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 12 October 2024 05:29:01 -0400 (0:00:00.559) 0:00:31.048 ****** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-10-12 05:28:59 EDT", "ActiveEnterTimestampMonotonic": "512410865", "ActiveExitTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ActiveExitTimestampMonotonic": "493591112", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-12 05:28:40 EDT", "AssertTimestampMonotonic": "493609218", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ConditionTimestampMonotonic": "493609217", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-10-12 05:28:59 EDT", "ExecMainExitTimestampMonotonic": "512410111", "ExecMainPID": "19494", "ExecMainStartTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ExecMainStartTimestampMonotonic": "493609793", "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-10-12 05:28:40 EDT] ; stop_time=[Sat 2024-10-12 05:28:59 EDT] ; pid=19494 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-12 05:28:40 EDT] ; stop_time=[Sat 2024-10-12 05:28:40 EDT] ; pid=19486 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-10-12 05:28:40 EDT", "InactiveEnterTimestampMonotonic": "493608216", "InactiveExitTimestamp": "Sat 2024-10-12 05:28:40 EDT", "InactiveExitTimestampMonotonic": "493609826", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 12 October 2024 05:29:01 -0400 (0:00:00.506) 0:00:31.554 ****** included: /tmp/collections-HVA/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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 12 October 2024 05:29:01 -0400 (0:00:00.097) 0:00:31.652 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 12 October 2024 05:29:02 -0400 (0:00:00.362) 0:00:32.015 ****** ok: [managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDMnMrYUxvMWZFaHQzRVdMUVFBN1ArREVWWXkwL1hTM05UUmpLczA1UFFkYlZhZmRXMzF5TEdCbnV3bmd2QXNTbktJTFcvU3RLTUZYdjdDMFlpUmhCT1AyeUttRDBJMjdBbGhVOExoSElUZHByT1hsaWpFNWs5U1pqMzVBRTJOYmtpdnBWTk5DRFE0VUxSMlVlYzI4WU41V0VZTnorbm9EL0pQazVRbm5rdEdVM1RaaDk5WERaMHlPK2VjOE4zNmluVDYrZGNZTkZjSktYeFVzQ01xMm9qMkdqNC82ZGJBMTQ2TTdCS0oxNVE0OVRNUmQxOUU1dmo2ZmhROC9iaG9Cbms4azRQTW1HMUFXRURBREU1K3psQXE3aHhreTlLZGdFTWV3VlAyT1RWNi9SUFR3dGdGbVNGc2ovSkRLRGt6dmd2dGQ5bmUyUmw3QU8rb1pKcFFQVUggcm9vdEBtYW5hZ2VkLW5vZGUyCg==", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 12 October 2024 05:29:02 -0400 (0:00:00.422) 0:00:32.437 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 12 October 2024 05:29:02 -0400 (0:00:00.448) 0:00:32.886 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1728725316.8082123, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1728725317.2792118, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262457, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1728725317.2792118, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "18446744072344490694", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 12 October 2024 05:29:03 -0400 (0:00:00.477) 0:00:33.364 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1728725320.4332092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "02a8993bff896fac74d830b66a747891bf3a0316", "ctime": 1728725317.2802117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728725317.2772117, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 400, "uid": 1189, "version": "18446744072344490700", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 12 October 2024 05:29:03 -0400 (0:00:00.409) 0:00:33.773 ****** 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": 4096, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 12 October 2024 05:29:04 -0400 (0:00:00.370) 0:00:34.143 ****** ok: [managed-node2 -> managed-node2] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 12 October 2024 05:29:04 -0400 (0:00:00.456) 0:00:34.600 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDOHZFZW9SMUhvYWcwZFZwRTQ2RWFUQnUyOU5SRG5TNFArd2V5bm1FM0c3T0tFek52amxyTUNqZHZHZVR2eEhqNlJ0ZStwM3BMaURuMTQreWEvRmo2WFhubDhPMGFnOHc5eFh0ZVBLUDBmODNMOXBYZlJ4b1U2OVVRSGRaRUNhRHZYYkRjenZrSlBrZzNnZ1JQRjJLNUZmTk9ham9oR0ExTlRDbjR2d3E2ZkQ3RnpMbmRmSGk0aVhFUjh1TnlQdG5tMDFiWVlCSXhna2sxZk5KaC9YRTg4bFl2ekdRSVNqMms5aGpoSDd1ZG5TWlB1MmwxY1dLVzVXeVc3R2YxbVhOSGpYOEtjZ3RMRmhxQ2d6ZkpWbXBEdG1wZWhIU0VqblIyalMySTdtem4rUGd2TEpMcFJFY3BQclA4OC81eXNBM2dzVHMzMmREQmxJdkxQVC9RSk56WTMgCg==", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 12 October 2024 05:29:05 -0400 (0:00:00.402) 0:00:35.002 ****** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.45.23 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.45.23", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 394, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 12 October 2024 05:29:05 -0400 (0:00:00.521) 0:00:35.524 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728725320.3282092, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0dae06766df99a069cc9fa5a6ddedb99d5eaf876", "ctime": 1728725319.1612103, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262450, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728725318.7732105, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 120, "uid": 0, "version": "18446744072344490724", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 12 October 2024 05:29:05 -0400 (0:00:00.374) 0:00:35.899 ****** ok: [managed-node2] => { "changed": false, "checksum": "0dae06766df99a069cc9fa5a6ddedb99d5eaf876", "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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 12 October 2024 05:29:06 -0400 (0:00:00.699) 0:00:36.598 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.374) 0:00:36.973 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.028) 0:00:37.001 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.025) 0:00:37.027 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.027) 0:00:37.054 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.051) 0:00:37.106 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.031) 0:00:37.137 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.026) 0:00:37.164 ****** ok: [managed-node2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-10-12 05:28:59 EDT", "ActiveEnterTimestampMonotonic": "512410865", "ActiveExitTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ActiveExitTimestampMonotonic": "493591112", "ActiveState": "active", "After": "network-online.target basic.target network.target remote-fs.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-10-12 05:28:40 EDT", "AssertTimestampMonotonic": "493609218", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ConditionTimestampMonotonic": "493609217", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-10-12 05:28:59 EDT", "ExecMainExitTimestampMonotonic": "512410111", "ExecMainPID": "19494", "ExecMainStartTimestamp": "Sat 2024-10-12 05:28:40 EDT", "ExecMainStartTimestampMonotonic": "493609793", "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-10-12 05:28:40 EDT] ; stop_time=[Sat 2024-10-12 05:28:59 EDT] ; pid=19494 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-10-12 05:28:40 EDT] ; stop_time=[Sat 2024-10-12 05:28:40 EDT] ; pid=19486 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-10-12 05:28:40 EDT", "InactiveEnterTimestampMonotonic": "493608216", "InactiveExitTimestamp": "Sat 2024-10-12 05:28:40 EDT", "InactiveExitTimestampMonotonic": "493609826", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Get the authorized_keys contents after] ********************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 12 October 2024 05:29:07 -0400 (0:00:00.525) 0:00:37.690 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDMnMrYUxvMWZFaHQzRVdMUVFBN1ArREVWWXkwL1hTM05UUmpLczA1UFFkYlZhZmRXMzF5TEdCbnV3bmd2QXNTbktJTFcvU3RLTUZYdjdDMFlpUmhCT1AyeUttRDBJMjdBbGhVOExoSElUZHByT1hsaWpFNWs5U1pqMzVBRTJOYmtpdnBWTk5DRFE0VUxSMlVlYzI4WU41V0VZTnorbm9EL0pQazVRbm5rdEdVM1RaaDk5WERaMHlPK2VjOE4zNmluVDYrZGNZTkZjSktYeFVzQ01xMm9qMkdqNC82ZGJBMTQ2TTdCS0oxNVE0OVRNUmQxOUU1dmo2ZmhROC9iaG9Cbms4azRQTW1HMUFXRURBREU1K3psQXE3aHhreTlLZGdFTWV3VlAyT1RWNi9SUFR3dGdGbVNGc2ovSkRLRGt6dmd2dGQ5bmUyUmw3QU8rb1pKcFFQVUggcm9vdEBtYW5hZ2VkLW5vZGUyCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 12 October 2024 05:29:08 -0400 (0:00:00.400) 0:00:38.090 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 12 October 2024 05:29:08 -0400 (0:00:00.042) 0:00:38.132 ****** ok: [managed-node2 -> managed-node2] => { "changed": false, "stat": { "atime": 1728725316.8082123, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1728725317.2792118, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262457, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1728725317.2792118, "nlink": 2, "path": "/home/kdump_ssh_user/.ssh", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 1189, "version": "18446744072344490694", "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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 12 October 2024 05:29:08 -0400 (0:00:00.335) 0:00:38.467 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 12 October 2024 05:29:08 -0400 (0:00:00.060) 0:00:38.528 ****** 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-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 12 October 2024 05:29:09 -0400 (0:00:00.521) 0:00:39.049 ****** 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 12 October 2024 05:29:09 -0400 (0:00:00.420) 0:00:39.469 ****** =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.22s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.96s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.70s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Create a kdump user on kdump_ssh_server --------------------------------- 0.62s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Gather facts from managed-node2 ----------------------------------------- 0.57s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.57s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 0.56s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.53s /tmp/collections-HVA/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.52s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Delete user ------------------------------------------------------------- 0.52s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.52s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.51s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.48s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.48s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.46s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.46s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.45s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.42s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Cleanup kdump_path ------------------------------------------------------ 0.42s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.41s /tmp/collections-HVA/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7