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:00 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/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": true } changed: [/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": true } changed: [/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": true } changed: [/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": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 00:48:02 +0000 (0:00:01.402) 0:00:01.421 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpcnb5o25m/tests/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmpcnb5o25m/tests/tests_default.yml:9 Wednesday 06 July 2022 00:48:02 +0000 (0:00:00.015) 0:00:01.436 ******** 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:02 +0000 (0:00:00.031) 0:00:01.467 ******** 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:02 +0000 (0:00:00.023) 0:00:01.490 ******** 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:02 +0000 (0:00:00.643) 0:00:02.134 ******** 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:03 +0000 (0:00:00.760) 0:00:02.895 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:47:56 EDT", "AssertTimestampMonotonic": "5314746", "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:47:56 EDT", "ConditionTimestampMonotonic": "5314745", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1170", "ExecMainStartTimestamp": "Tue 2022-07-05 20:47:56 EDT", "ExecMainStartTimestampMonotonic": "5315348", "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:47:56 EDT] ; stop_time=[n/a] ; pid=1170 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:47:56 EDT", "InactiveExitTimestampMonotonic": "5315386", "Job": "167", "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": "1170", "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": "start", "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:04 +0000 (0:00:00.600) 0:00:03.496 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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:04 +0000 (0:00:00.031) 0:00:03.527 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068476.8607066, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", "ctime": 1656904408.499, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421699, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1656904408.499, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 7274, "uid": 0, "version": "430536357", "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:04 +0000 (0:00:00.434) 0:00:03.962 ******** NOTIFIED HANDLER linux-system-roles.kdump : restart kdump for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/kdump.conf.7866.2022-07-05@20:48:05~", "changed": true, "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "5e27aee79dc98e90a4288384a8dc9dc7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 55, "src": "/root/.ansible/tmp/ansible-tmp-1657068484.6584332-24366-168083224478782/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:05 +0000 (0:00:00.741) 0:00:04.704 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068476.7997065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "040329f46c12833eae109e0d6baf791345ea1c80", "ctime": 1656904407.859, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421701, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1619504723.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1729, "uid": 0, "version": "18446744072797086609", "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:05 +0000 (0:00:00.318) 0:00:05.023 ******** changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/sysconfig/kdump.8252.2022-07-05@20:48:06~", "changed": true, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "ea1a0b5f83daa6e4cda906836f2d2405", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "src": "/root/.ansible/tmp/ansible-tmp-1657068485.7123787-24410-168219952301419/source", "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:06 +0000 (0:00:00.568) 0:00:05.592 ******** 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:06 +0000 (0:00:00.395) 0:00:05.988 ******** 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:06 +0000 (0:00:00.041) 0:00:06.029 ******** 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:06 +0000 (0:00:00.031) 0:00:06.061 ******** 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:06 +0000 (0:00:00.030) 0:00:06.092 ******** 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:06 +0000 (0:00:00.030) 0:00:06.122 ******** 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:06 +0000 (0:00:00.029) 0:00:06.151 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:47:56 EDT", "AssertTimestampMonotonic": "5314746", "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:47:56 EDT", "ConditionTimestampMonotonic": "5314745", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1170", "ExecMainStartTimestamp": "Tue 2022-07-05 20:47:56 EDT", "ExecMainStartTimestampMonotonic": "5315348", "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:47:56 EDT] ; stop_time=[n/a] ; pid=1170 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:47:56 EDT", "InactiveExitTimestampMonotonic": "5315386", "Job": "167", "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": "1170", "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": "start", "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:07 +0000 (0:00:00.385) 0:00:06.536 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:47:56 EDT", "AssertTimestampMonotonic": "5314746", "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:47:56 EDT", "ConditionTimestampMonotonic": "5314745", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1170", "ExecMainStartTimestamp": "Tue 2022-07-05 20:47:56 EDT", "ExecMainStartTimestampMonotonic": "5315348", "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:47:56 EDT] ; stop_time=[n/a] ; pid=1170 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:47:56 EDT", "InactiveExitTimestampMonotonic": "5315386", "Job": "167", "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": "1170", "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": "start", "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=13 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:48:20 +0000 (0:00:13.575) 0:00:20.112 ******** =============================================================================== linux-system-roles.kdump : restart kdump ------------------------------- 13.58s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/handlers/main.yml:2 ----- set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.kdump : Install required packages -------------------- 0.76s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:5 -------- linux-system-roles.kdump : Generate /etc/kdump.conf --------------------- 0.74s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:25 ------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.64s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/set_vars.yml:2 ---- linux-system-roles.kdump : Ensure that kdump is enabled ----------------- 0.60s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:10 ------- linux-system-roles.kdump : Generate /etc/sysconfig/kdump ---------------- 0.57s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:38 ------- linux-system-roles.kdump : Get mode of /etc/kdump.conf if it exists ----- 0.43s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:20 ------- linux-system-roles.kdump : Find out reserved memory for the crash kernel --- 0.40s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:46 ------- 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 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 : Set the kdump_reboot_required fact ----------- 0.04s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:51 ------- linux-system-roles.kdump : Include SSH tasks ---------------------------- 0.03s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:15 ------- linux-system-roles.kdump : Use kdumpctl reset-crashkernel if needed ----- 0.03s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:57 ------- Run the role. If reboot is not required - the play succeeds. ------------ 0.03s /tmp/tmpcnb5o25m/tests/tests_default.yml:9 ------------------------------------ linux-system-roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.03s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:64 ------- linux-system-roles.kdump : Reboot the managed node ---------------------- 0.03s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:73 ------- linux-system-roles.kdump : Clear the kdump_reboot_required flag --------- 0.03s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:79 ------- linux-system-roles.kdump : Ensure ansible_facts used by role ------------ 0.02s /tmp/tmpcnb5o25m/tests/roles/linux-system-roles.kdump/tasks/main.yml:2 -------- 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:06 +0000 (0:00:00.019) 0:00:00.019 ******** changed: [/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": true } changed: [/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": true } changed: [/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": true } changed: [/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": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 00:50:07 +0000 (0:00:01.415) 0:00:01.434 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpzvmzxf5r/tests/kdump/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the role. If reboot is not required - the play succeeds.] ************ task path: /tmp/tmpzvmzxf5r/tests/kdump/tests_default.yml:9 Wednesday 06 July 2022 00:50:07 +0000 (0:00:00.015) 0:00:01.449 ******** 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:07 +0000 (0:00:00.039) 0:00:01.489 ******** 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:07 +0000 (0:00:00.025) 0:00:01.515 ******** 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:08 +0000 (0:00:00.660) 0:00:02.175 ******** 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:09 +0000 (0:00:00.800) 0:00:02.976 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:00 EDT", "AssertTimestampMonotonic": "5250760", "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:00 EDT", "ConditionTimestampMonotonic": "5250756", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1176", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:00 EDT", "ExecMainStartTimestampMonotonic": "5251382", "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:00 EDT] ; stop_time=[n/a] ; pid=1176 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:00 EDT", "InactiveExitTimestampMonotonic": "5251419", "Job": "177", "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": "1176", "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": "start", "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:09 +0000 (0:00:00.631) 0:00:03.607 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } 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:09 +0000 (0:00:00.032) 0:00:03.640 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068600.808368, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "adb37a9eb1d010f11b1cbc1f109bc9a591f8117b", "ctime": 1656904408.499, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421699, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1656904408.499, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 7274, "uid": 0, "version": "430536357", "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:10 +0000 (0:00:00.437) 0:00:04.077 ******** NOTIFIED HANDLER fedora.linux_system_roles.kdump : restart kdump for /cache/rhel-7.qcow2 changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/kdump.conf.8040.2022-07-05@20:50:09~", "changed": true, "checksum": "322a59b94cd78e230298a24b3f5588067863d13c", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "5e27aee79dc98e90a4288384a8dc9dc7", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 55, "src": "/root/.ansible/tmp/ansible-tmp-1657068610.4230535-27220-54984194123020/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:11 +0000 (0:00:00.730) 0:00:04.807 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1657068600.7963681, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "040329f46c12833eae109e0d6baf791345ea1c80", "ctime": 1656904407.859, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 421701, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1619504723.0, "nlink": 1, "path": "/etc/sysconfig/kdump", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1729, "uid": 0, "version": "18446744072797086609", "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:50:11 +0000 (0:00:00.307) 0:00:05.115 ******** changed: [/cache/rhel-7.qcow2] => { "backup_file": "/etc/sysconfig/kdump.8261.2022-07-05@20:50:10~", "changed": true, "checksum": "f72fdd79ebc820e4c57c8ac11d104f2a7fea10e0", "dest": "/etc/sysconfig/kdump", "gid": 0, "group": "root", "md5sum": "ea1a0b5f83daa6e4cda906836f2d2405", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 377, "src": "/root/.ansible/tmp/ansible-tmp-1657068611.4599938-27264-105478426651943/source", "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:50:11 +0000 (0:00:00.583) 0:00:05.699 ******** 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:50:12 +0000 (0:00:00.416) 0:00:06.116 ******** 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:50:12 +0000 (0:00:00.042) 0:00:06.159 ******** 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:50:12 +0000 (0:00:00.031) 0:00:06.190 ******** 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:50:12 +0000 (0:00:00.031) 0:00:06.221 ******** 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:50:12 +0000 (0:00:00.030) 0:00:06.252 ******** 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:50:12 +0000 (0:00:00.030) 0:00:06.282 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:00 EDT", "AssertTimestampMonotonic": "5250760", "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:00 EDT", "ConditionTimestampMonotonic": "5250756", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1176", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:00 EDT", "ExecMainStartTimestampMonotonic": "5251382", "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:00 EDT] ; stop_time=[n/a] ; pid=1176 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:00 EDT", "InactiveExitTimestampMonotonic": "5251419", "Job": "177", "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": "1176", "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": "start", "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:50:12 +0000 (0:00:00.387) 0:00:06.670 ******** changed: [/cache/rhel-7.qcow2] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "activating", "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:00 EDT", "AssertTimestampMonotonic": "5250760", "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:00 EDT", "ConditionTimestampMonotonic": "5250756", "ControlGroup": "/system.slice/kdump.service", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1176", "ExecMainStartTimestamp": "Tue 2022-07-05 20:50:00 EDT", "ExecMainStartTimestampMonotonic": "5251382", "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:00 EDT] ; stop_time=[n/a] ; pid=1176 ; code=(null) ; status=0/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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2022-07-05 20:50:00 EDT", "InactiveExitTimestampMonotonic": "5251419", "Job": "177", "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": "1176", "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": "start", "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=13 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Wednesday 06 July 2022 00:50:26 +0000 (0:00:13.552) 0:00:20.223 ******** =============================================================================== fedora.linux_system_roles.kdump : restart kdump ------------------------ 13.55s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.kdump : Install required packages ------------- 0.80s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.73s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:25 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.66s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.63s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:10 fedora.linux_system_roles.kdump : Generate /etc/sysconfig/kdump --------- 0.58s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:38 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.44s /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.42s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:46 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.39s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:87 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 : Set the kdump_reboot_required fact ---- 0.04s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:51 Run the role. If reboot is not required - the play succeeds. ------------ 0.04s /tmp/tmpzvmzxf5r/tests/kdump/tests_default.yml:9 ------------------------------ fedora.linux_system_roles.kdump : Include SSH tasks --------------------- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:15 fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false --- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:62 fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed --- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:55 fedora.linux_system_roles.kdump : Reboot the managed node --------------- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:71 fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag --- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:77 fedora.linux_system_roles.kdump : Ensure ansible_facts used by role ----- 0.03s /tmp/tmpbnr8689m/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2