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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Saturday 16 November 2024 03:27:04 -0500 (0:00:00.043) 0:00:00.043 ***** ok: [managed-node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Saturday 16 November 2024 03:27:05 -0500 (0:00:01.292) 0:00:01.335 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.710) 0:00:02.046 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.069) 0:00:02.115 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Saturday 16 November 2024 03:27:07 -0500 (0:00:01.232) 0:00:03.348 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.401) 0:00:03.750 ***** ok: [managed-node1] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Saturday 16 November 2024 03:27:08 -0500 (0:00:00.080) 0:00:03.831 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Saturday 16 November 2024 03:27:08 -0500 (0:00:00.687) 0:00:04.518 ***** 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-1731745628.84-10935-100914621448171/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Saturday 16 November 2024 03:27:09 -0500 (0:00:01.084) 0:00:05.602 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:26:57 EST", "ActiveEnterTimestampMonotonic": "268372932", "ActiveExitTimestamp": "Sat 2024-11-16 03:26:57 EST", "ActiveExitTimestampMonotonic": "267670194", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.service network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:26:57 EST", "AssertTimestampMonotonic": "268251646", "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-11-16 03:26:57 EST", "ConditionTimestampMonotonic": "268251645", "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": "10042", "ExecMainStartTimestamp": "Sat 2024-11-16 03:26:57 EST", "ExecMainStartTimestampMonotonic": "268252634", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:26:57 EST] ; stop_time=[n/a] ; pid=10042 ; 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-11-16 03:26:57 EST", "InactiveEnterTimestampMonotonic": "268247614", "InactiveExitTimestamp": "Sat 2024-11-16 03:26:57 EST", "InactiveExitTimestampMonotonic": "268252679", "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": "10042", "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 dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:26:57 EST", "WatchdogTimestampMonotonic": "268372871", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Saturday 16 November 2024 03:27:11 -0500 (0:00:01.275) 0:00:06.878 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.225) 0:00:07.104 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.096) 0:00:07.200 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.068) 0:00:07.269 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.085) 0:00:07.355 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.072) 0:00:07.427 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.079) 0:00:07.507 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:27:12 -0500 (0:00:00.437) 0:00:07.944 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:27:12 -0500 (0:00:00.115) 0:00:08.060 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:27:12 -0500 (0:00:00.146) 0:00:08.206 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.766) 0:00:08.973 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.113) 0:00:09.086 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.075) 0:00:09.162 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.077) 0:00:09.240 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:27:14 -0500 (0:00:00.611) 0:00:09.851 ***** 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": 1731745630.974494, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745628.6565282, "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": 1731745628.6565282, "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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:27:14 -0500 (0:00:00.786) 0:00:10.638 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:27:14 -0500 (0:00:00.066) 0:00:10.704 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:10 EST", "ActiveEnterTimestampMonotonic": "281659117", "ActiveExitTimestamp": "Sat 2024-11-16 03:27:10 EST", "ActiveExitTimestampMonotonic": "281354130", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.service network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:10 EST", "AssertTimestampMonotonic": "281414446", "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-11-16 03:27:10 EST", "ConditionTimestampMonotonic": "281414445", "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": "10920", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:10 EST", "ExecMainStartTimestampMonotonic": "281415215", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:10 EST] ; stop_time=[n/a] ; pid=10920 ; 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-11-16 03:27:10 EST", "InactiveEnterTimestampMonotonic": "281413684", "InactiveExitTimestamp": "Sat 2024-11-16 03:27:10 EST", "InactiveExitTimestampMonotonic": "281415258", "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": "10920", "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 dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:10 EST", "WatchdogTimestampMonotonic": "281659057", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.548) 0:00:11.252 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.460) 0:00:11.713 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.695) 0:00:12.409 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.092) 0:00:12.501 ***** 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-1731745636.82-11405-174889836054260/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:27:17 -0500 (0:00:00.794) 0:00:13.296 ***** 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-1731745637.56-11498-140101514606937/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:27:18 -0500 (0:00:00.751) 0:00:14.047 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:27:18 -0500 (0:00:00.488) 0:00:14.536 ***** 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-1731745638.84-11606-52586581086507/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:27:19 -0500 (0:00:01.002) 0:00:15.539 ***** changed: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:10 EST", "ActiveEnterTimestampMonotonic": "281659117", "ActiveExitTimestamp": "Sat 2024-11-16 03:27:10 EST", "ActiveExitTimestampMonotonic": "281354130", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.service network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:10 EST", "AssertTimestampMonotonic": "281414446", "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-11-16 03:27:10 EST", "ConditionTimestampMonotonic": "281414445", "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": "10920", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:10 EST", "ExecMainStartTimestampMonotonic": "281415215", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:10 EST] ; stop_time=[n/a] ; pid=10920 ; 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-11-16 03:27:10 EST", "InactiveEnterTimestampMonotonic": "281413684", "InactiveExitTimestamp": "Sat 2024-11-16 03:27:10 EST", "InactiveExitTimestampMonotonic": "281415258", "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": "10920", "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 dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:10 EST", "WatchdogTimestampMonotonic": "281659057", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:27:21 -0500 (0:00:01.530) 0:00:17.070 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:27:21 -0500 (0:00:00.086) 0:00:17.156 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:27:21 -0500 (0:00:00.122) 0:00:17.279 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.094078", "end": "2024-11-16 03:27:22.194076", "rc": 0, "start": "2024-11-16 03:27:22.099998" } 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.800) 0:00:18.079 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.082) 0:00:18.162 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.074) 0:00:18.236 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.049) 0:00:18.286 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.092) 0:00:18.378 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.089) 0:00:18.467 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.093) 0:00:18.561 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003809", "end": "2024-11-16 03:27:23.088742", "rc": 0, "start": "2024-11-16 03:27:23.084933" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Saturday 16 November 2024 03:27:23 -0500 (0:00:00.440) 0:00:19.001 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.007904", "end": "2024-11-16 03:27:23.579350", "rc": 0, "start": "2024-11-16 03:27:23.571446" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Saturday 16 November 2024 03:27:23 -0500 (0:00:00.452) 0:00:19.454 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005528", "end": "2024-11-16 03:27:23.985534", "rc": 0, "start": "2024-11-16 03:27:23.980006" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Saturday 16 November 2024 03:27:24 -0500 (0:00:00.415) 0:00:19.869 ***** changed: [managed-node1] => { "changed": true, "elapsed": 40, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Saturday 16 November 2024 03:28:05 -0500 (0:00:41.770) 0:01:01.640 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006111", "end": "2024-11-16 03:28:06.103199", "rc": 0, "start": "2024-11-16 03:28:06.097088" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Saturday 16 November 2024 03:28:06 -0500 (0:00:00.319) 0:01:01.960 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003409", "end": "2024-11-16 03:28:06.394091", "rc": 0, "start": "2024-11-16 03:28:06.390682" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Saturday 16 November 2024 03:28:06 -0500 (0:00:00.293) 0:01:02.253 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.006274", "end": "2024-11-16 03:28:06.691203", "rc": 0, "start": "2024-11-16 03:28:06.684929" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Saturday 16 November 2024 03:28:06 -0500 (0:00:00.292) 0:01:02.546 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.094087", "end": "2024-11-16 03:28:07.066200", "rc": 0, "start": "2024-11-16 03:28:06.972113" } 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.377) 0:01:02.924 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.090) 0:01:03.014 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.054) 0:01:03.069 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.037) 0:01:03.106 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.052) 0:01:03.158 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.048) 0:01:03.206 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.057) 0:01:03.263 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.054) 0:01:03.317 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.048) 0:01:03.366 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:28:07 -0500 (0:00:00.067) 0:01:03.433 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:28:08 -0500 (0:00:00.761) 0:01:04.194 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:28:08 -0500 (0:00:00.055) 0:01:04.250 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:28:08 -0500 (0:00:00.049) 0:01:04.300 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:28:08 -0500 (0:00:00.048) 0:01:04.349 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:28:08 -0500 (0:00:00.316) 0:01:04.665 ***** 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": 1731745641.126344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745638.147388, "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": 1731745638.147388, "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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:28:09 -0500 (0:00:00.614) 0:01:05.280 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:28:09 -0500 (0:00:00.054) 0:01:05.334 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:56 EST", "ActiveEnterTimestampMonotonic": "6532325", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:56 EST", "AssertTimestampMonotonic": "6104735", "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-11-16 03:27:56 EST", "ConditionTimestampMonotonic": "6104729", "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": "856", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:56 EST", "ExecMainStartTimestampMonotonic": "6105462", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:56 EST] ; stop_time=[n/a] ; pid=856 ; 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-11-16 03:27:56 EST", "InactiveExitTimestampMonotonic": "6105512", "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": "856", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:56 EST", "WatchdogTimestampMonotonic": "6532089", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:28:09 -0500 (0:00:00.427) 0:01:05.762 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:28:10 -0500 (0:00:00.321) 0:01:06.084 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:28:10 -0500 (0:00:00.307) 0:01:06.391 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:28:10 -0500 (0:00:00.054) 0:01:06.446 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:28:11 -0500 (0:00:00.518) 0:01:06.964 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:28:11 -0500 (0:00:00.515) 0:01:07.480 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:28:11 -0500 (0:00:00.312) 0:01:07.792 ***** 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-1731745692.06-13239-51829729268461/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:28:12 -0500 (0:00:00.621) 0:01:08.414 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:28:12 -0500 (0:00:00.054) 0:01:08.468 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.700143", "end": "2024-11-16 03:28:14.628699", "rc": 0, "start": "2024-11-16 03:28:12.928556" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:28:14 -0500 (0:00:02.018) 0:01:10.487 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:28:14 -0500 (0:00:00.065) 0:01:10.553 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.089647", "end": "2024-11-16 03:28:15.070986", "rc": 0, "start": "2024-11-16 03:28:14.981339" } 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.377) 0:01:10.930 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.048) 0:01:10.979 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.048) 0:01:11.027 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.025) 0:01:11.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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.052) 0:01:11.106 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.054) 0:01:11.160 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.054) 0:01:11.215 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005342", "end": "2024-11-16 03:28:15.650190", "rc": 0, "start": "2024-11-16 03:28:15.644848" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.289) 0:01:11.505 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.111) 0:01:11.616 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.054) 0:01:11.671 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.036) 0:01:11.708 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:28:15 -0500 (0:00:00.052) 0:01:11.761 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.103) 0:01:11.864 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.112) 0:01:11.977 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.050) 0:01:12.027 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.050) 0:01:12.078 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.068) 0:01:12.147 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.581) 0:01:12.728 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:28:16 -0500 (0:00:00.051) 0:01:12.779 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:28:17 -0500 (0:00:00.051) 0:01:12.830 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:28:17 -0500 (0:00:00.052) 0:01:12.883 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:28:17 -0500 (0:00:00.315) 0:01:13.198 ***** 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": 1731745641.126344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745638.147388, "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": 1731745638.147388, "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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:28:18 -0500 (0:00:00.616) 0:01:13.815 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:28:18 -0500 (0:00:00.055) 0:01:13.871 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:56 EST", "ActiveEnterTimestampMonotonic": "6532325", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:56 EST", "AssertTimestampMonotonic": "6104735", "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-11-16 03:27:56 EST", "ConditionTimestampMonotonic": "6104729", "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": "856", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:56 EST", "ExecMainStartTimestampMonotonic": "6105462", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:56 EST] ; stop_time=[n/a] ; pid=856 ; 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-11-16 03:27:56 EST", "InactiveExitTimestampMonotonic": "6105512", "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": "856", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:56 EST", "WatchdogTimestampMonotonic": "6532089", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:28:18 -0500 (0:00:00.408) 0:01:14.279 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:28:18 -0500 (0:00:00.324) 0:01:14.603 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:28:19 -0500 (0:00:00.308) 0:01:14.912 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:28:19 -0500 (0:00:00.055) 0:01:14.968 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:28:19 -0500 (0:00:00.512) 0:01:15.481 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:28:20 -0500 (0:00:00.509) 0:01:15.991 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:28:20 -0500 (0:00:00.317) 0:01:16.308 ***** 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-1731745700.57-13446-82094832348915/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:28:21 -0500 (0:00:00.633) 0:01:16.941 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:28:21 -0500 (0:00:00.055) 0:01:16.997 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.201936", "end": "2024-11-16 03:28:22.661937", "rc": 0, "start": "2024-11-16 03:28:21.460001" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:28:22 -0500 (0:00:01.520) 0:01:18.518 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:28:22 -0500 (0:00:00.067) 0:01:18.585 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.088490", "end": "2024-11-16 03:28:23.103245", "rc": 0, "start": "2024-11-16 03:28:23.014755" } 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.376) 0:01:18.961 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.050) 0:01:19.012 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.050) 0:01:19.062 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.026) 0:01:19.088 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.054) 0:01:19.142 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.054) 0:01:19.197 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.054) 0:01:19.251 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005145", "end": "2024-11-16 03:28:23.685625", "rc": 0, "start": "2024-11-16 03:28:23.680480" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Saturday 16 November 2024 03:28:23 -0500 (0:00:00.291) 0:01:19.543 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002975", "end": "2024-11-16 03:28:23.974123", "rc": 0, "start": "2024-11-16 03:28:23.971148" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.287) 0:01:19.831 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.127) 0:01:19.959 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.052) 0:01:20.012 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.040) 0:01:20.052 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.053) 0:01:20.106 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.049) 0:01:20.156 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.049) 0:01:20.205 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.050) 0:01:20.256 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.049) 0:01:20.306 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:28:24 -0500 (0:00:00.068) 0:01:20.375 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:28:25 -0500 (0:00:00.583) 0:01:20.958 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:28:25 -0500 (0:00:00.050) 0:01:21.009 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:28:25 -0500 (0:00:00.050) 0:01:21.059 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:28:25 -0500 (0:00:00.049) 0:01:21.109 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:28:25 -0500 (0:00:00.335) 0:01:21.444 ***** 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": 1731745641.126344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745638.147388, "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": 1731745638.147388, "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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:28:26 -0500 (0:00:00.621) 0:01:22.066 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:28:26 -0500 (0:00:00.055) 0:01:22.121 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:56 EST", "ActiveEnterTimestampMonotonic": "6532325", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:56 EST", "AssertTimestampMonotonic": "6104735", "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-11-16 03:27:56 EST", "ConditionTimestampMonotonic": "6104729", "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": "856", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:56 EST", "ExecMainStartTimestampMonotonic": "6105462", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:56 EST] ; stop_time=[n/a] ; pid=856 ; 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-11-16 03:27:56 EST", "InactiveExitTimestampMonotonic": "6105512", "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": "856", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:56 EST", "WatchdogTimestampMonotonic": "6532089", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:28:26 -0500 (0:00:00.412) 0:01:22.534 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:28:27 -0500 (0:00:00.322) 0:01:22.856 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:28:27 -0500 (0:00:00.308) 0:01:23.165 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:28:27 -0500 (0:00:00.053) 0:01:23.218 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:28:27 -0500 (0:00:00.508) 0:01:23.727 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:28:28 -0500 (0:00:00.508) 0:01:24.235 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:28:28 -0500 (0:00:00.312) 0:01:24.548 ***** 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-1731745708.81-13665-47418682812557/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:28:29 -0500 (0:00:00.618) 0:01:25.166 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:28:29 -0500 (0:00:00.108) 0:01:25.275 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.959042", "end": "2024-11-16 03:28:31.694212", "rc": 0, "start": "2024-11-16 03:28:29.735170" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:28:31 -0500 (0:00:02.277) 0:01:27.552 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:28:31 -0500 (0:00:00.070) 0:01:27.622 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.090820", "end": "2024-11-16 03:28:32.148711", "rc": 0, "start": "2024-11-16 03:28:32.057891" } 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.385) 0:01:28.008 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.051) 0:01:28.059 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.050) 0:01:28.110 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.025) 0:01:28.135 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.054) 0:01:28.189 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.055) 0:01:28.245 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.053) 0:01:28.299 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.006125", "end": "2024-11-16 03:28:32.739365", "rc": 0, "start": "2024-11-16 03:28:32.733240" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Saturday 16 November 2024 03:28:32 -0500 (0:00:00.297) 0:01:28.596 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003504", "end": "2024-11-16 03:28:33.032280", "rc": 0, "start": "2024-11-16 03:28:33.028776" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.293) 0:01:28.889 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.082) 0:01:28.972 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002984", "end": "2024-11-16 03:28:33.439000", "rc": 0, "start": "2024-11-16 03:28:33.436016" } 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.324) 0:01:29.296 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.064) 0:01:29.361 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.055) 0:01:29.416 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.039) 0:01:29.456 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.060) 0:01:29.516 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.055) 0:01:29.572 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.049) 0:01:29.622 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.049) 0:01:29.671 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.050) 0:01:29.722 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:28:33 -0500 (0:00:00.068) 0:01:29.791 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:28:34 -0500 (0:00:00.588) 0:01:30.380 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:28:34 -0500 (0:00:00.051) 0:01:30.431 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:28:34 -0500 (0:00:00.056) 0:01:30.487 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:28:34 -0500 (0:00:00.051) 0:01:30.539 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:28:35 -0500 (0:00:00.320) 0:01:30.860 ***** 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": 1731745641.126344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745638.147388, "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": 1731745638.147388, "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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:28:35 -0500 (0:00:00.623) 0:01:31.483 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:28:35 -0500 (0:00:00.060) 0:01:31.543 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:56 EST", "ActiveEnterTimestampMonotonic": "6532325", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:56 EST", "AssertTimestampMonotonic": "6104735", "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-11-16 03:27:56 EST", "ConditionTimestampMonotonic": "6104729", "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": "856", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:56 EST", "ExecMainStartTimestampMonotonic": "6105462", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:56 EST] ; stop_time=[n/a] ; pid=856 ; 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-11-16 03:27:56 EST", "InactiveExitTimestampMonotonic": "6105512", "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": "856", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:56 EST", "WatchdogTimestampMonotonic": "6532089", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:28:36 -0500 (0:00:00.415) 0:01:31.958 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:28:36 -0500 (0:00:00.329) 0:01:32.288 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:28:36 -0500 (0:00:00.319) 0:01:32.607 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:28:36 -0500 (0:00:00.055) 0:01:32.662 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:28:37 -0500 (0:00:00.523) 0:01:33.186 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:28:37 -0500 (0:00:00.524) 0:01:33.711 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:28:38 -0500 (0:00:00.324) 0:01:34.035 ***** 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-1731745718.3-13895-189569607870910/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:28:38 -0500 (0:00:00.641) 0:01:34.677 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:28:38 -0500 (0:00:00.056) 0:01:34.733 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.518068", "end": "2024-11-16 03:28:40.721300", "rc": 0, "start": "2024-11-16 03:28:39.203232" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:28:40 -0500 (0:00:01.848) 0:01:36.581 ***** included: /tmp/collections-1kZ/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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:28:40 -0500 (0:00:00.071) 0:01:36.653 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.091699", "end": "2024-11-16 03:28:41.199838", "rc": 0, "start": "2024-11-16 03:28:41.108139" } 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.406) 0:01:37.059 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.049) 0:01:37.109 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.049) 0:01:37.159 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.025) 0:01:37.184 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.053) 0:01:37.238 ***** 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.007875", "end": "2024-11-16 03:28:41.714194", "rc": 0, "start": "2024-11-16 03:28:41.706319" } 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Saturday 16 November 2024 03:28:41 -0500 (0:00:00.333) 0:01:37.572 ***** changed: [managed-node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Saturday 16 November 2024 03:28:42 -0500 (0:00:00.330) 0:01:37.902 ***** 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-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Saturday 16 November 2024 03:28:42 -0500 (0:00:00.320) 0:01:38.222 ***** 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-1731745722.49-13980-156219606678994/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Saturday 16 November 2024 03:28:43 -0500 (0:00:00.589) 0:01:38.812 ***** 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-1731745723.07-13999-278408822178520/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Saturday 16 November 2024 03:28:43 -0500 (0:00:00.585) 0:01:39.398 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:27:56 EST", "ActiveEnterTimestampMonotonic": "6532325", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:27:56 EST", "AssertTimestampMonotonic": "6104735", "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-11-16 03:27:56 EST", "ConditionTimestampMonotonic": "6104729", "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": "856", "ExecMainStartTimestamp": "Sat 2024-11-16 03:27:56 EST", "ExecMainStartTimestampMonotonic": "6105462", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:27:56 EST] ; stop_time=[n/a] ; pid=856 ; 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-11-16 03:27:56 EST", "InactiveExitTimestampMonotonic": "6105512", "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": "856", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:27:56 EST", "WatchdogTimestampMonotonic": "6532089", "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 16 November 2024 03:28:44 -0500 (0:00:00.416) 0:01:39.814 ***** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 41.77s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.28s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.02s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.85s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 1.53s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.52s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Gathering Facts --------------------------------------------------------- 1.29s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required services are enabled and started ------------------------ 1.28s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Ensure required packages are installed ---------------------------------- 1.23s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Generate a configuration for kernel settings ---------------------------- 1.08s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 1.00s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.80s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.79s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.79s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.77s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.76s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.75s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Check if system is ostree ----------------------------------------------- 0.71s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 fedora.linux_system_roles.kernel_settings : Get active_profile ---------- 0.70s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Ensure kernel settings profile directory exists ------------------------- 0.69s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39