ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Saturday 31 August 2024 04:25:43 -0400 (0:00:00.103) 0:00:00.103 ******* ok: [managed_node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Saturday 31 August 2024 04:25:44 -0400 (0:00:01.158) 0:00:01.262 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Saturday 31 August 2024 04:25:44 -0400 (0:00:00.558) 0:00:01.820 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Saturday 31 August 2024 04:25:44 -0400 (0:00:00.142) 0:00:01.963 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } lsrpackages: procps-ng tuned TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Saturday 31 August 2024 04:25:45 -0400 (0:00:00.917) 0:00:02.880 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Saturday 31 August 2024 04:25:46 -0400 (0:00:00.326) 0:00:03.207 ******* ok: [managed_node1] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Saturday 31 August 2024 04:25:46 -0400 (0:00:00.098) 0:00:03.305 ******* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Saturday 31 August 2024 04:25:46 -0400 (0:00:00.507) 0:00:03.813 ******* changed: [managed_node1] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1725092746.84-10991-235657216382795/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Saturday 31 August 2024 04:25:47 -0400 (0:00:00.762) 0:00:04.576 ******* changed: [managed_node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:25:37 EDT", "ActiveEnterTimestampMonotonic": "186399863", "ActiveExitTimestamp": "Sat 2024-08-31 04:25:36 EDT", "ActiveExitTimestampMonotonic": "185439084", "ActiveState": "active", "After": "systemd-sysctl.service system.slice dbus.service basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:25:36 EDT", "AssertTimestampMonotonic": "186285492", "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": "Sat 2024-08-31 04:25:36 EDT", "ConditionTimestampMonotonic": "186285491", "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": "9962", "ExecMainStartTimestamp": "Sat 2024-08-31 04:25:36 EDT", "ExecMainStartTimestampMonotonic": "186285997", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:25:36 EDT] ; stop_time=[n/a] ; pid=9962 ; 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", "InactiveEnterTimestamp": "Sat 2024-08-31 04:25:36 EDT", "InactiveEnterTimestampMonotonic": "186283061", "InactiveExitTimestamp": "Sat 2024-08-31 04:25:36 EDT", "InactiveExitTimestampMonotonic": "186286051", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9962", "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": "polkit.service basic.target system.slice dbus.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": "Sat 2024-08-31 04:25:37 EDT", "WatchdogTimestampMonotonic": "186399795", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Saturday 31 August 2024 04:25:49 -0400 (0:00:01.905) 0:00:06.482 ******* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.150) 0:00:06.632 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.058) 0:00:06.690 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.077) 0:00:06.768 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.062) 0:00:06.830 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.145) 0:00:06.976 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 31 August 2024 04:25:49 -0400 (0:00:00.057) 0:00:07.033 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 31 August 2024 04:25:50 -0400 (0:00:00.393) 0:00:07.427 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 31 August 2024 04:25:50 -0400 (0:00:00.073) 0:00:07.501 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 31 August 2024 04:25:50 -0400 (0:00:00.088) 0:00:07.590 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 31 August 2024 04:25:51 -0400 (0:00:00.600) 0:00:08.191 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 31 August 2024 04:25:51 -0400 (0:00:00.071) 0:00:08.262 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 31 August 2024 04:25:51 -0400 (0:00:00.057) 0:00:08.319 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 31 August 2024 04:25:51 -0400 (0:00:00.066) 0:00:08.386 ******* ok: [managed_node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 31 August 2024 04:25:51 -0400 (0:00:00.503) 0:00:08.889 ******* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed_node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1725092749.3365705, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1725092746.7225525, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1725092746.7225525, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 31 August 2024 04:25:52 -0400 (0:00:00.651) 0:00:09.541 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 31 August 2024 04:25:52 -0400 (0:00:00.053) 0:00:09.595 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:25:49 EDT", "ActiveEnterTimestampMonotonic": "198649621", "ActiveExitTimestamp": "Sat 2024-08-31 04:25:48 EDT", "ActiveExitTimestampMonotonic": "197485076", "ActiveState": "active", "After": "systemd-sysctl.service system.slice dbus.service basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:25:49 EDT", "AssertTimestampMonotonic": "198436088", "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": "Sat 2024-08-31 04:25:49 EDT", "ConditionTimestampMonotonic": "198436086", "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": "10840", "ExecMainStartTimestamp": "Sat 2024-08-31 04:25:49 EDT", "ExecMainStartTimestampMonotonic": "198436719", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:25:49 EDT] ; stop_time=[n/a] ; pid=10840 ; 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", "InactiveEnterTimestamp": "Sat 2024-08-31 04:25:49 EDT", "InactiveEnterTimestampMonotonic": "198435597", "InactiveExitTimestamp": "Sat 2024-08-31 04:25:49 EDT", "InactiveExitTimestampMonotonic": "198436754", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10840", "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": "polkit.service basic.target system.slice dbus.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": "Sat 2024-08-31 04:25:49 EDT", "WatchdogTimestampMonotonic": "198649570", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 31 August 2024 04:25:52 -0400 (0:00:00.396) 0:00:09.991 ******* ok: [managed_node1] => { "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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 31 August 2024 04:25:53 -0400 (0:00:00.343) 0:00:10.334 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdAo=", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 31 August 2024 04:25:53 -0400 (0:00:00.633) 0:00:10.968 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 31 August 2024 04:25:53 -0400 (0:00:00.070) 0:00:11.038 ******* changed: [managed_node1] => { "changed": true, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "8d80fe3f09ba4b9ac8d7fd5e8541a324", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "src": "/root/.ansible/tmp/ansible-tmp-1725092754.09-11509-186416329047778/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 31 August 2024 04:25:54 -0400 (0:00:00.718) 0:00:11.757 ******* changed: [managed_node1] => { "changed": true, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "cf3f2a865fbea819dadd439586eaee31", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "src": "/root/.ansible/tmp/ansible-tmp-1725092754.79-11549-210202438280886/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 31 August 2024 04:25:55 -0400 (0:00:00.656) 0:00:12.414 ******* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724", "kernel.threads-max": "29968", "vm.max_map_count": "65530" }, "sysfs": { "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 31 August 2024 04:25:55 -0400 (0:00:00.402) 0:00:12.817 ******* changed: [managed_node1] => { "changed": true, "checksum": "3feaf86b2638623e3300792e683ce55f91f31e9a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "ba6aeb244f15eac2bcf15c0dd41fdff5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1725092755.88-11625-13523059429612/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 31 August 2024 04:25:56 -0400 (0:00:00.894) 0:00:13.711 ******* changed: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:25:49 EDT", "ActiveEnterTimestampMonotonic": "198649621", "ActiveExitTimestamp": "Sat 2024-08-31 04:25:48 EDT", "ActiveExitTimestampMonotonic": "197485076", "ActiveState": "active", "After": "systemd-sysctl.service system.slice dbus.service basic.target network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:25:49 EDT", "AssertTimestampMonotonic": "198436088", "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": "Sat 2024-08-31 04:25:49 EDT", "ConditionTimestampMonotonic": "198436086", "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": "10840", "ExecMainStartTimestamp": "Sat 2024-08-31 04:25:49 EDT", "ExecMainStartTimestampMonotonic": "198436719", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:25:49 EDT] ; stop_time=[n/a] ; pid=10840 ; 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", "InactiveEnterTimestamp": "Sat 2024-08-31 04:25:49 EDT", "InactiveEnterTimestampMonotonic": "198435597", "InactiveExitTimestamp": "Sat 2024-08-31 04:25:49 EDT", "InactiveExitTimestampMonotonic": "198436754", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10840", "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": "polkit.service basic.target system.slice dbus.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": "Sat 2024-08-31 04:25:49 EDT", "WatchdogTimestampMonotonic": "198649570", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 31 August 2024 04:25:57 -0400 (0:00:00.911) 0:00:14.622 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 31 August 2024 04:25:57 -0400 (0:00:00.058) 0:00:14.681 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 31 August 2024 04:25:57 -0400 (0:00:00.088) 0:00:14.769 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.085446", "end": "2024-08-31 04:25:58.209643", "rc": 0, "start": "2024-08-31 04:25:58.124197" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.545) 0:00:15.314 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.057) 0:00:15.372 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.061) 0:00:15.434 ******* ok: [managed_node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.039) 0:00:15.474 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.084) 0:00:15.558 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.075) 0:00:15.634 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Saturday 31 August 2024 04:25:58 -0400 (0:00:00.089) 0:00:15.724 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003279", "end": "2024-08-31 04:25:58.944654", "rc": 0, "start": "2024-08-31 04:25:58.941375" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Saturday 31 August 2024 04:25:59 -0400 (0:00:00.333) 0:00:16.057 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006071", "end": "2024-08-31 04:25:59.295979", "rc": 0, "start": "2024-08-31 04:25:59.289908" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Saturday 31 August 2024 04:25:59 -0400 (0:00:00.330) 0:00:16.387 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004874", "end": "2024-08-31 04:25:59.646231", "rc": 0, "start": "2024-08-31 04:25:59.641357" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Saturday 31 August 2024 04:25:59 -0400 (0:00:00.369) 0:00:16.757 ******* changed: [managed_node1] => { "changed": true, "elapsed": 30, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Saturday 31 August 2024 04:26:30 -0400 (0:00:30.870) 0:00:47.627 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005535", "end": "2024-08-31 04:26:30.808072", "rc": 0, "start": "2024-08-31 04:26:30.802537" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Saturday 31 August 2024 04:26:30 -0400 (0:00:00.267) 0:00:47.895 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003024", "end": "2024-08-31 04:26:31.077124", "rc": 0, "start": "2024-08-31 04:26:31.074100" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.297) 0:00:48.192 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005060", "end": "2024-08-31 04:26:31.399092", "rc": 0, "start": "2024-08-31 04:26:31.394032" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.289) 0:00:48.482 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.081428", "end": "2024-08-31 04:26:31.734619", "rc": 0, "start": "2024-08-31 04:26:31.653191" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [Apply role again and remove settings] ************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.340) 0:00:48.823 ******* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.075) 0:00:48.898 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.045) 0:00:48.943 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.030) 0:00:48.974 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 31 August 2024 04:26:31 -0400 (0:00:00.039) 0:00:49.013 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.038) 0:00:49.052 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.036) 0:00:49.088 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.036) 0:00:49.125 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.036) 0:00:49.161 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.053) 0:00:49.215 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.655) 0:00:49.870 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.041) 0:00:49.912 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.036) 0:00:49.949 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 31 August 2024 04:26:32 -0400 (0:00:00.036) 0:00:49.985 ******* ok: [managed_node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 31 August 2024 04:26:33 -0400 (0:00:00.279) 0:00:50.264 ******* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed_node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1725092757.4676268, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1725092755.304612, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1725092755.304612, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 31 August 2024 04:26:33 -0400 (0:00:00.571) 0:00:50.836 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 31 August 2024 04:26:33 -0400 (0:00:00.042) 0:00:50.879 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:26:17 EDT", "ActiveEnterTimestampMonotonic": "7509719", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:26:16 EDT", "AssertTimestampMonotonic": "7103746", "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": "Sat 2024-08-31 04:26:16 EDT", "ConditionTimestampMonotonic": "7103741", "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": "865", "ExecMainStartTimestamp": "Sat 2024-08-31 04:26:16 EDT", "ExecMainStartTimestampMonotonic": "7105720", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:26:16 EDT] ; stop_time=[n/a] ; pid=865 ; 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": "Sat 2024-08-31 04:26:16 EDT", "InactiveExitTimestampMonotonic": "7105760", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "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": "basic.target dbus.service polkit.service 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": "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": "Sat 2024-08-31 04:26:17 EDT", "WatchdogTimestampMonotonic": "7509177", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 31 August 2024 04:26:34 -0400 (0:00:00.406) 0:00:51.285 ******* ok: [managed_node1] => { "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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 31 August 2024 04:26:34 -0400 (0:00:00.291) 0:00:51.576 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 31 August 2024 04:26:34 -0400 (0:00:00.289) 0:00:51.866 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 31 August 2024 04:26:34 -0400 (0:00:00.047) 0:00:51.913 ******* ok: [managed_node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 31 August 2024 04:26:35 -0400 (0:00:00.464) 0:00:52.378 ******* ok: [managed_node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 31 August 2024 04:26:35 -0400 (0:00:00.461) 0:00:52.840 ******* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 31 August 2024 04:26:36 -0400 (0:00:00.308) 0:00:53.148 ******* changed: [managed_node1] => { "changed": true, "checksum": "221aa34fef95c2fe05408be9921820449785a5b2", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "9c36ebcc135366fa59ab6f2f2da76a73", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 351, "src": "/root/.ansible/tmp/ansible-tmp-1725092796.17-12855-94271449882040/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 31 August 2024 04:26:36 -0400 (0:00:00.567) 0:00:53.715 ******* skipping: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 31 August 2024 04:26:36 -0400 (0:00:00.042) 0:00:53.758 ******* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.420156", "end": "2024-08-31 04:26:38.416386", "rc": 0, "start": "2024-08-31 04:26:36.996230" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 31 August 2024 04:26:38 -0400 (0:00:01.746) 0:00:55.504 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.051) 0:00:55.556 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.081839", "end": "2024-08-31 04:26:38.809059", "rc": 0, "start": "2024-08-31 04:26:38.727220" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.341) 0:00:55.898 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.043) 0:00:55.941 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.037) 0:00:55.978 ******* ok: [managed_node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.018) 0:00:55.996 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Saturday 31 August 2024 04:26:38 -0400 (0:00:00.040) 0:00:56.037 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.038) 0:00:56.076 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.038) 0:00:56.114 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005396", "end": "2024-08-31 04:26:39.290985", "rc": 0, "start": "2024-08-31 04:26:39.285589" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.261) 0:00:56.376 ******* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.086) 0:00:56.463 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.041) 0:00:56.505 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.029) 0:00:56.534 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.078) 0:00:56.613 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.086) 0:00:56.699 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.038) 0:00:56.738 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.038) 0:00:56.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.037) 0:00:56.813 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 31 August 2024 04:26:39 -0400 (0:00:00.052) 0:00:56.865 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 31 August 2024 04:26:40 -0400 (0:00:00.507) 0:00:57.373 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 31 August 2024 04:26:40 -0400 (0:00:00.039) 0:00:57.413 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 31 August 2024 04:26:40 -0400 (0:00:00.040) 0:00:57.453 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 31 August 2024 04:26:40 -0400 (0:00:00.039) 0:00:57.492 ******* ok: [managed_node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 31 August 2024 04:26:40 -0400 (0:00:00.300) 0:00:57.793 ******* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed_node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1725092757.4676268, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1725092755.304612, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1725092755.304612, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 31 August 2024 04:26:41 -0400 (0:00:00.580) 0:00:58.373 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 31 August 2024 04:26:41 -0400 (0:00:00.044) 0:00:58.417 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:26:17 EDT", "ActiveEnterTimestampMonotonic": "7509719", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:26:16 EDT", "AssertTimestampMonotonic": "7103746", "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": "Sat 2024-08-31 04:26:16 EDT", "ConditionTimestampMonotonic": "7103741", "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": "865", "ExecMainStartTimestamp": "Sat 2024-08-31 04:26:16 EDT", "ExecMainStartTimestampMonotonic": "7105720", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:26:16 EDT] ; stop_time=[n/a] ; pid=865 ; 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": "Sat 2024-08-31 04:26:16 EDT", "InactiveExitTimestampMonotonic": "7105760", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "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": "basic.target dbus.service polkit.service 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": "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": "Sat 2024-08-31 04:26:17 EDT", "WatchdogTimestampMonotonic": "7509177", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 31 August 2024 04:26:41 -0400 (0:00:00.370) 0:00:58.788 ******* ok: [managed_node1] => { "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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 31 August 2024 04:26:42 -0400 (0:00:00.329) 0:00:59.117 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 31 August 2024 04:26:42 -0400 (0:00:00.290) 0:00:59.407 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 31 August 2024 04:26:42 -0400 (0:00:00.042) 0:00:59.450 ******* ok: [managed_node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 31 August 2024 04:26:42 -0400 (0:00:00.456) 0:00:59.907 ******* ok: [managed_node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 31 August 2024 04:26:43 -0400 (0:00:00.478) 0:01:00.385 ******* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 31 August 2024 04:26:43 -0400 (0:00:00.282) 0:01:00.667 ******* changed: [managed_node1] => { "changed": true, "checksum": "3107bf46f5c007ef178305bb243dd11664f9bf35", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "1fd7f2202613b516022cf613601e26bd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1725092803.68-13059-8934410601452/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 31 August 2024 04:26:44 -0400 (0:00:00.549) 0:01:01.217 ******* skipping: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 31 August 2024 04:26:44 -0400 (0:00:00.044) 0:01:01.261 ******* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.988195", "end": "2024-08-31 04:26:46.443504", "rc": 0, "start": "2024-08-31 04:26:44.455309" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 31 August 2024 04:26:46 -0400 (0:00:02.270) 0:01:03.532 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 31 August 2024 04:26:46 -0400 (0:00:00.053) 0:01:03.585 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.076512", "end": "2024-08-31 04:26:46.845841", "rc": 0, "start": "2024-08-31 04:26:46.769329" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 31 August 2024 04:26:46 -0400 (0:00:00.345) 0:01:03.931 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 31 August 2024 04:26:46 -0400 (0:00:00.038) 0:01:03.969 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 31 August 2024 04:26:46 -0400 (0:00:00.041) 0:01:04.010 ******* ok: [managed_node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 31 August 2024 04:26:46 -0400 (0:00:00.018) 0:01:04.029 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.041) 0:01:04.071 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.040) 0:01:04.111 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.041) 0:01:04.153 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005087", "end": "2024-08-31 04:26:47.329377", "rc": 0, "start": "2024-08-31 04:26:47.324290" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.279) 0:01:04.433 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003406", "end": "2024-08-31 04:26:47.621050", "rc": 0, "start": "2024-08-31 04:26:47.617644" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.272) 0:01:04.706 ******* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.102) 0:01:04.808 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.039) 0:01:04.847 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.029) 0:01:04.877 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.039) 0:01:04.916 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.037) 0:01:04.953 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.036) 0:01:04.990 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 31 August 2024 04:26:47 -0400 (0:00:00.042) 0:01:05.033 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.038) 0:01:05.072 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.056) 0:01:05.128 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.526) 0:01:05.655 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.039) 0:01:05.695 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.039) 0:01:05.734 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 31 August 2024 04:26:48 -0400 (0:00:00.039) 0:01:05.773 ******* ok: [managed_node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 31 August 2024 04:26:49 -0400 (0:00:00.289) 0:01:06.063 ******* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed_node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1725092757.4676268, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1725092755.304612, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1725092755.304612, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 31 August 2024 04:26:49 -0400 (0:00:00.555) 0:01:06.619 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 31 August 2024 04:26:49 -0400 (0:00:00.041) 0:01:06.661 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:26:17 EDT", "ActiveEnterTimestampMonotonic": "7509719", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:26:16 EDT", "AssertTimestampMonotonic": "7103746", "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": "Sat 2024-08-31 04:26:16 EDT", "ConditionTimestampMonotonic": "7103741", "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": "865", "ExecMainStartTimestamp": "Sat 2024-08-31 04:26:16 EDT", "ExecMainStartTimestampMonotonic": "7105720", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:26:16 EDT] ; stop_time=[n/a] ; pid=865 ; 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": "Sat 2024-08-31 04:26:16 EDT", "InactiveExitTimestampMonotonic": "7105760", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "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": "basic.target dbus.service polkit.service 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": "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": "Sat 2024-08-31 04:26:17 EDT", "WatchdogTimestampMonotonic": "7509177", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 31 August 2024 04:26:49 -0400 (0:00:00.364) 0:01:07.025 ******* ok: [managed_node1] => { "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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 31 August 2024 04:26:50 -0400 (0:00:00.282) 0:01:07.308 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 31 August 2024 04:26:50 -0400 (0:00:00.273) 0:01:07.581 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 31 August 2024 04:26:50 -0400 (0:00:00.041) 0:01:07.623 ******* ok: [managed_node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 31 August 2024 04:26:51 -0400 (0:00:00.448) 0:01:08.071 ******* ok: [managed_node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 31 August 2024 04:26:51 -0400 (0:00:00.458) 0:01:08.530 ******* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 31 August 2024 04:26:51 -0400 (0:00:00.279) 0:01:08.809 ******* changed: [managed_node1] => { "changed": true, "checksum": "0b586509c0bdce12a2dde058e3374dab88cf7f2c", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "394928e588644c456053f3dec5f7c2ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1725092811.82-13275-222750296057305/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 31 August 2024 04:26:52 -0400 (0:00:00.535) 0:01:09.345 ******* skipping: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 31 August 2024 04:26:52 -0400 (0:00:00.043) 0:01:09.388 ******* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.889896", "end": "2024-08-31 04:26:54.475907", "rc": 0, "start": "2024-08-31 04:26:52.586011" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 31 August 2024 04:26:54 -0400 (0:00:02.175) 0:01:11.563 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 31 August 2024 04:26:54 -0400 (0:00:00.052) 0:01:11.615 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.080786", "end": "2024-08-31 04:26:54.868610", "rc": 0, "start": "2024-08-31 04:26:54.787824" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 31 August 2024 04:26:54 -0400 (0:00:00.340) 0:01:11.956 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 31 August 2024 04:26:54 -0400 (0:00:00.038) 0:01:11.995 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 31 August 2024 04:26:54 -0400 (0:00:00.038) 0:01:12.033 ******* ok: [managed_node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.019) 0:01:12.053 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.045) 0:01:12.098 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.040) 0:01:12.139 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.040) 0:01:12.179 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005329", "end": "2024-08-31 04:26:55.358176", "rc": 0, "start": "2024-08-31 04:26:55.352847" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.264) 0:01:12.443 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002812", "end": "2024-08-31 04:26:55.624666", "rc": 0, "start": "2024-08-31 04:26:55.621854" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.270) 0:01:12.713 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed_node1 TASK [Show current tuned profile settings] ************************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Saturday 31 August 2024 04:26:55 -0400 (0:00:00.095) 0:01:12.808 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002711", "end": "2024-08-31 04:26:56.008160", "rc": 0, "start": "2024-08-31 04:26:56.005449" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [vm] transparent_hugepages = never TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.287) 0:01:13.095 ******* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.053) 0:01:13.149 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.041) 0:01:13.191 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.030) 0:01:13.222 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.043) 0:01:13.265 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.039) 0:01:13.305 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.041) 0:01:13.346 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.037) 0:01:13.384 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.037) 0:01:13.421 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.052) 0:01:13.473 ******* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.518) 0:01:13.992 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 31 August 2024 04:26:56 -0400 (0:00:00.038) 0:01:14.031 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 31 August 2024 04:26:57 -0400 (0:00:00.038) 0:01:14.069 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 31 August 2024 04:26:57 -0400 (0:00:00.042) 0:01:14.112 ******* ok: [managed_node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 31 August 2024 04:26:57 -0400 (0:00:00.292) 0:01:14.404 ******* skipping: [managed_node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed_node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1725092757.4676268, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1725092755.304612, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1725092755.304612, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 31 August 2024 04:26:57 -0400 (0:00:00.574) 0:01:14.979 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 31 August 2024 04:26:57 -0400 (0:00:00.042) 0:01:15.022 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:26:17 EDT", "ActiveEnterTimestampMonotonic": "7509719", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:26:16 EDT", "AssertTimestampMonotonic": "7103746", "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": "Sat 2024-08-31 04:26:16 EDT", "ConditionTimestampMonotonic": "7103741", "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": "865", "ExecMainStartTimestamp": "Sat 2024-08-31 04:26:16 EDT", "ExecMainStartTimestampMonotonic": "7105720", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:26:16 EDT] ; stop_time=[n/a] ; pid=865 ; 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": "Sat 2024-08-31 04:26:16 EDT", "InactiveExitTimestampMonotonic": "7105760", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "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": "basic.target dbus.service polkit.service 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": "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": "Sat 2024-08-31 04:26:17 EDT", "WatchdogTimestampMonotonic": "7509177", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 31 August 2024 04:26:58 -0400 (0:00:00.379) 0:01:15.401 ******* ok: [managed_node1] => { "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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 31 August 2024 04:26:58 -0400 (0:00:00.295) 0:01:15.696 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 31 August 2024 04:26:58 -0400 (0:00:00.275) 0:01:15.972 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 31 August 2024 04:26:58 -0400 (0:00:00.043) 0:01:16.016 ******* ok: [managed_node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 31 August 2024 04:26:59 -0400 (0:00:00.473) 0:01:16.490 ******* ok: [managed_node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 31 August 2024 04:26:59 -0400 (0:00:00.470) 0:01:16.960 ******* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "vm": { "transparent_hugepages": "never" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 31 August 2024 04:27:00 -0400 (0:00:00.289) 0:01:17.250 ******* changed: [managed_node1] => { "changed": true, "checksum": "e44ba7fc7046252a1b6772f7347d0e7b9b48a069", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "7d83891795eeb6debeff7e2812501630", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 86, "src": "/root/.ansible/tmp/ansible-tmp-1725092820.27-13505-241242657260706/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 31 August 2024 04:27:00 -0400 (0:00:00.584) 0:01:17.834 ******* skipping: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 31 August 2024 04:27:00 -0400 (0:00:00.042) 0:01:17.877 ******* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.406754", "end": "2024-08-31 04:27:02.499768", "rc": 0, "start": "2024-08-31 04:27:01.093014" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 31 August 2024 04:27:02 -0400 (0:00:01.712) 0:01:19.590 ******* included: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 31 August 2024 04:27:02 -0400 (0:00:00.056) 0:01:19.646 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.078768", "end": "2024-08-31 04:27:02.914206", "rc": 0, "start": "2024-08-31 04:27:02.835438" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 31 August 2024 04:27:02 -0400 (0:00:00.355) 0:01:20.002 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.040) 0:01:20.043 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.038) 0:01:20.082 ******* ok: [managed_node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.018) 0:01:20.101 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.045) 0:01:20.146 ******* ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nconf=/etc/tuned/kernel_settings/tuned.conf\nfor section in sysctl sysfs systemd vm; do\n if grep ^\\\\[\"$section\"\\\\] \"$conf\"; then\n echo ERROR: \"$section\" settings present\n rc=1\n fi\ndone\nexit \"$rc\"\n", "delta": "0:00:00.006979", "end": "2024-08-31 04:27:03.365171", "rc": 0, "start": "2024-08-31 04:27:03.358192" } STDERR: + exec + rc=0 + conf=/etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysctl\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysfs\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[systemd\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[vm\]' /etc/tuned/kernel_settings/tuned.conf + exit 0 TASK [Remove kernel_settings tuned profile] ************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.310) 0:01:20.457 ******* changed: [managed_node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Saturday 31 August 2024 04:27:03 -0400 (0:00:00.296) 0:01:20.754 ******* ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Ensure kernel_settings is not in active_profile] ************************* task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Saturday 31 August 2024 04:27:04 -0400 (0:00:00.324) 0:01:21.079 ******* changed: [managed_node1] => { "changed": true, "checksum": "633f07e1b5698d04352d5dca735869bf2fe77897", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "9a561d913bcdb5a659ec2dd035975a8e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 14, "src": "/root/.ansible/tmp/ansible-tmp-1725092824.11-13587-253888550430631/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Saturday 31 August 2024 04:27:04 -0400 (0:00:00.561) 0:01:21.640 ******* changed: [managed_node1] => { "changed": true, "checksum": "43683f4e92c48be4b00ddd86e011a4f27fcdbeb5", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "451e20aff0f489cd2f7d4d73533aa961", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1725092824.66-13606-277627639666083/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Saturday 31 August 2024 04:27:05 -0400 (0:00:00.580) 0:01:22.221 ******* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-31 04:26:17 EDT", "ActiveEnterTimestampMonotonic": "7509719", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice systemd-journald.socket dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-31 04:26:16 EDT", "AssertTimestampMonotonic": "7103746", "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": "Sat 2024-08-31 04:26:16 EDT", "ConditionTimestampMonotonic": "7103741", "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": "865", "ExecMainStartTimestamp": "Sat 2024-08-31 04:26:16 EDT", "ExecMainStartTimestampMonotonic": "7105720", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-31 04:26:16 EDT] ; stop_time=[n/a] ; pid=865 ; 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": "Sat 2024-08-31 04:26:16 EDT", "InactiveExitTimestampMonotonic": "7105760", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "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": "basic.target dbus.service polkit.service 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": "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": "Sat 2024-08-31 04:26:17 EDT", "WatchdogTimestampMonotonic": "7509177", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=135 changed=19 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Saturday 31 August 2024 04:27:05 -0400 (0:00:00.381) 0:01:22.603 ******* =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 30.87s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.27s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.18s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Ensure required services are enabled and started ------------------------ 1.91s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.75s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.71s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required packages are installed ---------------------------------- 0.92s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 0.91s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.89s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Generate a configuration for kernel settings ---------------------------- 0.76s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.72s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.66s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.66s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.65s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Get active_profile ---------- 0.63s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.60s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.58s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Set profile_mode to auto ------------------------------------------------ 0.58s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.58s /tmp/collections-uvF/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50