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-F5d/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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 Monday 11 November 2024 20:36:33 -0500 (0:00:00.044) 0:00:00.044 ******* ok: [managed-node1] META: ran handlers TASK [Gather facts from managed-node1] ***************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Monday 11 November 2024 20:36:34 -0500 (0:00:01.152) 0:00:01.196 ******* ok: [managed-node1 -> managed-node1] TASK [Create a kdump user on kdump_ssh_server] ********************************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Monday 11 November 2024 20:36:34 -0500 (0:00:00.619) 0:00:01.816 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:70 Monday 11 November 2024 20:36:35 -0500 (0:00:00.696) 0:00:02.512 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:76 Monday 11 November 2024 20:36:35 -0500 (0:00:00.038) 0:00:02.550 ******* skipping: [managed-node1] => {} META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:96 Monday 11 November 2024 20:36:35 -0500 (0:00:00.083) 0:00:02.634 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:101 Monday 11 November 2024 20:36:36 -0500 (0:00:00.539) 0:00:03.173 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:109 Monday 11 November 2024 20:36:36 -0500 (0:00:00.035) 0:00:03.209 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:36:36 -0500 (0:00:00.051) 0:00:03.261 ******* included: /tmp/collections-F5d/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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:36:36 -0500 (0:00:00.034) 0:00:03.296 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:36:36 -0500 (0:00:00.026) 0:00:03.322 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:36:36 -0500 (0:00:00.023) 0:00:03.345 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:36:36 -0500 (0:00:00.030) 0:00:03.376 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:36:36 -0500 (0:00:00.069) 0:00:03.445 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:36:37 -0500 (0:00:00.816) 0:00:04.262 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:16 EST", "ActiveEnterTimestampMonotonic": "210669560", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "196554182", "ActiveState": "active", "After": "remote-fs.target network-online.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "196580508", "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": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "196580506", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:16 EST", "ExecMainExitTimestampMonotonic": "210669074", "ExecMainPID": "9690", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "196581100", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:16 EST] ; pid=9690 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; 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": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "196579157", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "196581131", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:36:38 -0500 (0:00:00.707) 0:00:04.970 ******* included: /tmp/collections-F5d/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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Monday 11 November 2024 20:36:38 -0500 (0:00:00.108) 0:00:05.079 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.052790", "end": "2024-11-11 20:36:38.651094", "rc": 0, "start": "2024-11-11 20:36:38.598304" } 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:E+TvOJnqWeIscpCFSHHBQIksd0+YEoGXgzUmH+6r4ts root@managed-node1 The key's randomart image is: +---[RSA 2048]----+ |=B%*.o . | |=OB++ .o | |o+o= o o | |... . . o | | .o S . | | o. * | | .. . * . | |..o oo = . | |+o.E o* | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Monday 11 November 2024 20:36:38 -0500 (0:00:00.482) 0:00:05.561 ******* ok: [managed-node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZE5aODRad01COGJzcElYd2hGbk9ueVg2cHdjN1pnZWpZTUFFbHNjd0FSaW0ybjkxMGw1VUNsdlRiK1cyWk1WakVaSnQrYjBRVzkvem5LaUU3RENwcHYxMjJ6Zm56enFCb212b2YydzJsS3VwM1dRcDdoWm51a0Nza3hLYlFVdTlFaWRnaXFzMHYwdWxNSS9lSXNZc2hLVnFQNmtCZWhJdnJzY3ltZ3VlaCtMVGRYOXhlTldlWndJVDBmRnhXak8za0J6dXVManp1a2VtY3dOVUp0Tm5NN3VEUGxINU9iYW4vaUIwUmtKSjBNZTBqKzkwNW8rNDdvcXNxaGlienRWR2ptcjROOE5zTWpRcS9TMGxhWG8vQkYyTFpxVnRiWGZwbFlRejRrYU9sQVQrSlJHc1hzaFhwU3MxNmNaLzQvYlBFQkVQMjY2TVcwNGZ6RmpRL3JZNFogcm9vdEBtYW5hZ2VkLW5vZGUxCg==", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Monday 11 November 2024 20:36:39 -0500 (0:00:00.405) 0:00:05.967 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Monday 11 November 2024 20:36:39 -0500 (0:00:00.347) 0:00:06.314 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Monday 11 November 2024 20:36:39 -0500 (0:00:00.306) 0:00:06.621 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Monday 11 November 2024 20:36:40 -0500 (0:00:00.328) 0:00:06.949 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Monday 11 November 2024 20:36:40 -0500 (0:00:00.534) 0:00:07.484 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Monday 11 November 2024 20:36:41 -0500 (0:00:00.500) 0:00:07.985 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Monday 11 November 2024 20:36:41 -0500 (0:00:00.319) 0:00:08.304 ******* changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.134 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.13.134", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:36:41 -0500 (0:00:00.533) 0:00:08.838 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731375362.3021634, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "ctime": 1731375360.159152, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262451, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731375359.8991508, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 77, "uid": 0, "version": "482403914", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:36:42 -0500 (0:00:00.318) 0:00:09.156 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed-node1 changed: [managed-node1] => { "backup_file": "/etc/kdump.conf.17780.2024-11-11@20:36:43~", "changed": true, "checksum": "a480841b9c5670df5587e376a9819d02d3e92a9d", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "90d048ef8b56a6aa32217a6206524bcd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1731375402.35-12001-136930263229722/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:36:43 -0500 (0:00:00.811) 0:00:09.967 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:36:43 -0500 (0:00:00.302) 0:00:10.270 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:36:43 -0500 (0:00:00.027) 0:00:10.297 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:36:43 -0500 (0:00:00.022) 0:00:10.320 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:36:43 -0500 (0:00:00.024) 0:00:10.345 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:36:43 -0500 (0:00:00.023) 0:00:10.368 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:36:43 -0500 (0:00:00.026) 0:00:10.394 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:36:43 -0500 (0:00:00.030) 0:00:10.424 ******* ok: [managed-node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:16 EST", "ActiveEnterTimestampMonotonic": "210669560", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "196554182", "ActiveState": "active", "After": "remote-fs.target network-online.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "196580508", "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": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "196580506", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:16 EST", "ExecMainExitTimestampMonotonic": "210669074", "ExecMainPID": "9690", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "196581100", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:16 EST] ; pid=9690 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; 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": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "196579157", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "196581131", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Monday 11 November 2024 20:36:43 -0500 (0:00:00.399) 0:00:10.824 ******* changed: [managed-node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:36:16 EST", "ActiveEnterTimestampMonotonic": "210669560", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "ActiveExitTimestampMonotonic": "196554182", "ActiveState": "active", "After": "remote-fs.target network-online.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:02 EST", "AssertTimestampMonotonic": "196580508", "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": "Mon 2024-11-11 20:36:02 EST", "ConditionTimestampMonotonic": "196580506", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:36:16 EST", "ExecMainExitTimestampMonotonic": "210669074", "ExecMainPID": "9690", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:02 EST", "ExecMainStartTimestampMonotonic": "196581100", "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=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:16 EST] ; pid=9690 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:02 EST] ; stop_time=[Mon 2024-11-11 20:36:02 EST] ; pid=9682 ; 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": "Mon 2024-11-11 20:36:02 EST", "InactiveEnterTimestampMonotonic": "196579157", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:02 EST", "InactiveExitTimestampMonotonic": "196581131", "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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:116 Monday 11 November 2024 20:37:03 -0500 (0:00:19.378) 0:00:30.203 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "stat": { "atime": 1731375400.5773861, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731375401.0653896, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262461, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375401.0653896, "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": "482404985", "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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:122 Monday 11 November 2024 20:37:03 -0500 (0:00:00.320) 0:00:30.523 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "stat": { "atime": 1731375404.4614143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d007c8bf92e123f5b7ed05fbe2fd62b3f0aa0757", "ctime": 1731375401.0663898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731375401.0633898, "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": "482404991", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get the authorized_keys contents] **************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:128 Monday 11 November 2024 20:37:03 -0500 (0:00:00.321) 0:00:30.845 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZE5aODRad01COGJzcElYd2hGbk9ueVg2cHdjN1pnZWpZTUFFbHNjd0FSaW0ybjkxMGw1VUNsdlRiK1cyWk1WakVaSnQrYjBRVzkvem5LaUU3RENwcHYxMjJ6Zm56enFCb212b2YydzJsS3VwM1dRcDdoWm51a0Nza3hLYlFVdTlFaWRnaXFzMHYwdWxNSS9lSXNZc2hLVnFQNmtCZWhJdnJzY3ltZ3VlaCtMVGRYOXhlTldlWndJVDBmRnhXak8za0J6dXVManp1a2VtY3dOVUp0Tm5NN3VEUGxINU9iYW4vaUIwUmtKSjBNZTBqKzkwNW8rNDdvcXNxaGlienRWR2ptcjROOE5zTWpRcS9TMGxhWG8vQkYyTFpxVnRiWGZwbFlRejRrYU9sQVQrSlJHc1hzaFhwU3MxNmNaLzQvYlBFQkVQMjY2TVcwNGZ6RmpRL3JZNFogcm9vdEBtYW5hZ2VkLW5vZGUxCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Run the role again] ****************************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:134 Monday 11 November 2024 20:37:04 -0500 (0:00:00.309) 0:00:31.154 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Monday 11 November 2024 20:37:04 -0500 (0:00:00.077) 0:00:31.232 ******* included: /tmp/collections-F5d/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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Monday 11 November 2024 20:37:04 -0500 (0:00:00.065) 0:00:31.297 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Monday 11 November 2024 20:37:04 -0500 (0:00:00.036) 0:00:31.334 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Monday 11 November 2024 20:37:04 -0500 (0:00:00.032) 0:00:31.366 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Monday 11 November 2024 20:37:04 -0500 (0:00:00.033) 0:00:31.399 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Monday 11 November 2024 20:37:04 -0500 (0:00:00.076) 0:00:31.476 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Monday 11 November 2024 20:37:05 -0500 (0:00:00.628) 0:00:32.105 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:37:03 EST", "ActiveEnterTimestampMonotonic": "257567541", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:44 EST", "ActiveExitTimestampMonotonic": "238617292", "ActiveState": "active", "After": "remote-fs.target network-online.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:44 EST", "AssertTimestampMonotonic": "238636711", "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": "Mon 2024-11-11 20:36:44 EST", "ConditionTimestampMonotonic": "238636709", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:37:03 EST", "ExecMainExitTimestampMonotonic": "257567344", "ExecMainPID": "17950", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:44 EST", "ExecMainStartTimestampMonotonic": "238637318", "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=[Mon 2024-11-11 20:36:44 EST] ; stop_time=[Mon 2024-11-11 20:37:03 EST] ; pid=17950 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:44 EST] ; stop_time=[Mon 2024-11-11 20:36:44 EST] ; pid=17942 ; 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": "Mon 2024-11-11 20:36:44 EST", "InactiveEnterTimestampMonotonic": "238636239", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:44 EST", "InactiveExitTimestampMonotonic": "238637352", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Monday 11 November 2024 20:37:05 -0500 (0:00:00.502) 0:00:32.607 ******* included: /tmp/collections-F5d/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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Monday 11 November 2024 20:37:05 -0500 (0:00:00.152) 0:00:32.760 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Monday 11 November 2024 20:37:06 -0500 (0:00:00.342) 0:00:33.102 ******* ok: [managed-node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZE5aODRad01COGJzcElYd2hGbk9ueVg2cHdjN1pnZWpZTUFFbHNjd0FSaW0ybjkxMGw1VUNsdlRiK1cyWk1WakVaSnQrYjBRVzkvem5LaUU3RENwcHYxMjJ6Zm56enFCb212b2YydzJsS3VwM1dRcDdoWm51a0Nza3hLYlFVdTlFaWRnaXFzMHYwdWxNSS9lSXNZc2hLVnFQNmtCZWhJdnJzY3ltZ3VlaCtMVGRYOXhlTldlWndJVDBmRnhXak8za0J6dXVManp1a2VtY3dOVUp0Tm5NN3VEUGxINU9iYW4vaUIwUmtKSjBNZTBqKzkwNW8rNDdvcXNxaGlienRWR2ptcjROOE5zTWpRcS9TMGxhWG8vQkYyTFpxVnRiWGZwbFlRejRrYU9sQVQrSlJHc1hzaFhwU3MxNmNaLzQvYlBFQkVQMjY2TVcwNGZ6RmpRL3JZNFogcm9vdEBtYW5hZ2VkLW5vZGUxCg==", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Monday 11 November 2024 20:37:06 -0500 (0:00:00.422) 0:00:33.525 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Monday 11 November 2024 20:37:07 -0500 (0:00:00.440) 0:00:33.965 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "stat": { "atime": 1731375400.5773861, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731375401.0653896, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262461, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375401.0653896, "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": "482404985", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Monday 11 November 2024 20:37:07 -0500 (0:00:00.444) 0:00:34.410 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "stat": { "atime": 1731375404.4614143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d007c8bf92e123f5b7ed05fbe2fd62b3f0aa0757", "ctime": 1731375401.0663898, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1731375401.0633898, "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": "482404991", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Monday 11 November 2024 20:37:08 -0500 (0:00:00.449) 0:00:34.860 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Monday 11 November 2024 20:37:08 -0500 (0:00:00.468) 0:00:35.329 ******* ok: [managed-node1 -> managed-node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Monday 11 November 2024 20:37:08 -0500 (0:00:00.515) 0:00:35.844 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Monday 11 November 2024 20:37:09 -0500 (0:00:00.404) 0:00:36.249 ******* ok: [managed-node1] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.13.134 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.13.134", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 395, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Monday 11 November 2024 20:37:09 -0500 (0:00:00.476) 0:00:36.725 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731375404.3564136, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a480841b9c5670df5587e376a9819d02d3e92a9d", "ctime": 1731375403.0484042, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1731375402.6694014, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "version": "482405015", "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-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Monday 11 November 2024 20:37:10 -0500 (0:00:00.460) 0:00:37.185 ******* ok: [managed-node1] => { "changed": false, "checksum": "a480841b9c5670df5587e376a9819d02d3e92a9d", "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": 121, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Monday 11 November 2024 20:37:11 -0500 (0:00:00.756) 0:00:37.942 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Monday 11 November 2024 20:37:11 -0500 (0:00:00.400) 0:00:38.343 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Monday 11 November 2024 20:37:11 -0500 (0:00:00.040) 0:00:38.383 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Monday 11 November 2024 20:37:11 -0500 (0:00:00.054) 0:00:38.438 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Monday 11 November 2024 20:37:11 -0500 (0:00:00.047) 0:00:38.486 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Monday 11 November 2024 20:37:11 -0500 (0:00:00.039) 0:00:38.525 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Monday 11 November 2024 20:37:11 -0500 (0:00:00.032) 0:00:38.558 ******* 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/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Monday 11 November 2024 20:37:11 -0500 (0:00:00.022) 0:00:38.581 ******* ok: [managed-node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-11-11 20:37:03 EST", "ActiveEnterTimestampMonotonic": "257567541", "ActiveExitTimestamp": "Mon 2024-11-11 20:36:44 EST", "ActiveExitTimestampMonotonic": "238617292", "ActiveState": "active", "After": "remote-fs.target network-online.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-11-11 20:36:44 EST", "AssertTimestampMonotonic": "238636711", "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": "Mon 2024-11-11 20:36:44 EST", "ConditionTimestampMonotonic": "238636709", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Mon 2024-11-11 20:37:03 EST", "ExecMainExitTimestampMonotonic": "257567344", "ExecMainPID": "17950", "ExecMainStartTimestamp": "Mon 2024-11-11 20:36:44 EST", "ExecMainStartTimestampMonotonic": "238637318", "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=[Mon 2024-11-11 20:36:44 EST] ; stop_time=[Mon 2024-11-11 20:37:03 EST] ; pid=17950 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Mon 2024-11-11 20:36:44 EST] ; stop_time=[Mon 2024-11-11 20:36:44 EST] ; pid=17942 ; 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": "Mon 2024-11-11 20:36:44 EST", "InactiveEnterTimestampMonotonic": "238636239", "InactiveExitTimestamp": "Mon 2024-11-11 20:36:44 EST", "InactiveExitTimestampMonotonic": "238637352", "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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:138 Monday 11 November 2024 20:37:12 -0500 (0:00:00.494) 0:00:39.076 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEZE5aODRad01COGJzcElYd2hGbk9ueVg2cHdjN1pnZWpZTUFFbHNjd0FSaW0ybjkxMGw1VUNsdlRiK1cyWk1WakVaSnQrYjBRVzkvem5LaUU3RENwcHYxMjJ6Zm56enFCb212b2YydzJsS3VwM1dRcDdoWm51a0Nza3hLYlFVdTlFaWRnaXFzMHYwdWxNSS9lSXNZc2hLVnFQNmtCZWhJdnJzY3ltZ3VlaCtMVGRYOXhlTldlWndJVDBmRnhXak8za0J6dXVManp1a2VtY3dOVUp0Tm5NN3VEUGxINU9iYW4vaUIwUmtKSjBNZTBqKzkwNW8rNDdvcXNxaGlienRWR2ptcjROOE5zTWpRcS9TMGxhWG8vQkYyTFpxVnRiWGZwbFlRejRrYU9sQVQrSlJHc1hzaFhwU3MxNmNaLzQvYlBFQkVQMjY2TVcwNGZ6RmpRL3JZNFogcm9vdEBtYW5hZ2VkLW5vZGUxCg==", "encoding": "base64", "source": "/home/kdump_ssh_user/.ssh/authorized_keys" } TASK [Assert no changes to authorized_keys] ************************************ task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:144 Monday 11 November 2024 20:37:12 -0500 (0:00:00.402) 0:00:39.478 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the ssh dir for the user after] ************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 Monday 11 November 2024 20:37:12 -0500 (0:00:00.059) 0:00:39.538 ******* ok: [managed-node1 -> managed-node1] => { "changed": false, "stat": { "atime": 1731375400.5773861, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731375401.0653896, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 1189, "gr_name": "kdump_ssh_user", "inode": 262461, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1731375401.0653896, "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": "482404985", "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-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:154 Monday 11 November 2024 20:37:13 -0500 (0:00:00.488) 0:00:40.026 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Delete user] ************************************************************* task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 Monday 11 November 2024 20:37:13 -0500 (0:00:00.052) 0:00:40.079 ******* changed: [managed-node1] => { "attempts": 1, "changed": true, "force": false, "name": "kdump_ssh_user", "remove": false, "state": "absent" } TASK [Cleanup kdump_path] ****************************************************** task path: /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168 Monday 11 November 2024 20:37:13 -0500 (0:00:00.648) 0:00:40.727 ******* 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=9 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Monday 11 November 2024 20:37:14 -0500 (0:00:00.451) 0:00:41.179 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.38s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:2 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.76s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Create a kdump user on kdump_ssh_server --------------------------------- 0.70s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:63 Delete user ------------------------------------------------------------- 0.65s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:161 fedora.linux_system_roles.kdump : Install required packages ------------- 0.63s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Gather facts from managed-node1 ----------------------------------------- 0.62s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:58 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-F5d/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.53s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.53s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.52s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.50s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.50s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.49s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Get the ssh dir for the user after -------------------------------------- 0.49s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:148 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.48s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.48s /tmp/collections-F5d/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.47s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.46s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Cleanup kdump_path ------------------------------------------------------ 0.45s /tmp/collections-F5d/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh_reboot.yml:168