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:48:45 +0000 (0:00:00.017) 0:00:00.017 ******** 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:48:46 +0000 (0:00:01.397) 0:00:01.415 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ssh.yml ******************************************************** 1 plays in /tmp/tmpcnb5o25m/tests/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcnb5o25m/tests/tests_ssh.yml:1 Wednesday 06 July 2022 00:48:46 +0000 (0:00:00.010) 0:00:01.425 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [gather facts from /cache/rhel-7.qcow2] *********************************** task path: /tmp/tmpcnb5o25m/tests/tests_ssh.yml:59 Wednesday 06 July 2022 00:48:47 +0000 (0:00:00.950) 0:00:02.375 ******** ok: [/cache/rhel-7.qcow2] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmpcnb5o25m/tests/tests_ssh.yml:64 Wednesday 06 July 2022 00:48:49 +0000 (0:00:01.702) 0:00:04.077 ******** skipping: [/cache/rhel-7.qcow2] => {} TASK [Skip the test on EL 6 when control node == managed node] ***************** task path: /tmp/tmpcnb5o25m/tests/tests_ssh.yml:74 Wednesday 06 July 2022 00:48:49 +0000 (0:00:00.021) 0:00:04.099 ******** 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. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmpcnb5o25m/tests/tests_ssh.yml:85 Wednesday 06 July 2022 00:48:49 +0000 (0:00:00.017) 0:00:04.117 ******** 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:48:49 +0000 (0:00:00.035) 0:00:04.152 ******** 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:48:49 +0000 (0:00:00.029) 0:00:04.182 ******** 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:48:49 +0000 (0:00:00.407) 0:00:04.589 ******** 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:48:50 +0000 (0:00:00.634) 0:00:05.224 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ActiveEnterTimestampMonotonic": "29399666", "ActiveExitTimestampMonotonic": "0", "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:07 EDT", "AssertTimestampMonotonic": "16272488", "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:07 EDT", "ConditionTimestampMonotonic": "16272488", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ExecMainExitTimestampMonotonic": "29399082", "ExecMainPID": "8420", "ExecMainStartTimestamp": "Tue 2022-07-05 20:48:07 EDT", "ExecMainStartTimestampMonotonic": "16273195", "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:07 EDT] ; stop_time=[Tue 2022-07-05 20:48:20 EDT] ; pid=8420 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:07 EDT", "InactiveEnterTimestampMonotonic": "16271672", "InactiveExitTimestamp": "Tue 2022-07-05 20:48:07 EDT", "InactiveExitTimestampMonotonic": "16273574", "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:48:50 +0000 (0:00:00.618) 0:00:05.842 ******** 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:48:51 +0000 (0:00:00.077) 0:00:05.920 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": 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:48:51 +0000 (0:00:00.414) 0:00:06.335 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.060381", "end": "2022-07-05 20:48:52.097235", "rc": 0, "start": "2022-07-05 20:48:52.036854" } 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:Y1o7FibRnNA0rQBBfjsm1ckMAy3OyMd9ss7HwoR5o5k root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 2048]----+ | .==+oo. | | .. oX.+. | | . =.o+.O. | | o =oooo | | ..o=+S | | oo=B + | | X.o+ | | E =.o. | | o | +----[SHA256]-----+ 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:48:51 +0000 (0:00:00.466) 0:00:06.802 ******** 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:48:52 +0000 (0:00:00.433) 0:00:07.236 ******** 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:48:52 +0000 (0:00:00.518) 0:00:07.754 ******** 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:48:52 +0000 (0:00:00.039) 0:00:07.793 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068477.3677065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657068476.7567065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8588809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068476.7557065, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "18446744073040574132", "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:48:53 +0000 (0:00:00.328) 0:00:08.121 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "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:48:53 +0000 (0:00:00.344) 0:00:08.465 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "3840562fc2b7499295a8befd75e22deedd035cc0", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "8829ceeef92d5c8157080db4e95b2abf", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 844, "src": "/root/.ansible/tmp/ansible-tmp-1657068533.7290442-25531-72500017701155/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:48:54 +0000 (0:00:00.751) 0:00:09.217 ******** 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:48:54 +0000 (0:00:00.316) 0:00:09.534 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "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:48:55 +0000 (0:00:00.470) 0:00:10.004 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068487.7597065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657068485.4937065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16777343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068485.1447065, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "18446744073651482330", "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:48:55 +0000 (0:00:00.298) 0:00:10.303 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/kdump.conf.18263.2022-07-05@20:48:56~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657068535.4971087-25607-151809166449995/source", "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:48:56 +0000 (0:00:00.626) 0:00:10.929 ******** 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:48:56 +0000 (0:00:00.316) 0:00:11.246 ******** 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:48:57 +0000 (0:00:00.647) 0:00:11.894 ******** 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:48:57 +0000 (0:00:00.294) 0:00:12.189 ******** 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:48:57 +0000 (0:00:00.041) 0:00:12.230 ******** 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:48:57 +0000 (0:00:00.028) 0:00:12.259 ******** 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:48:57 +0000 (0:00:00.028) 0:00:12.287 ******** 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:48:57 +0000 (0:00:00.027) 0:00:12.314 ******** 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:48:57 +0000 (0:00:00.028) 0:00:12.343 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ActiveEnterTimestampMonotonic": "29399666", "ActiveExitTimestampMonotonic": "0", "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:07 EDT", "AssertTimestampMonotonic": "16272488", "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:07 EDT", "ConditionTimestampMonotonic": "16272488", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ExecMainExitTimestampMonotonic": "29399082", "ExecMainPID": "8420", "ExecMainStartTimestamp": "Tue 2022-07-05 20:48:07 EDT", "ExecMainStartTimestampMonotonic": "16273195", "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:07 EDT] ; stop_time=[Tue 2022-07-05 20:48:20 EDT] ; pid=8420 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:07 EDT", "InactiveEnterTimestampMonotonic": "16271672", "InactiveExitTimestamp": "Tue 2022-07-05 20:48:07 EDT", "InactiveExitTimestampMonotonic": "16273574", "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 RUNNING HANDLER [linux-system-roles.kdump : restart kdump] ********************* task path: /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:48:57 +0000 (0:00:00.381) 0:00:12.725 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ActiveEnterTimestampMonotonic": "29399666", "ActiveExitTimestampMonotonic": "0", "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:07 EDT", "AssertTimestampMonotonic": "16272488", "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:07 EDT", "ConditionTimestampMonotonic": "16272488", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:48:20 EDT", "ExecMainExitTimestampMonotonic": "29399082", "ExecMainPID": "8420", "ExecMainStartTimestamp": "Tue 2022-07-05 20:48:07 EDT", "ExecMainStartTimestampMonotonic": "16273195", "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:07 EDT] ; stop_time=[Tue 2022-07-05 20:48:20 EDT] ; pid=8420 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:07 EDT", "InactiveEnterTimestampMonotonic": "16271672", "InactiveExitTimestamp": "Tue 2022-07-05 20:48:07 EDT", "InactiveExitTimestampMonotonic": "16273574", "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: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=26 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:49:15 +0000 (0:00:18.087) 0:00:30.812 ******** =============================================================================== linux-system-roles.kdump : restart kdump ------------------------------- 18.09s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 ----- gather facts from /cache/rhel-7.qcow2 ----------------------------------- 1.70s /tmp/tmpcnb5o25m/tests/tests_ssh.yml:59 --------------------------------------- set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpcnb5o25m/tests/tests_ssh.yml:1 ---------------------------------------- linux-system-roles.kdump : Write new authorized_keys if needed ---------- 0.75s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:43 -------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.65s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- 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 : Generate /etc/kdump.conf --------------------- 0.63s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.62s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Get userinfo for "root" ---------------------- 0.52s /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.47s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:69 -------- linux-system-roles.kdump : Create key ----------------------------------- 0.47s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:6 --------- linux-system-roles.kdump : Fetch key ------------------------------------ 0.43s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:10 -------- linux-system-roles.kdump : Check whether key exists --------------------- 0.41s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:2 --------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.41s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Ensure that kdump is started ----------------- 0.38s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:89 ------- linux-system-roles.kdump : Get the authorized_keys contents, if any ----- 0.34s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:34 -------- linux-system-roles.kdump : Get the authorized_keys file for the user ---- 0.33s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:28 -------- linux-system-roles.kdump : Get mode of /etc/sysconfig/kdump if it exists --- 0.32s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:33 ------- linux-system-roles.kdump : Fetch the servers public key ----------------- 0.32s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/ssh.yml:63 -------- 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:50:50 +0000 (0:00:00.017) 0:00:00.017 ******** 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:50:51 +0000 (0:00:01.385) 0:00:01.403 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ssh.yml ******************************************************** 1 plays in /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml PLAY [Ensure that the rule runs with ssh] ************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:1 Wednesday 06 July 2022 00:50:51 +0000 (0:00:00.010) 0:00:01.413 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [gather facts from /cache/rhel-7.qcow2] *********************************** task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:55 Wednesday 06 July 2022 00:50:52 +0000 (0:00:00.917) 0:00:02.331 ******** ok: [/cache/rhel-7.qcow2] TASK [Print message that this test is skipped on EL 6] ************************* task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:60 Wednesday 06 July 2022 00:50:52 +0000 (0:00:00.670) 0:00:03.001 ******** 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.yml:70 Wednesday 06 July 2022 00:50:53 +0000 (0:00:00.021) 0:00:03.022 ******** 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. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:81 Wednesday 06 July 2022 00:50:53 +0000 (0:00:00.017) 0:00:03.040 ******** 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:50:53 +0000 (0:00:00.041) 0:00:03.081 ******** 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:50:53 +0000 (0:00:00.036) 0:00:03.117 ******** 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:50:53 +0000 (0:00:00.405) 0:00:03.523 ******** 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:50:54 +0000 (0:00:00.641) 0:00:04.164 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ActiveEnterTimestampMonotonic": "29616533", "ActiveExitTimestampMonotonic": "0", "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:50:12 EDT", "AssertTimestampMonotonic": "16508664", "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:50:12 EDT", "ConditionTimestampMonotonic": "16508664", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ExecMainExitTimestampMonotonic": "29615856", "ExecMainPID": "8429", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:12 EDT", "ExecMainStartTimestampMonotonic": "16509650", "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:50:12 EDT] ; stop_time=[Tue 2022-07-05 20:50:25 EDT] ; pid=8429 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:50:12 EDT", "InactiveEnterTimestampMonotonic": "16508016", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:12 EDT", "InactiveExitTimestampMonotonic": "16509693", "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:50:54 +0000 (0:00:00.620) 0:00:04.785 ******** 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:50:54 +0000 (0:00:00.084) 0:00:04.869 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": 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:50:55 +0000 (0:00:00.423) 0:00:05.292 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "/usr/bin/ssh-keygen", "-t", "rsa", "-f", "/root/.ssh/kdump_id_rsa", "-N", "" ], "delta": "0:00:00.058097", "end": "2022-07-05 20:50:54.428445", "rc": 0, "start": "2022-07-05 20:50:54.370348" } 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:xNnvuQJGJrtDyzC/TiT/ilQ6DcH+P7zBqk8YhoHdKrw root@ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com The key's randomart image is: +---[RSA 2048]----+ | | | o o . o | |. o + + . | |. = ...o . | |..o * o=S . | | ...o%o.o . . | | E =**=o. o | | . =*+o.. . | | o+*++o .. | +----[SHA256]-----+ 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:50:55 +0000 (0:00:00.481) 0:00:05.774 ******** 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:50:56 +0000 (0:00:00.430) 0:00:06.204 ******** 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:50:56 +0000 (0:00:00.519) 0:00:06.724 ******** 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:50:56 +0000 (0:00:00.043) 0:00:06.767 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068601.380368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2ca600cf1bed4b89ba8eaab82715fd61a27ce7ab", "ctime": 1657068600.751368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8588809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1657068600.750368, "nlink": 1, "path": "/root/.ssh/authorized_keys", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 401, "uid": 0, "version": "18446744073621242091", "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:50:57 +0000 (0:00:00.313) 0:00:07.081 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEVU90TkpkQkVYeUt4QkI4OThyZFQ1NFVMak1HdU82djRqTFhtUnNkUmhSNUlkL2xLTmM5aHNkaW9QV1VlUGdZbHFNTDJpU1Y3MnZLUW9WaGt5WWtwY3NqcjN6dkJueTkrNXhlajMrVEJMb0VNQW0yaG1sbEtQbXhZSkRVOGpRSjd3SnVSck9WT25rMGlTTkYrRmNZL3lhUTBvd1NGMDJOcGh4NDdqMktXYzBJakdHbHQ0ZmwwZm1ISnVaQkEyYWZOLzRJWUlJc0VXWnppRGV3VnRhRWpXVjNJbk1STGxsZmRxR01sbGhGUitlZDJoUXo5UE4yUWNhcG1FdlVSNFVDeS9tSlhya2U1aHR5RnlIaThFQ2Z5TU15WWVId2JXTEZRSXZlNENXaXg5cXRrc3ZLamNldG54VCtXV3J1dGRyM2M5Y2ZJai9jMHYvWmcvYzR6RVR4dHAgc3RhbmRhcmQtdGVzdC1xY293Mgo=", "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:50:57 +0000 (0:00:00.323) 0:00:07.405 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "fc001bdbb19efb912689348de6c2daa60960a161", "dest": "/root/.ssh/authorized_keys", "gid": 0, "group": "root", "md5sum": "ae15d6446c01f249f1a4e95d565907e5", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:ssh_home_t:s0", "size": 844, "src": "/root/.ansible/tmp/ansible-tmp-1657068657.5135422-28427-221027955504756/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:50:58 +0000 (0:00:00.740) 0:00:08.145 ******** 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:50:58 +0000 (0:00:00.336) 0:00:08.481 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "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:50:58 +0000 (0:00:00.515) 0:00:08.997 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068612.057368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "ctime": 1657068609.758368, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16777342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1657068609.413368, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 55, "uid": 0, "version": "335520132", "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:50:59 +0000 (0:00:00.325) 0:00:09.323 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/kdump.conf.18272.2022-07-05@20:50:58~", "changed": true, "checksum": "0ee0967bb52a1fc99781ac00bf3077669fe310b1", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "03a183acc007a54ce9157230fb004978", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 74, "src": "/root/.ansible/tmp/ansible-tmp-1657068659.3723638-28503-113851399478788/source", "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:50:59 +0000 (0:00:00.627) 0:00:09.950 ******** 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:00 +0000 (0:00:00.308) 0:00:10.258 ******** 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:00 +0000 (0:00:00.658) 0:00:10.916 ******** 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:01 +0000 (0:00:00.290) 0:00:11.207 ******** 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:01 +0000 (0:00:00.043) 0:00:11.251 ******** 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:01 +0000 (0:00:00.031) 0:00:11.282 ******** 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:01 +0000 (0:00:00.032) 0:00:11.314 ******** 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:01 +0000 (0:00:00.031) 0:00:11.346 ******** 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:01 +0000 (0:00:00.031) 0:00:11.377 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ActiveEnterTimestampMonotonic": "29616533", "ActiveExitTimestampMonotonic": "0", "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:50:12 EDT", "AssertTimestampMonotonic": "16508664", "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:50:12 EDT", "ConditionTimestampMonotonic": "16508664", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ExecMainExitTimestampMonotonic": "29615856", "ExecMainPID": "8429", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:12 EDT", "ExecMainStartTimestampMonotonic": "16509650", "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:50:12 EDT] ; stop_time=[Tue 2022-07-05 20:50:25 EDT] ; pid=8429 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:50:12 EDT", "InactiveEnterTimestampMonotonic": "16508016", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:12 EDT", "InactiveExitTimestampMonotonic": "16509693", "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 RUNNING HANDLER [fedora.linux_system_roles.kdump : restart kdump] ************** task path: /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Wednesday 06 July 2022 00:51:01 +0000 (0:00:00.395) 0:00:11.772 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ActiveEnterTimestampMonotonic": "29616533", "ActiveExitTimestampMonotonic": "0", "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:50:12 EDT", "AssertTimestampMonotonic": "16508664", "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:50:12 EDT", "ConditionTimestampMonotonic": "16508664", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2022-07-05 20:50:25 EDT", "ExecMainExitTimestampMonotonic": "29615856", "ExecMainPID": "8429", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:12 EDT", "ExecMainStartTimestampMonotonic": "16509650", "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:50:12 EDT] ; stop_time=[Tue 2022-07-05 20:50:25 EDT] ; pid=8429 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/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:50:12 EDT", "InactiveEnterTimestampMonotonic": "16508016", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:12 EDT", "InactiveExitTimestampMonotonic": "16509693", "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: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=26 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:51:19 +0000 (0:00:18.136) 0:00:29.909 ******** =============================================================================== fedora.linux_system_roles.kdump : restart kdump ------------------------ 18.14s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 set up internal repositories -------------------------------------------- 1.39s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:1 ---------------------------------- fedora.linux_system_roles.kdump : Write new authorized_keys if needed --- 0.74s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:41 gather facts from /cache/rhel-7.qcow2 ----------------------------------- 0.67s /tmp/tmpzvmzxf5r/tests/kdump/tests_ssh.yml:55 --------------------------------- fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.66s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Install required packages ------------- 0.64s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.63s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.62s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Get userinfo for "root" --------------- 0.52s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:15 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 : Create key ---------------------------- 0.48s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:6 fedora.linux_system_roles.kdump : Fetch key ----------------------------- 0.43s /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.41s /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.40s /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.34s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:54 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.33s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:20 fedora.linux_system_roles.kdump : Get the authorized_keys contents, if any --- 0.32s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:32 fedora.linux_system_roles.kdump : Get the authorized_keys file for the user --- 0.31s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/ssh.yml:26