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/tmpr7314eea 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 Monday 25 July 2022 18:45:28 +0000 (0:00:00.019) 0:00:00.019 *********** 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 Monday 25 July 2022 18:45:30 +0000 (0:00:01.415) 0:00:01.435 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp2ypk49pe/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2ypk49pe/tests/tests_include_vars_from_parent.yml:1 Monday 25 July 2022 18:45:30 +0000 (0:00:00.011) 0:00:01.447 *********** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp2ypk49pe/tests/tests_include_vars_from_parent.yml:4 Monday 25 July 2022 18:45:31 +0000 (0:00:00.962) 0:00:02.409 *********** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp2ypk49pe/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774731.3585546-138883-126266946026485/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp2ypk49pe/tests/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774731.9389694-138883-150963722557175/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp2ypk49pe/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774732.2853687-138883-277807204149531/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp2ypk49pe/tests/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774732.6352816-138883-203860657960585/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp2ypk49pe/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774732.9780712-138883-116326300951733/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp2ypk49pe/tests/roles/caller/tasks/main.yml:4 Monday 25 July 2022 18:45:33 +0000 (0:00:01.996) 0:00:04.406 *********** TASK [linux-system-roles.kernel_settings : Set version specific variables] ***** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:45:33 +0000 (0:00:00.039) 0:00:04.446 *********** included: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:45:33 +0000 (0:00:00.029) 0:00:04.475 *********** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 Monday 25 July 2022 18:45:33 +0000 (0:00:00.396) 0:00:04.871 *********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/vars/RedHat_7.yml" ], "changed": false } TASK [linux-system-roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:45:33 +0000 (0:00:00.039) 0:00:04.911 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [linux-system-roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:45:34 +0000 (0:00:00.654) 0:00:05.566 *********** ok: [/cache/rhel-7.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:44:57 EDT", "ActiveEnterTimestampMonotonic": "4632214", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target dbus.service systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:44:56 EDT", "AssertTimestampMonotonic": "4415915", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:44:56 EDT", "ConditionTimestampMonotonic": "4415915", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "919", "ExecMainStartTimestamp": "Mon 2022-07-25 14:44:56 EDT", "ExecMainStartTimestampMonotonic": "4416527", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:44:56 EDT] ; stop_time=[n/a] ; pid=919 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:44:56 EDT", "InactiveExitTimestampMonotonic": "4416558", "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": "919", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service basic.target polkit.service", "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": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:44:57 EDT", "WatchdogTimestampMonotonic": "4631846", "WatchdogUSec": "0" } } TASK [linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:45:35 +0000 (0:00:00.643) 0:00:06.209 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [linux-system-roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:45:35 +0000 (0:00:00.437) 0:00:06.646 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-138802mykhq345/tmpe70e8l13/kernel_settings.j2" } TASK [linux-system-roles.kernel_settings : Get current config] ***************** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:45:35 +0000 (0:00:00.344) 0:00:06.991 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [linux-system-roles.kernel_settings : Apply kernel settings] ************** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:45:36 +0000 (0:00:00.411) 0:00:07.403 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : tuned apply settings] *************** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 Monday 25 July 2022 18:45:36 +0000 (0:00:00.036) 0:00:07.440 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : verify settings] ******************** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 Monday 25 July 2022 18:45:36 +0000 (0:00:00.021) 0:00:07.461 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 Monday 25 July 2022 18:45:36 +0000 (0:00:00.021) 0:00:07.482 *********** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 Monday 25 July 2022 18:45:36 +0000 (0:00:00.019) 0:00:07.501 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmp2ypk49pe/tests/roles/caller/tasks/main.yml:7 Monday 25 July 2022 18:45:36 +0000 (0:00:00.026) 0:00:07.528 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=12 changed=1 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Monday 25 July 2022 18:45:36 +0000 (0:00:00.077) 0:00:07.606 *********** =============================================================================== create var file in caller that can override the one in called role ------ 2.00s /tmp/tmp2ypk49pe/tests/tests_include_vars_from_parent.yml:4 ------------------- set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmp2ypk49pe/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.kernel_settings : Ensure required packages are installed --- 0.65s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:5 linux-system-roles.kernel_settings : Ensure required services are enabled and started --- 0.64s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:10 linux-system-roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.44s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:17 linux-system-roles.kernel_settings : Get current config ----------------- 0.41s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:30 linux-system-roles.kernel_settings : Ensure ansible_facts used by role --- 0.40s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:2 linux-system-roles.kernel_settings : Generate a configuration for kernel settings --- 0.34s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:23 caller : assert --------------------------------------------------------- 0.08s /tmp/tmp2ypk49pe/tests/roles/caller/tasks/main.yml:7 -------------------------- linux-system-roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/set_vars.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp2ypk49pe/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.kernel_settings : Apply kernel settings -------------- 0.04s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:36 linux-system-roles.kernel_settings : Set version specific variables ----- 0.03s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:2 linux-system-roles.kernel_settings : set the flag that reboot is needed to apply changes --- 0.03s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:110 linux-system-roles.kernel_settings : tuned apply settings --------------- 0.02s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:92 linux-system-roles.kernel_settings : verify settings -------------------- 0.02s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:97 linux-system-roles.kernel_settings : notify user that reboot is needed to apply changes --- 0.02s /tmp/tmp2ypk49pe/tests/roles/linux-system-roles.kernel_settings/tasks/main.yml:101 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/tmpr7314eea 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 Monday 25 July 2022 18:47:08 +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 Monday 25 July 2022 18:47:09 +0000 (0:00:01.359) 0:00:01.377 *********** =============================================================================== set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp_9x32atz/tests/kernel_settings/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_9x32atz/tests/kernel_settings/tests_include_vars_from_parent.yml:1 Monday 25 July 2022 18:47:09 +0000 (0:00:00.033) 0:00:01.410 *********** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp_9x32atz/tests/kernel_settings/tests_include_vars_from_parent.yml:4 Monday 25 July 2022 18:47:10 +0000 (0:00:00.953) 0:00:02.363 *********** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774830.6426697-141253-50230383222021/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774831.2022948-141253-118738295039546/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774831.5476406-141253-164870198148592/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774831.8986032-141253-121661209016301/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1658774832.266164-141253-237508021439106/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/tasks/main.yml:4 Monday 25 July 2022 18:47:12 +0000 (0:00:02.009) 0:00:04.373 *********** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.043) 0:00:04.416 *********** included: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 25 July 2022 18:47:12 +0000 (0:00:00.031) 0:00:04.448 *********** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 Monday 25 July 2022 18:47:13 +0000 (0:00:00.387) 0:00:04.835 *********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/RedHat_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Monday 25 July 2022 18:47:13 +0000 (0:00:00.039) 0:00:04.874 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-11.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 Monday 25 July 2022 18:47:13 +0000 (0:00:00.655) 0:00:05.530 *********** ok: [/cache/rhel-7.qcow2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2022-07-25 14:46:34 EDT", "ActiveEnterTimestampMonotonic": "4753889", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target systemd-sysctl.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2022-07-25 14:46:34 EDT", "AssertTimestampMonotonic": "4531633", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2022-07-25 14:46:34 EDT", "ConditionTimestampMonotonic": "4531633", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "918", "ExecMainStartTimestamp": "Mon 2022-07-25 14:46:34 EDT", "ExecMainStartTimestampMonotonic": "4532285", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2022-07-25 14:46:34 EDT] ; stop_time=[n/a] ; pid=918 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2022-07-25 14:46:34 EDT", "InactiveExitTimestampMonotonic": "4532331", "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": "918", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "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": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2022-07-25 14:46:34 EDT", "WatchdogTimestampMonotonic": "4753358", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Monday 25 July 2022 18:47:14 +0000 (0:00:00.646) 0:00:06.177 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 Monday 25 July 2022 18:47:14 +0000 (0:00:00.432) 0:00:06.609 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-141172g3rwn2o1/tmpmoacgxka/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 Monday 25 July 2022 18:47:15 +0000 (0:00:00.324) 0:00:06.934 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 Monday 25 July 2022 18:47:15 +0000 (0:00:00.422) 0:00:07.356 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : tuned apply settings] ******** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 Monday 25 July 2022 18:47:15 +0000 (0:00:00.038) 0:00:07.394 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : verify settings] ************* task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70 Monday 25 July 2022 18:47:15 +0000 (0:00:00.025) 0:00:07.420 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 25 July 2022 18:47:15 +0000 (0:00:00.024) 0:00:07.444 *********** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes] *** task path: /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 Monday 25 July 2022 18:47:15 +0000 (0:00:00.025) 0:00:07.470 *********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/tasks/main.yml:7 Monday 25 July 2022 18:47:15 +0000 (0:00:00.030) 0:00:07.501 *********** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=12 changed=1 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Monday 25 July 2022 18:47:15 +0000 (0:00:00.051) 0:00:07.552 *********** =============================================================================== create var file in caller that can override the one in called role ------ 2.01s /tmp/tmp_9x32atz/tests/kernel_settings/tests_include_vars_from_parent.yml:4 --- set up internal repositories -------------------------------------------- 1.36s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp_9x32atz/tests/kernel_settings/tests_include_vars_from_parent.yml:1 --- fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.66s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.65s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:10 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.43s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.42s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:30 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.39s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.32s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:23 caller : assert --------------------------------------------------------- 0.05s /tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/tasks/main.yml:7 ---------- include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp_9x32atz/tests/kernel_settings/roles/caller/tasks/main.yml:4 ---------- fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:7 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.04s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:36 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.03s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : set the flag that reboot is needed to apply changes --- 0.03s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:83 fedora.linux_system_roles.kernel_settings : notify user that reboot is needed to apply changes --- 0.03s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 fedora.linux_system_roles.kernel_settings : tuned apply settings -------- 0.03s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:65 fedora.linux_system_roles.kernel_settings : verify settings ------------- 0.02s /tmp/tmpr7314eea/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:70