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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Saturday 27 July 2024 03:23:04 -0400 (0:00:00.023) 0:00:00.023 ********* ok: [managed_node1] META: ran handlers TASK [Gather facts from managed_node1] ***************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Saturday 27 July 2024 03:23:05 -0400 (0:00:00.836) 0:00:00.859 ********* ok: [managed_node1 -> managed_node1] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Saturday 27 July 2024 03:23:06 -0400 (0:00:00.534) 0:00:01.394 ********* changed: [managed_node1 -> managed_node1] => { "changed": true, "comment": "", "create_home": true, "group": 1189, "home": "/home/kdump_ssh_user", "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1189 } TASK [Set kdump_ssh_user, sshkey, auth keys] *********************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Saturday 27 July 2024 03:23:06 -0400 (0:00:00.667) 0:00:02.062 ********* ok: [managed_node1] => { "ansible_facts": { "__authorized_keys_path": "/home/kdump_ssh_user/.ssh/authorized_keys", "__ssh_dir": "/home/kdump_ssh_user/.ssh", "kdump_ssh_user": "kdump_ssh_user" }, "changed": false } TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Saturday 27 July 2024 03:23:06 -0400 (0:00:00.021) 0:00:02.084 ********* skipping: [managed_node1] => {} META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Saturday 27 July 2024 03:23:06 -0400 (0:00:00.029) 0:00:02.113 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.376) 0:00:02.490 ********* ok: [managed_node1] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.030) 0:00:02.520 ********* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.044) 0:00:02.565 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.031) 0:00:02.596 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.020) 0:00:02.616 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.019) 0:00:02.635 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.021) 0:00:02.657 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 27 July 2024 03:23:07 -0400 (0:00:00.043) 0:00:02.701 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 27 July 2024 03:23:08 -0400 (0:00:00.679) 0:00:03.381 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ActiveEnterTimestampMonotonic": "304886770", "ActiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ActiveExitTimestampMonotonic": "285326503", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:22:21 EDT", "AssertTimestampMonotonic": "285343854", "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-07-27 03:22:21 EDT", "ConditionTimestampMonotonic": "285343852", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ExecMainExitTimestampMonotonic": "304886317", "ExecMainPID": "32620", "ExecMainStartTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ExecMainStartTimestampMonotonic": "285344406", "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-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:40 EDT] ; pid=32620 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:21 EDT] ; pid=32612 ; 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-07-27 03:22:21 EDT", "InactiveEnterTimestampMonotonic": "285343488", "InactiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "InactiveExitTimestampMonotonic": "285344463", "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 27 July 2024 03:23:08 -0400 (0:00:00.566) 0:00:03.947 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 27 July 2024 03:23:08 -0400 (0:00:00.063) 0:00:04.011 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 27 July 2024 03:23:09 -0400 (0:00:00.400) 0:00:04.412 ********* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQnZDR1RlQUZPQlFIQnJEeU1VcWZET1VhWm9kMFMxWGliSncrNzVBdmxKMHJleTdiUUthb0Z3bTRFTjB6OERVR1RzbGJTTlB3WTNCNnJON3NFUDFWbS9MMTJQNzBndUtvbzJ3aFVzYmFyajVqTVBBODYvTXJ1Y0x2ZWJKOFJ0aDdiQ05kSTdUblY2VHhLd1pua2RCWWdNRisvbUJ3dm9lZnk4ajlCbzVlT0FSSGx6QzVJWkh4ZWNBZjZqN203TjRBUHZQcnMyRlBDN0Z1N1A5MmI1eW4vMnlEYUt5SWZiaStkY05VcDc3c0x1R204Ykp0T09MRWZ4bU1XMkdNQzF1QURxWlV2ak1qdFladmxXOUp0MzA3cG14RmhxVHRvRFl5ZVJzMTZORmhyaHkraEhmS0hncE0rcGZyRWtFbm85VnpoZFZpcEZkNllUZWh2dDBaQkxJclAgcm9vdEBpcC0xMC0zMS05LTUxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 27 July 2024 03:23:09 -0400 (0:00:00.390) 0:00:04.802 ********* ok: [managed_node1 -> managed_node1] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 27 July 2024 03:23:09 -0400 (0:00:00.317) 0:00:05.120 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 27 July 2024 03:23:10 -0400 (0:00:00.331) 0:00:05.451 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 27 July 2024 03:23:10 -0400 (0:00:00.281) 0:00:05.732 ********* changed: [managed_node1 -> managed_node1] => { "changed": true, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 27 July 2024 03:23:10 -0400 (0:00:00.417) 0:00:06.150 ********* changed: [managed_node1 -> managed_node1] => { "backup": "", "changed": true } MSG: line added and ownership, perms or SE linux context changed TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 27 July 2024 03:23:11 -0400 (0:00:00.411) 0:00:06.561 ********* ok: [managed_node1 -> managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 27 July 2024 03:23:11 -0400 (0:00:00.263) 0:00:06.824 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.51 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.9.51", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 393, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 27 July 2024 03:23:12 -0400 (0:00:00.486) 0:00:07.311 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064941.061933, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dd2c2604d17bfa350c54c0a6172e4e0a37f931f6", "ctime": 1722064939.6119263, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262335, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722064939.2949247, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 102, "uid": 0, "version": "1944030265", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 27 July 2024 03:23:12 -0400 (0:00:00.282) 0:00:07.594 ********* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node1 changed: [managed_node1] => { "backup_file": "/etc/kdump.conf.10209.2024-07-27@03:23:12~", "changed": true, "checksum": "235b57eeb94c3fabb3115155f3840b02524a895c", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "8fc0e491d4607b426576decc470cbcd9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 119, "src": "/root/.ansible/tmp/ansible-tmp-1722064992.36-11914-184340058077449/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 27 July 2024 03:23:12 -0400 (0:00:00.670) 0:00:08.264 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.267) 0:00:08.531 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.023) 0:00:08.554 ********* skipping: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.017) 0:00:08.572 ********* skipping: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.018) 0:00:08.590 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.019) 0:00:08.610 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.017) 0:00:08.627 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.018) 0:00:08.645 ********* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ActiveEnterTimestampMonotonic": "304886770", "ActiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ActiveExitTimestampMonotonic": "285326503", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:22:21 EDT", "AssertTimestampMonotonic": "285343854", "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-07-27 03:22:21 EDT", "ConditionTimestampMonotonic": "285343852", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ExecMainExitTimestampMonotonic": "304886317", "ExecMainPID": "32620", "ExecMainStartTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ExecMainStartTimestampMonotonic": "285344406", "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-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:40 EDT] ; pid=32620 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:21 EDT] ; pid=32612 ; 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-07-27 03:22:21 EDT", "InactiveEnterTimestampMonotonic": "285343488", "InactiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "InactiveExitTimestampMonotonic": "285344463", "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 27 July 2024 03:23:13 -0400 (0:00:00.340) 0:00:08.986 ********* changed: [managed_node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ActiveEnterTimestampMonotonic": "304886770", "ActiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ActiveExitTimestampMonotonic": "285326503", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:22:21 EDT", "AssertTimestampMonotonic": "285343854", "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-07-27 03:22:21 EDT", "ConditionTimestampMonotonic": "285343852", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:22:40 EDT", "ExecMainExitTimestampMonotonic": "304886317", "ExecMainPID": "32620", "ExecMainStartTimestamp": "Sat 2024-07-27 03:22:21 EDT", "ExecMainStartTimestampMonotonic": "285344406", "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-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:40 EDT] ; pid=32620 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:22:21 EDT] ; stop_time=[Sat 2024-07-27 03:22:21 EDT] ; pid=32612 ; 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-07-27 03:22:21 EDT", "InactiveEnterTimestampMonotonic": "285343488", "InactiveExitTimestamp": "Sat 2024-07-27 03:22:21 EDT", "InactiveExitTimestampMonotonic": "285344463", "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Saturday 27 July 2024 03:23:33 -0400 (0:00:19.697) 0:00:28.684 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "atime": 1722064990.829229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1722064991.2332315, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262343, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722064991.2332315, "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": "1944031678", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Get the authorized_keys file for the user] ******************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Saturday 27 July 2024 03:23:33 -0400 (0:00:00.283) 0:00:28.968 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "atime": 1722064994.1952493, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "251e9a674151147862d4bd3223441773aa7e60d2", "ctime": 1722064991.2332315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722064991.2302315, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 425, "uid": 1189, "version": "1944031684", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Saturday 27 July 2024 03:23:33 -0400 (0:00:00.289) 0:00:29.257 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQnZDR1RlQUZPQlFIQnJEeU1VcWZET1VhWm9kMFMxWGliSncrNzVBdmxKMHJleTdiUUthb0Z3bTRFTjB6OERVR1RzbGJTTlB3WTNCNnJON3NFUDFWbS9MMTJQNzBndUtvbzJ3aFVzYmFyajVqTVBBODYvTXJ1Y0x2ZWJKOFJ0aDdiQ05kSTdUblY2VHhLd1pua2RCWWdNRisvbUJ3dm9lZnk4ajlCbzVlT0FSSGx6QzVJWkh4ZWNBZjZqN203TjRBUHZQcnMyRlBDN0Z1N1A5MmI1eW4vMnlEYUt5SWZiaStkY05VcDc3c0x1R204Ykp0T09MRWZ4bU1XMkdNQzF1QURxWlV2ak1qdFladmxXOUp0MzA3cG14RmhxVHRvRFl5ZVJzMTZORmhyaHkraEhmS0hncE0rcGZyRWtFbm85VnpoZFZpcEZkNllUZWh2dDBaQkxJclAgcm9vdEBpcC0xMC0zMS05LTUxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.289) 0:00:29.547 ********* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.040) 0:00:29.588 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.029) 0:00:29.617 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.020) 0:00:29.637 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.017) 0:00:29.655 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.021) 0:00:29.676 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.045) 0:00:29.722 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 27 July 2024 03:23:34 -0400 (0:00:00.539) 0:00:30.261 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:23:33 EDT", "ActiveEnterTimestampMonotonic": "357636156", "ActiveExitTimestamp": "Sat 2024-07-27 03:23:14 EDT", "ActiveExitTimestampMonotonic": "338332138", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:23:14 EDT", "AssertTimestampMonotonic": "338350791", "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-07-27 03:23:14 EDT", "ConditionTimestampMonotonic": "338350789", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:23:33 EDT", "ExecMainExitTimestampMonotonic": "357635673", "ExecMainPID": "10379", "ExecMainStartTimestamp": "Sat 2024-07-27 03:23:14 EDT", "ExecMainStartTimestampMonotonic": "338351300", "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-07-27 03:23:14 EDT] ; stop_time=[Sat 2024-07-27 03:23:33 EDT] ; pid=10379 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:23:14 EDT] ; stop_time=[Sat 2024-07-27 03:23:14 EDT] ; pid=10371 ; 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-07-27 03:23:14 EDT", "InactiveEnterTimestampMonotonic": "338349919", "InactiveExitTimestamp": "Sat 2024-07-27 03:23:14 EDT", "InactiveExitTimestampMonotonic": "338351329", "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 27 July 2024 03:23:35 -0400 (0:00:00.376) 0:00:30.638 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 27 July 2024 03:23:35 -0400 (0:00:00.064) 0:00:30.702 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 27 July 2024 03:23:35 -0400 (0:00:00.266) 0:00:30.969 ********* ok: [managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQnZDR1RlQUZPQlFIQnJEeU1VcWZET1VhWm9kMFMxWGliSncrNzVBdmxKMHJleTdiUUthb0Z3bTRFTjB6OERVR1RzbGJTTlB3WTNCNnJON3NFUDFWbS9MMTJQNzBndUtvbzJ3aFVzYmFyajVqTVBBODYvTXJ1Y0x2ZWJKOFJ0aDdiQ05kSTdUblY2VHhLd1pua2RCWWdNRisvbUJ3dm9lZnk4ajlCbzVlT0FSSGx6QzVJWkh4ZWNBZjZqN203TjRBUHZQcnMyRlBDN0Z1N1A5MmI1eW4vMnlEYUt5SWZiaStkY05VcDc3c0x1R204Ykp0T09MRWZ4bU1XMkdNQzF1QURxWlV2ak1qdFladmxXOUp0MzA3cG14RmhxVHRvRFl5ZVJzMTZORmhyaHkraEhmS0hncE0rcGZyRWtFbm85VnpoZFZpcEZkNllUZWh2dDBaQkxJclAgcm9vdEBpcC0xMC0zMS05LTUxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user] ******* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 27 July 2024 03:23:35 -0400 (0:00:00.268) 0:00:31.237 ********* ok: [managed_node1 -> managed_node1] => { "append": false, "changed": false, "comment": "", "group": 1189, "home": "/home/kdump_ssh_user", "move_home": false, "name": "kdump_ssh_user", "shell": "/bin/bash", "state": "present", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 27 July 2024 03:23:36 -0400 (0:00:00.317) 0:00:31.555 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "atime": 1722064990.829229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1722064991.2332315, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262343, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722064991.2332315, "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": "1944031678", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 27 July 2024 03:23:36 -0400 (0:00:00.277) 0:00:31.833 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "atime": 1722064994.1952493, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "251e9a674151147862d4bd3223441773aa7e60d2", "ctime": 1722064991.2332315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722064991.2302315, "nlink": 1, "path": "/home/kdump_ssh_user/.ssh/authorized_keys", "pw_name": "kdump_ssh_user", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 425, "uid": 1189, "version": "1944031684", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 27 July 2024 03:23:36 -0400 (0:00:00.289) 0:00:32.123 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "gid": 1189, "group": "kdump_ssh_user", "mode": "0700", "owner": "kdump_ssh_user", "path": "/home/kdump_ssh_user/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 1189 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 27 July 2024 03:23:37 -0400 (0:00:00.372) 0:00:32.495 ********* ok: [managed_node1 -> managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 27 July 2024 03:23:37 -0400 (0:00:00.289) 0:00:32.784 ********* ok: [managed_node1 -> managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 27 July 2024 03:23:37 -0400 (0:00:00.273) 0:00:33.057 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.9.51 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.9.51", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 393, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 27 July 2024 03:23:38 -0400 (0:00:00.327) 0:00:33.385 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064994.0672486, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "235b57eeb94c3fabb3115155f3840b02524a895c", "ctime": 1722064992.9472418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722064992.63324, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 119, "uid": 0, "version": "1944031707", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 27 July 2024 03:23:38 -0400 (0:00:00.294) 0:00:33.679 ********* ok: [managed_node1] => { "changed": false, "checksum": "235b57eeb94c3fabb3115155f3840b02524a895c", "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": 119, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 27 July 2024 03:23:38 -0400 (0:00:00.495) 0:00:34.175 ********* ok: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.294) 0:00:34.470 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.023) 0:00:34.493 ********* skipping: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.020) 0:00:34.514 ********* skipping: [managed_node1] => { "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.017) 0:00:34.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.019) 0:00:34.552 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.020) 0:00:34.572 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.018) 0:00:34.590 ********* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:23:33 EDT", "ActiveEnterTimestampMonotonic": "357636156", "ActiveExitTimestamp": "Sat 2024-07-27 03:23:14 EDT", "ActiveExitTimestampMonotonic": "338332138", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:23:14 EDT", "AssertTimestampMonotonic": "338350791", "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-07-27 03:23:14 EDT", "ConditionTimestampMonotonic": "338350789", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:23:33 EDT", "ExecMainExitTimestampMonotonic": "357635673", "ExecMainPID": "10379", "ExecMainStartTimestamp": "Sat 2024-07-27 03:23:14 EDT", "ExecMainStartTimestampMonotonic": "338351300", "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-07-27 03:23:14 EDT] ; stop_time=[Sat 2024-07-27 03:23:33 EDT] ; pid=10379 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:23:14 EDT] ; stop_time=[Sat 2024-07-27 03:23:14 EDT] ; pid=10371 ; 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-07-27 03:23:14 EDT", "InactiveEnterTimestampMonotonic": "338349919", "InactiveExitTimestamp": "Sat 2024-07-27 03:23:14 EDT", "InactiveExitTimestampMonotonic": "338351329", "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/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.361) 0:00:34.951 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQnZDR1RlQUZPQlFIQnJEeU1VcWZET1VhWm9kMFMxWGliSncrNzVBdmxKMHJleTdiUUthb0Z3bTRFTjB6OERVR1RzbGJTTlB3WTNCNnJON3NFUDFWbS9MMTJQNzBndUtvbzJ3aFVzYmFyajVqTVBBODYvTXJ1Y0x2ZWJKOFJ0aDdiQ05kSTdUblY2VHhLd1pua2RCWWdNRisvbUJ3dm9lZnk4ajlCbzVlT0FSSGx6QzVJWkh4ZWNBZjZqN203TjRBUHZQcnMyRlBDN0Z1N1A5MmI1eW4vMnlEYUt5SWZiaStkY05VcDc3c0x1R204Ykp0T09MRWZ4bU1XMkdNQzF1QURxWlV2ak1qdFladmxXOUp0MzA3cG14RmhxVHRvRFl5ZVJzMTZORmhyaHkraEhmS0hncE0rcGZyRWtFbm85VnpoZFZpcEZkNllUZWh2dDBaQkxJclAgcm9vdEBpcC0xMC0zMS05LTUxLnVzLWVhc3QtMS5hd3MucmVkaGF0LmNvbQo=", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.263) 0:00:35.215 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Saturday 27 July 2024 03:23:39 -0400 (0:00:00.030) 0:00:35.245 ********* ok: [managed_node1 -> managed_node1] => { "changed": false, "stat": { "atime": 1722064990.829229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1722064991.2332315, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262343, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722064991.2332315, "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": "1944031678", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert no changes to ssh dir] ******************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Saturday 27 July 2024 03:23:40 -0400 (0:00:00.279) 0:00:35.525 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Saturday 27 July 2024 03:23:40 -0400 (0:00:00.028) 0:00:35.553 ********* changed: [managed_node1] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Saturday 27 July 2024 03:23:40 -0400 (0:00:00.503) 0:00:36.056 ********* changed: [managed_node1 -> managed_node1] => { "changed": true, "path": "/tmp/tests_ssh_reboot", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=52 changed=7 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Saturday 27 July 2024 03:23:41 -0400 (0:00:00.300) 0:00:36.356 ********* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.70s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Create a kdump user on kdump_ssh_server --------------------------------- 0.67s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 fedora.linux_system_roles.kdump : Install required packages ------------- 0.54s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gather facts from managed_node1 ----------------------------------------- 0.53s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Delete user ------------------------------------------------------------- 0.50s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.50s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.49s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.42s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.41s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.40s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.39s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.38s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Check if system is ostree ----------------------------------------------- 0.38s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.37s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.36s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.33s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.33s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.32s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Get userinfo for kdump_ssh_user ------- 0.32s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19