ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpbnr8689m executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 00:49:16 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 00:49:17 +0000 (0:00:01.392) 0:00:01.410 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ssh_reboot.yml ************************************************* 1 plays in /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:1 Wednesday 06 July 2022 00:49:17 +0000 (0:00:00.009) 0:00:01.420 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [gather facts from /cache/rhel-7.qcow2] *********************************** task path: /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:63 Wednesday 06 July 2022 00:49:18 +0000 (0:00:00.930) 0:00:02.350 ******** ok: [/cache/rhel-7.qcow2] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:68 Wednesday 06 July 2022 00:49:19 +0000 (0:00:00.678) 0:00:03.028 ******** skipping: [/cache/rhel-7.qcow2] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:78 Wednesday 06 July 2022 00:49:19 +0000 (0:00:00.019) 0:00:03.048 ******** META: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 skipping: [/cache/rhel-7.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-7.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:85 Wednesday 06 July 2022 00:49:19 +0000 (0:00:00.017) 0:00:03.065 ******** TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:49:19 +0000 (0:00:00.034) 0:00:03.099 ******** included: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.kdump : Ensure ansible_facts used by role] ************ task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:49:19 +0000 (0:00:00.025) 0:00:03.125 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.kdump : Install required packages] ******************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:49:20 +0000 (0:00:00.401) 0:00:03.526 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed" ] } TASK [linux-system-roles.kdump : Ensure that kdump is enabled] ***************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:49:20 +0000 (0:00:00.629) 0:00:04.155 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:49:16 EDT", "ActiveEnterTimestampMonotonic": "84603467", "ActiveExitTimestamp": "Tue 2022-07-05 20:48:58 EDT", "ActiveExitTimestampMonotonic": "66941527", "ActiveState": "active", "After": "remote-fs.target network-online.target basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-05 20:48:58 EDT", "AssertTimestampMonotonic": "66962978", "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": "Tue 2022-07-05 20:48:58 EDT", "ConditionTimestampMonotonic": "66962978", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:49:16 EDT", "ExecMainExitTimestampMonotonic": "84602741", "ExecMainPID": "18568", "ExecMainStartTimestamp": "Tue 2022-07-05 20:48:58 EDT", "ExecMainStartTimestampMonotonic": "66963568", "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=[Tue 2022-07-05 20:48:58 EDT] ; stop_time=[Tue 2022-07-05 20:49:16 EDT] ; pid=18568 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2022-07-05 20:48:58 EDT] ; stop_time=[Tue 2022-07-05 20:48:58 EDT] ; pid=18558 ; 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": "Tue 2022-07-05 20:48:58 EDT", "InactiveEnterTimestampMonotonic": "66962301", "InactiveExitTimestamp": "Tue 2022-07-05 20:48:58 EDT", "InactiveExitTimestampMonotonic": "66963599", "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": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "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 [linux-system-roles.kdump : Include SSH tasks] **************************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:49:21 +0000 (0:00:00.641) 0:00:04.796 ******** included: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.kdump : Check whether key exists] ********************* task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:49:21 +0000 (0:00:00.079) 0:00:04.876 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068538.4947066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "76a330998c324d0d9b3788ba37188e5f75850ffd", "ctime": 1657068532.0957065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8588797, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068532.0957065, "nlink": 1, "path": "/root/.ssh/kdump_id_rsa", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1679, "uid": 0, "version": "18446744073019273699", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Create key] *********************************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:49:21 +0000 (0:00:00.430) 0:00:05.306 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Fetch key] ************************************ task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:49:21 +0000 (0:00:00.019) 0:00:05.326 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFETFV2Rmtac081ZmYyMm9IVUI0c0RlZ3dseXV0ak1BK1VOTWoyaFBHWlVTYVhrV1RtaVhrTjNxR2dZZ3orQlpwMytwWEo2aUNZV0drOXFIS0ljUk1UMFo2VENrTGxNaWU4ZUpXUTZuUmdOeUdFMmloMmx2UGswMllURGhraEtDUXdLaXJzRjJLV3d3WWlMeHI3ZmdWdmsxQ3hYTzlOSExia1MyK2dYVEhWYkN3dFhrV3pPR3FhazFnMVVYZkN6ZGFFTGRZMFBROFdUMG5tc0F6ZmdKWktPUGtTbXlzVDhyYis3LytCSnpJdEVrbWEzR0lKcGJYdUZKS29iamNiVTZhL0xvWllJT3hLN1FUcDhqaHNLSTFUcDJhcGRiZGpxcHlxdE5LWHBzVWg1QW1qMEkrU0xsbkVyYTBwWUFwekkzSFdKQmxJMGZmMUtoeUQ2K2NEdWR6cUogcm9vdEBpYm0tcDgta3ZtLTAzLWd1ZXN0LTAyLnZpcnQucG5yLmxhYi5lbmcucmR1Mi5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [linux-system-roles.kdump : Get userinfo for "root"] ********************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:49:22 +0000 (0:00:00.412) 0:00:05.738 ******** ok: [/cache/rhel-7.qcow2] => { "append": false, "changed": false, "comment": "root", "group": 0, "home": "/root", "move_home": false, "name": "root", "shell": "/bin/bash", "state": "present", "uid": 0 } TASK [linux-system-roles.kdump : Set authorized_keys file path] **************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:49:22 +0000 (0:00:00.514) 0:00:06.252 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [linux-system-roles.kdump : Get the authorized_keys file for the user] **** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 Wednesday 06 July 2022 00:49:22 +0000 (0:00:00.071) 0:00:06.324 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068538.5617065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3840562fc2b7499295a8befd75e22deedd035cc0", "ctime": 1657068534.4987066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421217, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068534.1937065, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 844, "uid": 0, "version": "18446744073225906485", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Get the authorized_keys contents, if any] ***** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 Wednesday 06 July 2022 00:49:23 +0000 (0:00:00.335) 0:00:06.659 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgpzc2gtcnNhIEFBQUFCM056YUMxeWMyRUFBQUFEQVFBQkFBQUJBUURMVXZGa1pzTzVmZjIyb0hVQjRzRGVnd2x5dXRqTUErVU5NajJoUEdaVVNhWGtXVG1pWGtOM3FHZ1lneitCWnAzK3BYSjZpQ1lXR2s5cUhLSWNSTVQwWjZUQ2tMbE1pZThlSldRNm5SZ055R0UyaWgybHZQazAyWVREaGtoS0NRd0tpcnNGMktXd3dZaUx4cjdmZ1Z2azFDeFhPOU5ITGJrUzIrZ1hUSFZiQ3d0WGtXek9HcWFrMWcxVVhmQ3pkYUVMZFkwUFE4V1Qwbm1zQXpmZ0paS09Qa1NteXNUOHJiKzcvK0JKekl0RWttYTNHSUpwYlh1RkpLb2JqY2JVNmEvTG9aWUlPeEs3UVRwOGpoc0tJMVRwMmFwZGJkanFweXF0TktYcHNVaDVBbWowSStTTGxuRXJhMHBZQXB6STNIV0pCbEkwZmYxS2h5RDYrY0R1ZHpxSiByb290QGlibS1wOC1rdm0tMDMtZ3Vlc3QtMDIudmlydC5wbnIubGFiLmVuZy5yZHUyLnJlZGhhdC5jb20KCg==", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [linux-system-roles.kdump : Write new authorized_keys if needed] ********** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 Wednesday 06 July 2022 00:49:23 +0000 (0:00:00.326) 0:00:06.986 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "c6e4ef043a910b33bfe03573b9f8985c94448150", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "2e62aba9a1ee9538d210842f8be8f826", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 1286, "src": "/root/.ansible/tmp/ansible-tmp-1657068563.6187809-25975-54344047295504/source", "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Fetch the servers public key] ***************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 Wednesday 06 July 2022 00:49:24 +0000 (0:00:00.739) 0:00:07.725 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDM1NYN2ZHTTBVNnZkeGMrMFhyOE8yUGI5Q2U1cFp3Ym4rZWRsYjRyRFJNWlU4Z25TeWg4UFJzLzZ4dFRWeGRhamFBcnpLT1UrdkFRamd5WGxEd0lwRm55OXR2Y0dEWThFQWQ1ZnVKS3U2R3dEZjlEUmtzVTQxL01NaDNvVk5pQUFPMGxnTjV2cVd4K3AzRDM2dm1aaUVEcWZUbndkQ3ZTOUI0bHhrblQzSldzRmszbGVSYnBMN1NaTzJGUG5la000V2J2YnpWczVWL0tVbGUzaHRMQktGTUQrWU1rblpvaWJ0SXBFeERKN0l5VzcxSG1EQU56Rm5SQVI4NnQzLzA0RVpXTjY5cEJ3QjBxTEwxdUtVMDBabU1ENk9zNlRQbHJiQ3pFRWVZUUFqRk8xSERicXNGYSs5aC9MSVlqOGVVKzRDU20wYmxWaTlLVytqL0owTUtyMjkgCg==", "encoding": "base64", "source": "/etc/ssh/ssh_host_rsa_key.pub" } TASK [linux-system-roles.kdump : Add the servers public key to known_hosts on managed node] *** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 Wednesday 06 July 2022 00:49:24 +0000 (0:00:00.329) 0:00:08.054 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3SX7fGM0U6vdxc+0Xr8O2Pb9Ce5pZwbn+edlb4rDRMZU8gnSyh8PRs/6xtTVxdajaArzKOU+vAQjgyXlDwIpFny9tvcGDY8EAd5fuJKu6GwDf9DRksU41/MMh3oVNiAAO0lgN5vqWx+p3D36vmZiEDqfTnwdCvS9B4lxknT3JWsFk3leRbpL7SZO2FPnekM4WbvbzVs5V/KUle3htLBKFMD+YMknZoibtIpExDJ7IyW71HmDANzFnRAR86t3/04EZWN69pBwB0qLL1uKU00ZmMD6Os6TPlrbCzEEeYQAjFO1HDbqsFa+9h/LIYj8eU+4CSm0blVi9KW+j/J0MKr29 \n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 392, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists] ***** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:49:25 +0000 (0:00:00.508) 0:00:08.563 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068538.4487066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "ctime": 1657068536.2187066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12584514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068536.0117066, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 74, "uid": 0, "version": "514640715", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/kdump.conf] ********************* task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:49:25 +0000 (0:00:00.298) 0:00:08.861 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "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": 74, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:49:26 +0000 (0:00:00.651) 0:00:09.513 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068487.7517066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "ctime": 1657068486.3837066, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521655, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068486.1737065, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 377, "uid": 0, "version": "657949485", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.kdump : Generate /etc/sysconfig/kdump] **************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:49:26 +0000 (0:00:00.298) 0:00:09.811 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "state": "file", "uid": 0 } TASK [linux-system-roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:49:26 +0000 (0:00:00.505) 0:00:10.317 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [linux-system-roles.kdump : Set the kdump_reboot_required fact] *********** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.291) 0:00:10.609 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed] ***** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.040) 0:00:10.649 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.028) 0:00:10.678 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Reboot the managed node] ********************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:73 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.028) 0:00:10.706 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Clear the kdump_reboot_required flag] ********* task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:79 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.028) 0:00:10.735 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kdump : Ensure that kdump is started] ***************** task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.028) 0:00:10.763 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:49:16 EDT", "ActiveEnterTimestampMonotonic": "84603467", "ActiveExitTimestamp": "Tue 2022-07-05 20:48:58 EDT", "ActiveExitTimestampMonotonic": "66941527", "ActiveState": "active", "After": "remote-fs.target network-online.target basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-05 20:48:58 EDT", "AssertTimestampMonotonic": "66962978", "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": "Tue 2022-07-05 20:48:58 EDT", "ConditionTimestampMonotonic": "66962978", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:49:16 EDT", "ExecMainExitTimestampMonotonic": "84602741", "ExecMainPID": "18568", "ExecMainStartTimestamp": "Tue 2022-07-05 20:48:58 EDT", "ExecMainStartTimestampMonotonic": "66963568", "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=[Tue 2022-07-05 20:48:58 EDT] ; stop_time=[Tue 2022-07-05 20:49:16 EDT] ; pid=18568 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2022-07-05 20:48:58 EDT] ; stop_time=[Tue 2022-07-05 20:48:58 EDT] ; pid=18558 ; 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": "Tue 2022-07-05 20:48:58 EDT", "InactiveEnterTimestampMonotonic": "66962301", "InactiveExitTimestamp": "Tue 2022-07-05 20:48:58 EDT", "InactiveExitTimestampMonotonic": "66963599", "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": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "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: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=24 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 00:49:27 +0000 (0:00:00.394) 0:00:11.158 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:1 --------------------------------- linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.74s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 -------- gather facts from /cache/rhel-7.qcow2 ----------------------------------- 0.68s /tmp/tmpcnb5o25m/tests/tests_ssh_reboot.yml:63 -------------------------------- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.65s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.64s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Install required packages -------------------- 0.63s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- linux-system-roles.kdump : Get userinfo for "root" ---------------------- 0.51s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:15 -------- linux-system-roles.kdump : Add the servers public key to known_hosts on managed node --- 0.51s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 -------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.51s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Check whether key exists --------------------- 0.43s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 --------- linux-system-roles.kdump : Fetch key ------------------------------------ 0.41s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 -------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.40s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.39s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 ------- linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.34s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 -------- linux-system-roles.kdump : Fetch the servers public key ----------------- 0.33s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 -------- linux-system-roles.kdump : Get the authorized_keys contents, if any ----- 0.33s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 -------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.30s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.30s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.29s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 ------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpbnr8689m executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 00:51:20 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 00:51:21 +0000 (0:00:01.398) 0:00:01.416 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ssh_reboot.yml ************************************************* 1 plays in /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:1 Wednesday 06 July 2022 00:51:21 +0000 (0:00:00.010) 0:00:01.427 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [gather facts from /cache/rhel-7.qcow2] *********************************** task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:59 Wednesday 06 July 2022 00:51:22 +0000 (0:00:00.946) 0:00:02.373 ******** ok: [/cache/rhel-7.qcow2] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:64 Wednesday 06 July 2022 00:51:23 +0000 (0:00:00.679) 0:00:03.053 ******** skipping: [/cache/rhel-7.qcow2] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:74 Wednesday 06 July 2022 00:51:23 +0000 (0:00:00.021) 0:00:03.074 ******** META: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 skipping: [/cache/rhel-7.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-7.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:81 Wednesday 06 July 2022 00:51:23 +0000 (0:00:00.017) 0:00:03.091 ******** TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Wednesday 06 July 2022 00:51:23 +0000 (0:00:00.043) 0:00:03.135 ******** included: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:51:23 +0000 (0:00:00.029) 0:00:03.164 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Wednesday 06 July 2022 00:51:24 +0000 (0:00:00.402) 0:00:03.567 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed" ] } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 Wednesday 06 July 2022 00:51:24 +0000 (0:00:00.668) 0:00:04.236 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:51:18 EDT", "ActiveEnterTimestampMonotonic": "83014750", "ActiveExitTimestamp": "Tue 2022-07-05 20:51:00 EDT", "ActiveExitTimestampMonotonic": "65304017", "ActiveState": "active", "After": "systemd-journald.socket system.slice network-online.target remote-fs.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-05 20:51:00 EDT", "AssertTimestampMonotonic": "65325353", "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": "Tue 2022-07-05 20:51:00 EDT", "ConditionTimestampMonotonic": "65325352", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:51:18 EDT", "ExecMainExitTimestampMonotonic": "83014071", "ExecMainPID": "18577", "ExecMainStartTimestamp": "Tue 2022-07-05 20:51:00 EDT", "ExecMainStartTimestampMonotonic": "65325919", "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=[Tue 2022-07-05 20:51:00 EDT] ; stop_time=[Tue 2022-07-05 20:51:18 EDT] ; pid=18577 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2022-07-05 20:51:00 EDT] ; stop_time=[Tue 2022-07-05 20:51:00 EDT] ; pid=18567 ; 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": "Tue 2022-07-05 20:51:00 EDT", "InactiveEnterTimestampMonotonic": "65324408", "InactiveExitTimestamp": "Tue 2022-07-05 20:51:00 EDT", "InactiveExitTimestampMonotonic": "65325955", "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": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "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/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 Wednesday 06 July 2022 00:51:25 +0000 (0:00:00.636) 0:00:04.873 ******** included: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.kdump : Check whether key exists] ************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 Wednesday 06 July 2022 00:51:25 +0000 (0:00:00.084) 0:00:04.957 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068660.918368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e33bf7afd82c2ce8ff8977c5f9e2fc381d6bd629", "ctime": 1657068654.426368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8588797, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068654.426368, "nlink": 1, "path": "/root/.ssh/kdump_id_rsa", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1675, "uid": 0, "version": "1492398122", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Create key] **************************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 Wednesday 06 July 2022 00:51:25 +0000 (0:00:00.419) 0:00:05.377 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fetch key] ***************************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 Wednesday 06 July 2022 00:51:25 +0000 (0:00:00.019) 0:00:05.397 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEbmxkN2ZVSG9Hd042anZtUUZqY0Q4cXN3dGVldytVKzJWK3c5a0hJY2FacEh3aGV4OVB3VXVwYTdzVnpPMExaYkNhSUJZYjVRcnFMUEdoeTBSOE12ZmJqL0hMNkhDVjFxZTBMa2NoOTRvSGFWakcvK2dCR0tMMDJTZ2VSbU92ZG51U3hTWVduaUFZZ0N3RmR1SDc5TjlzSlI0Qlp5Y1MzaFYvc244QkJwRXFETFJpb3gxVmREUnk1QlVKWlhXNG9tMlJBSE9xNFRLcEkyRGRMYVQ5eGtCQXJ0SzlHTW50Z3dzTllkSThSOFRSQnRDN3pLQk82S3Z5QnNkb2RXUzZ3d3A0Mk1lbEl3eENsc2VnYjdWOEVTdUdTVUNPOXV3YVZMckVIbmxBUDN6bHhmb0tscUtkdk5iUzVQWmJCSW9uZ1BJeVN1d0JrOE1uZU1sNjFtNm9pcGYgcm9vdEBpYm0tcDgta3ZtLTAzLWd1ZXN0LTAyLnZpcnQucG5yLmxhYi5lbmcucmR1Mi5yZWRoYXQuY29tCg==", "encoding": "base64", "source": "/root/.ssh/kdump_id_rsa.pub" } TASK [fedora.linux_system_roles.kdump : Get userinfo for "root"] *************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 Wednesday 06 July 2022 00:51:26 +0000 (0:00:00.420) 0:00:05.817 ******** ok: [/cache/rhel-7.qcow2] => { "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 : Set authorized_keys file path] ********* task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:22 Wednesday 06 July 2022 00:51:26 +0000 (0:00:00.504) 0:00:06.322 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__kdump_authorized_keys_path": "/root/.ssh/authorized_keys" }, "changed": false } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys file for the user] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 Wednesday 06 July 2022 00:51:26 +0000 (0:00:00.085) 0:00:06.407 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068660.991368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fc001bdbb19efb912689348de6c2daa60960a161", "ctime": 1657068656.787368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421725, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068656.4833682, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 844, "uid": 0, "version": "1081863980", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 Wednesday 06 July 2022 00:51:27 +0000 (0:00:00.325) 0:00:06.732 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgpzc2gtcnNhIEFBQUFCM056YUMxeWMyRUFBQUFEQVFBQkFBQUJBUURubGQ3ZlVIb0d3TjZqdm1RRmpjRDhxc3d0ZWV3K1UrMlYrdzlrSEljYVpwSHdoZXg5UHdVdXBhN3NWek8wTFpiQ2FJQlliNVFycUxQR2h5MFI4TXZmYmovSEw2SENWMXFlMExrY2g5NG9IYVZqRy8rZ0JHS0wwMlNnZVJtT3ZkbnVTeFNZV25pQVlnQ3dGZHVINzlOOXNKUjRCWnljUzNoVi9zbjhCQnBFcURMUmlveDFWZERSeTVCVUpaWFc0b20yUkFIT3E0VEtwSTJEZExhVDl4a0JBcnRLOUdNbnRnd3NOWWRJOFI4VFJCdEM3ektCTzZLdnlCc2RvZFdTNnd3cDQyTWVsSXd4Q2xzZWdiN1Y4RVN1R1NVQ085dXdhVkxyRUhubEFQM3pseGZvS2xxS2R2TmJTNVBaYkJJb25nUEl5U3V3Qms4TW5lTWw2MW02b2lwZiByb290QGlibS1wOC1rdm0tMDMtZ3Vlc3QtMDIudmlydC5wbnIubGFiLmVuZy5yZHUyLnJlZGhhdC5jb20KCg==", "encoding": "base64", "source": "/root/.ssh/authorized_keys" } TASK [fedora.linux_system_roles.kdump : Write new authorized_keys if needed] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 Wednesday 06 July 2022 00:51:27 +0000 (0:00:00.312) 0:00:07.045 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "32a7f0204ba821cfa56bcf02dbe83ce7ef877b3f", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "4800fff725d72f9c7aa2192beb5fbb60", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 1286, "src": "/root/.ansible/tmp/ansible-tmp-1657068687.6178882-28865-23070642771424/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Fetch the servers public key] ********** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 Wednesday 06 July 2022 00:51:28 +0000 (0:00:00.721) 0:00:07.766 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEQUUwbzFyOXdIK2IvYVhxbWdGanhCOEFxRVdwYlBRZExqbjRmeW9kd0Vjem1OTHVwUExYSnpLNC9FWklDeHh6dTVxOCtFYThmNE9jK3d4L2M2NlVFcGZWa3dibVhDT2RNWVdiNDNUUXA5RnRDbHdENWZZUEFDbGNYK1B1empvdDlTUHVGRDZaZ0hLSkJNb2JabjBvZTk4VWV6Z1B3NWtXM09vc3V4dy9ZMmJMSnd3eGlmQ0ZLenVOTXRiRGJadHdxOVhPQXhVd2k2R3FaWUlXZnl1TDI2c1JvUlQyTm5oN1FLOTg1YmppN0lWdjFPL1ZnVW5VdVdRdHNZU2dqcm9jTXhNeDYyRlhOK1dIS1lBbjdXaVJkMUcvNndRTTAvL0RsZ2ZTZnFST3dJeXFhN1JGK2czZ240TVE2Sis4OWo3RGhsUW5YYUI1aW5iazdpQXRkRTVrckYgCg==", "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/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 Wednesday 06 July 2022 00:51:28 +0000 (0:00:00.327) 0:00:08.093 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "hash_host": false, "key": "10.0.2.15 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAE0o1r9wH+b/aXqmgFjxB8AqEWpbPQdLjn4fyodwEczmNLupPLXJzK4/EZICxxzu5q8+Ea8f4Oc+wx/c66UEpfVkwbmXCOdMYWb43TQp9FtClwD5fYPAClcX+Puzjot9SPuFD6ZgHKJBMobZn0oe98UezgPw5kW3Oosuxw/Y2bLJwwxifCFKzuNMtbDbZtwq9XOAxUwi6GqZYIWfyuL26sRoRT2Nnh7QK985bji7IVv1O/VgUnUuWQtsYSgjrocMxMx62FXN+WHKYAn7WiRd1G/6wQM0//DlgfSfqROwIyqa7RF+g3gn4MQ6J+89j7DhlQnXaB5inbk7iAtdE5krF \n", "mode": "0644", "name": "10.0.2.15", "owner": "root", "path": "/etc/ssh/ssh_known_hosts", "secontext": "system_u:object_r:etc_t:s0", "size": 392, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 Wednesday 06 July 2022 00:51:29 +0000 (0:00:00.521) 0:00:08.615 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068660.8713682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "ctime": 1657068658.601368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12584578, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068658.393368, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 74, "uid": 0, "version": "18446744073450972475", "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/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 Wednesday 06 July 2022 00:51:29 +0000 (0:00:00.311) 0:00:08.926 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "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": 74, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 Wednesday 06 July 2022 00:51:30 +0000 (0:00:00.672) 0:00:09.599 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068612.048368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "ctime": 1657068610.652368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068610.4373682, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 377, "uid": 0, "version": "18446744073239396172", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump] ********* task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 Wednesday 06 July 2022 00:51:30 +0000 (0:00:00.313) 0:00:09.912 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/kdump", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 Wednesday 06 July 2022 00:51:30 +0000 (0:00:00.522) 0:00:10.435 ******** ok: [/cache/rhel-7.qcow2] => { "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/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.294) 0:00:10.730 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.041) 0:00:10.771 ******** skipping: [/cache/rhel-7.qcow2] => { "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/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.031) 0:00:10.803 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:71 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.032) 0:00:10.835 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:77 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.033) 0:00:10.869 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.032) 0:00:10.901 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:51:18 EDT", "ActiveEnterTimestampMonotonic": "83014750", "ActiveExitTimestamp": "Tue 2022-07-05 20:51:00 EDT", "ActiveExitTimestampMonotonic": "65304017", "ActiveState": "active", "After": "systemd-journald.socket system.slice network-online.target remote-fs.target basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2022-07-05 20:51:00 EDT", "AssertTimestampMonotonic": "65325353", "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": "Tue 2022-07-05 20:51:00 EDT", "ConditionTimestampMonotonic": "65325352", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:51:18 EDT", "ExecMainExitTimestampMonotonic": "83014071", "ExecMainPID": "18577", "ExecMainStartTimestamp": "Tue 2022-07-05 20:51:00 EDT", "ExecMainStartTimestampMonotonic": "65325919", "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=[Tue 2022-07-05 20:51:00 EDT] ; stop_time=[Tue 2022-07-05 20:51:18 EDT] ; pid=18577 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Tue 2022-07-05 20:51:00 EDT] ; stop_time=[Tue 2022-07-05 20:51:00 EDT] ; pid=18567 ; 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": "Tue 2022-07-05 20:51:00 EDT", "InactiveEnterTimestampMonotonic": "65324408", "InactiveExitTimestamp": "Tue 2022-07-05 20:51:00 EDT", "InactiveExitTimestampMonotonic": "65325955", "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": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "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: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=24 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 00:51:31 +0000 (0:00:00.383) 0:00:11.285 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:1 --------------------------- fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.72s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 gather facts from /cache/rhel-7.qcow2 ----------------------------------- 0.68s /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh_reboot.yml:59 -------------------------- fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.67s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Install required packages ------------- 0.67s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.64s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.52s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Add the servers public key to known_hosts on managed node --- 0.52s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:60 fedora.linux_system_roles.kdump : Get userinfo for "root" --------------- 0.50s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.42s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:10 fedora.linux_system_roles.kdump : Check whether key exists -------------- 0.42s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:2 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.40s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.38s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 fedora.linux_system_roles.kdump : Fetch the servers public key ---------- 0.33s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.33s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26 fedora.linux_system_roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.31s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:33 fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any --- 0.31s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.31s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.30s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46