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.yml ******************************************************** 1 plays in /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 Saturday 17 August 2024 03:14:42 -0400 (0:00:00.052) 0:00:00.052 ******* ok: [managed_node3] META: ran handlers TASK [Gather facts from managed_node3] ***************************************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 Saturday 17 August 2024 03:14:43 -0400 (0:00:01.340) 0:00:01.392 ******* ok: [managed_node3 -> managed_node3] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:61 Saturday 17 August 2024 03:14:44 -0400 (0:00:00.661) 0:00:02.054 ******* skipping: [managed_node3] => {} META: end_host conditional evaluated to false, continuing execution for managed_node3 TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:82 Saturday 17 August 2024 03:14:44 -0400 (0:00:00.095) 0:00:02.150 ******* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 17 August 2024 03:14:44 -0400 (0:00:00.129) 0:00:02.280 ******* included: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node3 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 17 August 2024 03:14:44 -0400 (0:00:00.037) 0:00:02.317 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 17 August 2024 03:14:44 -0400 (0:00:00.024) 0:00:02.342 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 17 August 2024 03:14:45 -0400 (0:00:00.829) 0:00:03.172 ******* ok: [managed_node3] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 17 August 2024 03:14:45 -0400 (0:00:00.042) 0:00:03.214 ******* skipping: [managed_node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 17 August 2024 03:14:45 -0400 (0:00:00.113) 0:00:03.328 ******* ok: [managed_node3] => { "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 17 August 2024 03:14:46 -0400 (0:00:01.070) 0:00:04.399 ******* ok: [managed_node3] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ActiveEnterTimestampMonotonic": "209803063", "ActiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ActiveExitTimestampMonotonic": "195456301", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target network.target remote-fs.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 03:14:26 EDT", "AssertTimestampMonotonic": "195492669", "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-08-17 03:14:26 EDT", "ConditionTimestampMonotonic": "195492667", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ExecMainExitTimestampMonotonic": "209802510", "ExecMainPID": "9708", "ExecMainStartTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ExecMainStartTimestampMonotonic": "195493113", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:40 EDT] ; pid=9708 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:26 EDT] ; pid=9699 ; 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-08-17 03:14:26 EDT", "InactiveEnterTimestampMonotonic": "195491850", "InactiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "InactiveExitTimestampMonotonic": "195493148", "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 17 August 2024 03:14:47 -0400 (0:00:00.941) 0:00:05.340 ******* included: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for managed_node3 TASK [fedora.linux_system_roles.kdump : Create key if it does not exist] ******* task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Saturday 17 August 2024 03:14:47 -0400 (0:00:00.114) 0:00:05.455 ******* changed: [managed_node3] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.014927", "end": "2024-08-17 03:14:48.086730", "rc": 0, "start": "2024-08-17 03:14:48.071803" } 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:1rEY9R4r85CIqBFKjYb39Z5jY6b47m55PsDczB4shpc root@ip-10-31-40-110.us-east-1.aws.redhat.com The key's randomart image is: +---[RSA 2048]----+ | . | |. o . . | |.+o. . . . o | |oo o o o = = o | |. . o+.*S B o | | o. Eo*. = | | . o =O. . | | .o=+o | | .**o.. | +----[SHA256]-----+ TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Saturday 17 August 2024 03:14:48 -0400 (0:00:00.612) 0:00:06.068 ******* ok: [managed_node3] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDaE1wUGFuMm9QLzdHVnd1YlBLbVBTM09Ram5tVTZmcnV1RW1vKzl1UnBSQXlScXNOM3lwTU03SUZiaHdYdXd6QkZ2WE9EYmMxcHAvZTVDTTArMy9zdnB6V2p1azhSSjdxbEM0MWFBSEZKdFc1WEhHY2c3cE4wenpacUpsVnBQYmUrTkhCL2ZUb0s5dWt3RUkwQkhWSzhLUUpBRkU4TndURFJwWVBJNjRVY1RmNmZXSWxjd2pTRTJsWVFvS1Q1Vm11b1ZFbnloUTd2eWhtY2Nnb2o2NGFQekllbGo1UHVlRnZ2N2tOZ1VCWU1uU095L0RSVEVWTHpPbjh3SFVVTTMrSWoyRFloaFQ0czNsSnZWdlZrZ0VXS1BKajZ2anhWOUhVYnpPNW5tdGtOVXd6UiswdjNVTWU5MC9iTlRYVnRqeWkzS2tOSUpVOHdJRUdGQk5BYU9hTi8gcm9vdEBpcC0xMC0zMS00MC0xMTAudXMtZWFzdC0xLmF3cy5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for root] ***************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 Saturday 17 August 2024 03:14:48 -0400 (0:00:00.491) 0:00:06.559 ******* ok: [managed_node3 -> managed_node3] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get the ssh directory for the user] **** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 Saturday 17 August 2024 03:14:49 -0400 (0:00:01.003) 0:00:07.563 ******* ok: [managed_node3 -> managed_node3] => { "changed": false, "stat": { "atime": 1723878699.617317, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1723878888.0839567, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 20, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1723878888.0839567, "nlink": 2, "path": "/root/.ssh", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852951894", "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 Saturday 17 August 2024 03:14:50 -0400 (0:00:00.573) 0:00:08.137 ******* ok: [managed_node3 -> managed_node3] => { "changed": false, "stat": { "atime": 1723878784.8593702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "73fa8017a2d86a54aaa3b7cf4504a005b0d33e52", "ctime": 1723878699.616317, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22411, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723878699.616317, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 990, "uid": 0, "version": "22411381", "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 Saturday 17 August 2024 03:14:50 -0400 (0:00:00.391) 0:00:08.528 ******* ok: [managed_node3 -> managed_node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ssh", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 Saturday 17 August 2024 03:14:51 -0400 (0:00:00.505) 0:00:09.034 ******* changed: [managed_node3 -> managed_node3] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 Saturday 17 August 2024 03:14:52 -0400 (0:00:01.031) 0:00:10.066 ******* ok: [managed_node3 -> managed_node3] => { "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 Saturday 17 August 2024 03:14:52 -0400 (0:00:00.426) 0:00:10.492 ******* changed: [managed_node3] => { "changed": true, "gid": 0, "group": "root", "hash_host": false, "key": "10.31.40.110 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3 \n", "mode": "0644", "name": "10.31.40.110", "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 17 August 2024 03:14:53 -0400 (0:00:00.586) 0:00:11.078 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723878866.1538467, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "ctime": 1723878864.3458378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1723878864.0698364, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 77, "uid": 0, "version": "18446744072714076827", "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 17 August 2024 03:14:53 -0400 (0:00:00.310) 0:00:11.388 ******* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node3 changed: [managed_node3] => { "backup_file": "/etc/kdump.conf.17670.2024-08-17@03:14:54~", "changed": true, "checksum": "ebd42a55c6146c5bf50fa4d9bae5fd51b9204989", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "0c2f27d081289bbfc713d15eecb6f110", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 104, "src": "/root/.ansible/tmp/ansible-tmp-1723878893.51-11350-55713510496319/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.923) 0:00:12.312 ******* ok: [managed_node3] => { "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.298) 0:00:12.610 ******* ok: [managed_node3] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.034) 0:00:12.644 ******* skipping: [managed_node3] => { "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.031) 0:00:12.676 ******* skipping: [managed_node3] => { "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-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.027) 0:00:12.703 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.047) 0:00:12.751 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.042) 0:00:12.794 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 17 August 2024 03:14:54 -0400 (0:00:00.030) 0:00:12.824 ******* ok: [managed_node3] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ActiveEnterTimestampMonotonic": "209803063", "ActiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ActiveExitTimestampMonotonic": "195456301", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target network.target remote-fs.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 03:14:26 EDT", "AssertTimestampMonotonic": "195492669", "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-08-17 03:14:26 EDT", "ConditionTimestampMonotonic": "195492667", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ExecMainExitTimestampMonotonic": "209802510", "ExecMainPID": "9708", "ExecMainStartTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ExecMainStartTimestampMonotonic": "195493113", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:40 EDT] ; pid=9708 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:26 EDT] ; pid=9699 ; 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-08-17 03:14:26 EDT", "InactiveEnterTimestampMonotonic": "195491850", "InactiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "InactiveExitTimestampMonotonic": "195493148", "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 [Cleanup kdump_path] ****************************************************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 Saturday 17 August 2024 03:14:55 -0400 (0:00:00.383) 0:00:13.208 ******* ok: [managed_node3 -> managed_node3] => { "changed": false, "path": "/tmp/tests_ssh", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 17 August 2024 03:14:55 -0400 (0:00:00.474) 0:00:13.682 ******* changed: [managed_node3] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ActiveEnterTimestampMonotonic": "209803063", "ActiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ActiveExitTimestampMonotonic": "195456301", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target network.target remote-fs.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-17 03:14:26 EDT", "AssertTimestampMonotonic": "195492669", "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-08-17 03:14:26 EDT", "ConditionTimestampMonotonic": "195492667", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-08-17 03:14:40 EDT", "ExecMainExitTimestampMonotonic": "209802510", "ExecMainPID": "9708", "ExecMainStartTimestamp": "Sat 2024-08-17 03:14:26 EDT", "ExecMainStartTimestampMonotonic": "195493113", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:40 EDT] ; pid=9708 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-08-17 03:14:26 EDT] ; stop_time=[Sat 2024-08-17 03:14:26 EDT] ; pid=9699 ; 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-08-17 03:14:26 EDT", "InactiveEnterTimestampMonotonic": "195491850", "InactiveExitTimestamp": "Sat 2024-08-17 03:14:26 EDT", "InactiveExitTimestampMonotonic": "195493148", "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 META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=24 changed=5 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Saturday 17 August 2024 03:15:15 -0400 (0:00:19.589) 0:00:33.271 ******* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------ 19.59s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:2 fedora.linux_system_roles.kdump : Install required packages ------------- 1.07s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 1.03s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:43 fedora.linux_system_roles.kdump : Get userinfo for root ----------------- 1.00s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:19 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.94s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.92s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.83s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Gather facts from managed_node3 ----------------------------------------- 0.66s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:56 fedora.linux_system_roles.kdump : Create key if it does not exist ------- 0.61s /tmp/collections-BfT/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.59s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:59 fedora.linux_system_roles.kdump : Get the ssh directory for the user ---- 0.57s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:25 fedora.linux_system_roles.kdump : Ensure ssh directory for authorized_keys if needed --- 0.51s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:35 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.49s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:7 Cleanup kdump_path ------------------------------------------------------ 0.47s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_ssh.yml:94 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.43s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:53 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.39s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:30 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.38s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.31s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.30s /tmp/collections-BfT/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34