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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Friday 20 September 2024 20:51:46 -0400 (0:00:00.050) 0:00:00.050 ****** ok: [managed_node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Friday 20 September 2024 20:51:47 -0400 (0:00:01.058) 0:00:01.108 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Friday 20 September 2024 20:51:48 -0400 (0:00:00.518) 0:00:01.626 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Friday 20 September 2024 20:51:48 -0400 (0:00:00.073) 0:00:01.700 ****** 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" ] } TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Friday 20 September 2024 20:51:49 -0400 (0:00:00.969) 0:00:02.669 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Friday 20 September 2024 20:51:49 -0400 (0:00:00.459) 0:00:03.129 ****** ok: [managed_node1] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Friday 20 September 2024 20:51:49 -0400 (0:00:00.087) 0:00:03.216 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Friday 20 September 2024 20:51:50 -0400 (0:00:00.516) 0:00:03.733 ****** 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-1726879910.21-11136-276699287543044/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Friday 20 September 2024 20:51:51 -0400 (0:00:00.886) 0:00:04.620 ****** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:51:40 EDT", "ActiveEnterTimestampMonotonic": "263014115", "ActiveExitTimestamp": "Fri 2024-09-20 20:51:40 EDT", "ActiveExitTimestampMonotonic": "262692335", "ActiveState": "active", "After": "systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:51:40 EDT", "AssertTimestampMonotonic": "262900835", "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": "Fri 2024-09-20 20:51:40 EDT", "ConditionTimestampMonotonic": "262900834", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9910", "ExecMainStartTimestamp": "Fri 2024-09-20 20:51:40 EDT", "ExecMainStartTimestampMonotonic": "262901373", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:51:40 EDT] ; stop_time=[n/a] ; pid=9910 ; 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": "Fri 2024-09-20 20:51:40 EDT", "InactiveEnterTimestampMonotonic": "262897526", "InactiveExitTimestamp": "Fri 2024-09-20 20:51:40 EDT", "InactiveExitTimestampMonotonic": "262901413", "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": "9910", "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": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:51:40 EDT", "WatchdogTimestampMonotonic": "263013844", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Friday 20 September 2024 20:51:53 -0400 (0:00:02.009) 0:00:06.629 ****** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Friday 20 September 2024 20:51:53 -0400 (0:00:00.216) 0:00:06.845 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Friday 20 September 2024 20:51:53 -0400 (0:00:00.108) 0:00:06.954 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Friday 20 September 2024 20:51:53 -0400 (0:00:00.091) 0:00:07.045 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Friday 20 September 2024 20:51:53 -0400 (0:00:00.065) 0:00:07.111 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Friday 20 September 2024 20:51:53 -0400 (0:00:00.086) 0:00:07.198 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Friday 20 September 2024 20:51:53 -0400 (0:00:00.062) 0:00:07.260 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Friday 20 September 2024 20:51:54 -0400 (0:00:00.424) 0:00:07.684 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Friday 20 September 2024 20:51:54 -0400 (0:00:00.086) 0:00:07.770 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Friday 20 September 2024 20:51:54 -0400 (0:00:00.101) 0:00:07.872 ****** 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Friday 20 September 2024 20:51:54 -0400 (0:00:00.583) 0:00:08.455 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Friday 20 September 2024 20:51:54 -0400 (0:00:00.052) 0:00:08.508 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Friday 20 September 2024 20:51:54 -0400 (0:00:00.079) 0:00:08.587 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Friday 20 September 2024 20:51:55 -0400 (0:00:00.070) 0:00:08.657 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Friday 20 September 2024 20:51:55 -0400 (0:00:00.616) 0:00:09.274 ****** 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": 1726879912.9048665, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1726879910.0588737, "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": 1726879910.0588737, "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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Friday 20 September 2024 20:51:56 -0400 (0:00:00.865) 0:00:10.140 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Friday 20 September 2024 20:51:56 -0400 (0:00:00.073) 0:00:10.214 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:51:52 EDT", "ActiveEnterTimestampMonotonic": "275281300", "ActiveExitTimestamp": "Fri 2024-09-20 20:51:51 EDT", "ActiveExitTimestampMonotonic": "274100868", "ActiveState": "active", "After": "systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:51:52 EDT", "AssertTimestampMonotonic": "275052723", "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": "Fri 2024-09-20 20:51:52 EDT", "ConditionTimestampMonotonic": "275052722", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10788", "ExecMainStartTimestamp": "Fri 2024-09-20 20:51:52 EDT", "ExecMainStartTimestampMonotonic": "275053269", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:51:52 EDT] ; stop_time=[n/a] ; pid=10788 ; 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": "Fri 2024-09-20 20:51:52 EDT", "InactiveEnterTimestampMonotonic": "275050513", "InactiveExitTimestamp": "Fri 2024-09-20 20:51:52 EDT", "InactiveExitTimestampMonotonic": "275053301", "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": "10788", "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": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:51:52 EDT", "WatchdogTimestampMonotonic": "275281245", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Friday 20 September 2024 20:51:57 -0400 (0:00:00.535) 0:00:10.749 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Friday 20 September 2024 20:51:57 -0400 (0:00:00.382) 0:00:11.131 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Friday 20 September 2024 20:51:58 -0400 (0:00:00.507) 0:00:11.639 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Friday 20 September 2024 20:51:58 -0400 (0:00:00.063) 0:00:11.702 ****** 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-1726879918.17-11737-115293596503710/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Friday 20 September 2024 20:51:58 -0400 (0:00:00.647) 0:00:12.349 ****** 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-1726879918.82-11784-131077534327759/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Friday 20 September 2024 20:51:59 -0400 (0:00:00.732) 0:00:13.082 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Friday 20 September 2024 20:51:59 -0400 (0:00:00.398) 0:00:13.480 ****** 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-1726879919.98-11856-34663041937611/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Friday 20 September 2024 20:52:00 -0400 (0:00:00.729) 0:00:14.210 ****** changed: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:51:52 EDT", "ActiveEnterTimestampMonotonic": "275281300", "ActiveExitTimestamp": "Fri 2024-09-20 20:51:51 EDT", "ActiveExitTimestampMonotonic": "274100868", "ActiveState": "active", "After": "systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:51:52 EDT", "AssertTimestampMonotonic": "275052723", "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": "Fri 2024-09-20 20:51:52 EDT", "ConditionTimestampMonotonic": "275052722", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10788", "ExecMainStartTimestamp": "Fri 2024-09-20 20:51:52 EDT", "ExecMainStartTimestampMonotonic": "275053269", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:51:52 EDT] ; stop_time=[n/a] ; pid=10788 ; 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": "Fri 2024-09-20 20:51:52 EDT", "InactiveEnterTimestampMonotonic": "275050513", "InactiveExitTimestamp": "Fri 2024-09-20 20:51:52 EDT", "InactiveExitTimestampMonotonic": "275053301", "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": "10788", "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": "dbus.service system.slice basic.target polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:51:52 EDT", "WatchdogTimestampMonotonic": "275281245", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Friday 20 September 2024 20:52:02 -0400 (0:00:01.600) 0:00:15.810 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Friday 20 September 2024 20:52:02 -0400 (0:00:00.058) 0:00:15.868 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Friday 20 September 2024 20:52:02 -0400 (0:00:00.066) 0:00:15.935 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.088878", "end": "2024-09-20 20:52:02.825661", "rc": 0, "start": "2024-09-20 20:52:02.736783" } 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Friday 20 September 2024 20:52:02 -0400 (0:00:00.544) 0:00:16.480 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Friday 20 September 2024 20:52:02 -0400 (0:00:00.040) 0:00:16.520 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Friday 20 September 2024 20:52:02 -0400 (0:00:00.043) 0:00:16.564 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Friday 20 September 2024 20:52:02 -0400 (0:00:00.022) 0:00:16.586 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Friday 20 September 2024 20:52:03 -0400 (0:00:00.043) 0:00:16.629 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Friday 20 September 2024 20:52:03 -0400 (0:00:00.045) 0:00:16.674 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Friday 20 September 2024 20:52:03 -0400 (0:00:00.060) 0:00:16.734 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003103", "end": "2024-09-20 20:52:03.369985", "rc": 0, "start": "2024-09-20 20:52:03.366882" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Friday 20 September 2024 20:52:03 -0400 (0:00:00.281) 0:00:17.016 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005352", "end": "2024-09-20 20:52:03.652303", "rc": 0, "start": "2024-09-20 20:52:03.646951" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Friday 20 September 2024 20:52:03 -0400 (0:00:00.285) 0:00:17.302 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004977", "end": "2024-09-20 20:52:03.938570", "rc": 0, "start": "2024-09-20 20:52:03.933593" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Friday 20 September 2024 20:52:03 -0400 (0:00:00.284) 0:00:17.587 ****** changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Friday 20 September 2024 20:52:25 -0400 (0:00:21.779) 0:00:39.366 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005537", "end": "2024-09-20 20:52:25.506526", "rc": 0, "start": "2024-09-20 20:52:25.500989" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Friday 20 September 2024 20:52:26 -0400 (0:00:00.271) 0:00:39.637 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002898", "end": "2024-09-20 20:52:25.762708", "rc": 0, "start": "2024-09-20 20:52:25.759810" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Friday 20 September 2024 20:52:26 -0400 (0:00:00.255) 0:00:39.892 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004542", "end": "2024-09-20 20:52:26.024369", "rc": 0, "start": "2024-09-20 20:52:26.019827" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Friday 20 September 2024 20:52:26 -0400 (0:00:00.261) 0:00:40.154 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.086149", "end": "2024-09-20 20:52:26.365657", "rc": 0, "start": "2024-09-20 20:52:26.279508" } 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Friday 20 September 2024 20:52:26 -0400 (0:00:00.346) 0:00:40.501 ****** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Friday 20 September 2024 20:52:26 -0400 (0:00:00.073) 0:00:40.574 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Friday 20 September 2024 20:52:27 -0400 (0:00:00.084) 0:00:40.659 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Friday 20 September 2024 20:52:27 -0400 (0:00:00.064) 0:00:40.723 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Friday 20 September 2024 20:52:27 -0400 (0:00:00.041) 0:00:40.765 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Friday 20 September 2024 20:52:27 -0400 (0:00:00.038) 0:00:40.804 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Friday 20 September 2024 20:52:27 -0400 (0:00:00.038) 0:00:40.843 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Friday 20 September 2024 20:52:27 -0400 (0:00:00.039) 0:00:40.882 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Friday 20 September 2024 20:52:27 -0400 (0:00:00.038) 0:00:40.921 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Friday 20 September 2024 20:52:27 -0400 (0:00:00.057) 0:00:40.978 ****** 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Friday 20 September 2024 20:52:28 -0400 (0:00:00.625) 0:00:41.603 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Friday 20 September 2024 20:52:28 -0400 (0:00:00.039) 0:00:41.643 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Friday 20 September 2024 20:52:28 -0400 (0:00:00.039) 0:00:41.682 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Friday 20 September 2024 20:52:28 -0400 (0:00:00.039) 0:00:41.721 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Friday 20 September 2024 20:52:28 -0400 (0:00:00.293) 0:00:42.015 ****** 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": 1726879922.0469143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1726879919.4279006, "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": 1726879919.4279006, "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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Friday 20 September 2024 20:52:28 -0400 (0:00:00.566) 0:00:42.581 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Friday 20 September 2024 20:52:29 -0400 (0:00:00.043) 0:00:42.625 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:52:21 EDT", "ActiveEnterTimestampMonotonic": "7461444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:52:20 EDT", "AssertTimestampMonotonic": "7110767", "Before": "multi-user.target shutdown.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": "Fri 2024-09-20 20:52:20 EDT", "ConditionTimestampMonotonic": "7110765", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Fri 2024-09-20 20:52:20 EDT", "ExecMainStartTimestampMonotonic": "7111338", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:52:20 EDT] ; stop_time=[n/a] ; pid=860 ; 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": "Fri 2024-09-20 20:52:20 EDT", "InactiveExitTimestampMonotonic": "7111383", "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": "860", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:52:21 EDT", "WatchdogTimestampMonotonic": "7461096", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Friday 20 September 2024 20:52:29 -0400 (0:00:00.386) 0:00:43.011 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Friday 20 September 2024 20:52:29 -0400 (0:00:00.297) 0:00:43.308 ****** ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Friday 20 September 2024 20:52:29 -0400 (0:00:00.281) 0:00:43.590 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Friday 20 September 2024 20:52:30 -0400 (0:00:00.043) 0:00:43.633 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Friday 20 September 2024 20:52:30 -0400 (0:00:00.477) 0:00:44.110 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Friday 20 September 2024 20:52:30 -0400 (0:00:00.474) 0:00:44.585 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Friday 20 September 2024 20:52:31 -0400 (0:00:00.284) 0:00:44.870 ****** 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-1726879951.33-12810-95792362775585/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Friday 20 September 2024 20:52:31 -0400 (0:00:00.563) 0:00:45.434 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Friday 20 September 2024 20:52:31 -0400 (0:00:00.043) 0:00:45.477 ****** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.065744", "end": "2024-09-20 20:52:34.134439", "rc": 0, "start": "2024-09-20 20:52:32.068695" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Friday 20 September 2024 20:52:34 -0400 (0:00:02.301) 0:00:47.779 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Friday 20 September 2024 20:52:34 -0400 (0:00:00.055) 0:00:47.835 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.079379", "end": "2024-09-20 20:52:34.536032", "rc": 0, "start": "2024-09-20 20:52:34.456653" } 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Friday 20 September 2024 20:52:34 -0400 (0:00:00.347) 0:00:48.182 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Friday 20 September 2024 20:52:34 -0400 (0:00:00.040) 0:00:48.223 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Friday 20 September 2024 20:52:34 -0400 (0:00:00.040) 0:00:48.264 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Friday 20 September 2024 20:52:34 -0400 (0:00:00.018) 0:00:48.282 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Friday 20 September 2024 20:52:34 -0400 (0:00:00.042) 0:00:48.324 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Friday 20 September 2024 20:52:34 -0400 (0:00:00.042) 0:00:48.367 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Friday 20 September 2024 20:52:34 -0400 (0:00:00.041) 0:00:48.408 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.004975", "end": "2024-09-20 20:52:35.023623", "rc": 0, "start": "2024-09-20 20:52:35.018648" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Friday 20 September 2024 20:52:35 -0400 (0:00:00.259) 0:00:48.668 ****** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Friday 20 September 2024 20:52:35 -0400 (0:00:00.088) 0:00:48.756 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Friday 20 September 2024 20:52:35 -0400 (0:00:00.047) 0:00:48.804 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Friday 20 September 2024 20:52:35 -0400 (0:00:00.032) 0:00:48.836 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Friday 20 September 2024 20:52:35 -0400 (0:00:00.041) 0:00:48.878 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Friday 20 September 2024 20:52:35 -0400 (0:00:00.039) 0:00:48.918 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Friday 20 September 2024 20:52:35 -0400 (0:00:00.039) 0:00:48.957 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Friday 20 September 2024 20:52:35 -0400 (0:00:00.038) 0:00:48.996 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Friday 20 September 2024 20:52:35 -0400 (0:00:00.042) 0:00:49.038 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Friday 20 September 2024 20:52:35 -0400 (0:00:00.052) 0:00:49.091 ****** 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Friday 20 September 2024 20:52:36 -0400 (0:00:00.525) 0:00:49.616 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Friday 20 September 2024 20:52:36 -0400 (0:00:00.040) 0:00:49.657 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Friday 20 September 2024 20:52:36 -0400 (0:00:00.040) 0:00:49.697 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Friday 20 September 2024 20:52:36 -0400 (0:00:00.040) 0:00:49.738 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Friday 20 September 2024 20:52:36 -0400 (0:00:00.288) 0:00:50.027 ****** 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": 1726879922.0469143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1726879919.4279006, "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": 1726879919.4279006, "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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Friday 20 September 2024 20:52:36 -0400 (0:00:00.558) 0:00:50.585 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Friday 20 September 2024 20:52:37 -0400 (0:00:00.043) 0:00:50.629 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:52:21 EDT", "ActiveEnterTimestampMonotonic": "7461444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:52:20 EDT", "AssertTimestampMonotonic": "7110767", "Before": "multi-user.target shutdown.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": "Fri 2024-09-20 20:52:20 EDT", "ConditionTimestampMonotonic": "7110765", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Fri 2024-09-20 20:52:20 EDT", "ExecMainStartTimestampMonotonic": "7111338", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:52:20 EDT] ; stop_time=[n/a] ; pid=860 ; 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": "Fri 2024-09-20 20:52:20 EDT", "InactiveExitTimestampMonotonic": "7111383", "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": "860", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:52:21 EDT", "WatchdogTimestampMonotonic": "7461096", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Friday 20 September 2024 20:52:37 -0400 (0:00:00.378) 0:00:51.007 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Friday 20 September 2024 20:52:37 -0400 (0:00:00.294) 0:00:51.302 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Friday 20 September 2024 20:52:37 -0400 (0:00:00.285) 0:00:51.587 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Friday 20 September 2024 20:52:38 -0400 (0:00:00.043) 0:00:51.631 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Friday 20 September 2024 20:52:40 -0400 (0:00:02.093) 0:00:53.724 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Friday 20 September 2024 20:52:40 -0400 (0:00:00.472) 0:00:54.196 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Friday 20 September 2024 20:52:40 -0400 (0:00:00.282) 0:00:54.479 ****** 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-1726879960.93-13023-248242561823397/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Friday 20 September 2024 20:52:41 -0400 (0:00:00.566) 0:00:55.045 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Friday 20 September 2024 20:52:41 -0400 (0:00:00.048) 0:00:55.094 ****** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.424832", "end": "2024-09-20 20:52:43.165974", "rc": 0, "start": "2024-09-20 20:52:41.741142" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Friday 20 September 2024 20:52:43 -0400 (0:00:01.717) 0:00:56.811 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Friday 20 September 2024 20:52:43 -0400 (0:00:00.055) 0:00:56.866 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.078393", "end": "2024-09-20 20:52:43.559518", "rc": 0, "start": "2024-09-20 20:52:43.481125" } 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Friday 20 September 2024 20:52:43 -0400 (0:00:00.342) 0:00:57.209 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Friday 20 September 2024 20:52:43 -0400 (0:00:00.039) 0:00:57.248 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Friday 20 September 2024 20:52:43 -0400 (0:00:00.039) 0:00:57.288 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Friday 20 September 2024 20:52:43 -0400 (0:00:00.019) 0:00:57.307 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Friday 20 September 2024 20:52:43 -0400 (0:00:00.043) 0:00:57.351 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Friday 20 September 2024 20:52:43 -0400 (0:00:00.043) 0:00:57.394 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Friday 20 September 2024 20:52:43 -0400 (0:00:00.042) 0:00:57.437 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.004887", "end": "2024-09-20 20:52:44.052722", "rc": 0, "start": "2024-09-20 20:52:44.047835" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Friday 20 September 2024 20:52:44 -0400 (0:00:00.260) 0:00:57.698 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003117", "end": "2024-09-20 20:52:44.313944", "rc": 0, "start": "2024-09-20 20:52:44.310827" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Friday 20 September 2024 20:52:44 -0400 (0:00:00.262) 0:00:57.960 ****** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Friday 20 September 2024 20:52:44 -0400 (0:00:00.103) 0:00:58.064 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Friday 20 September 2024 20:52:44 -0400 (0:00:00.042) 0:00:58.107 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Friday 20 September 2024 20:52:44 -0400 (0:00:00.030) 0:00:58.137 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Friday 20 September 2024 20:52:44 -0400 (0:00:00.041) 0:00:58.179 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Friday 20 September 2024 20:52:44 -0400 (0:00:00.038) 0:00:58.218 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Friday 20 September 2024 20:52:44 -0400 (0:00:00.042) 0:00:58.260 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Friday 20 September 2024 20:52:44 -0400 (0:00:00.041) 0:00:58.301 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Friday 20 September 2024 20:52:44 -0400 (0:00:00.042) 0:00:58.344 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Friday 20 September 2024 20:52:44 -0400 (0:00:00.052) 0:00:58.396 ****** 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Friday 20 September 2024 20:52:45 -0400 (0:00:00.510) 0:00:58.907 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Friday 20 September 2024 20:52:45 -0400 (0:00:00.039) 0:00:58.947 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Friday 20 September 2024 20:52:45 -0400 (0:00:00.039) 0:00:58.986 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Friday 20 September 2024 20:52:45 -0400 (0:00:00.039) 0:00:59.026 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Friday 20 September 2024 20:52:45 -0400 (0:00:00.283) 0:00:59.309 ****** 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": 1726879922.0469143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1726879919.4279006, "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": 1726879919.4279006, "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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Friday 20 September 2024 20:52:46 -0400 (0:00:00.556) 0:00:59.866 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Friday 20 September 2024 20:52:46 -0400 (0:00:00.044) 0:00:59.910 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:52:21 EDT", "ActiveEnterTimestampMonotonic": "7461444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:52:20 EDT", "AssertTimestampMonotonic": "7110767", "Before": "multi-user.target shutdown.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": "Fri 2024-09-20 20:52:20 EDT", "ConditionTimestampMonotonic": "7110765", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Fri 2024-09-20 20:52:20 EDT", "ExecMainStartTimestampMonotonic": "7111338", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:52:20 EDT] ; stop_time=[n/a] ; pid=860 ; 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": "Fri 2024-09-20 20:52:20 EDT", "InactiveExitTimestampMonotonic": "7111383", "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": "860", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:52:21 EDT", "WatchdogTimestampMonotonic": "7461096", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Friday 20 September 2024 20:52:46 -0400 (0:00:00.371) 0:01:00.282 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Friday 20 September 2024 20:52:46 -0400 (0:00:00.300) 0:01:00.583 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Friday 20 September 2024 20:52:47 -0400 (0:00:00.282) 0:01:00.865 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Friday 20 September 2024 20:52:47 -0400 (0:00:00.044) 0:01:00.909 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Friday 20 September 2024 20:52:47 -0400 (0:00:00.469) 0:01:01.378 ****** ok: [managed_node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Friday 20 September 2024 20:52:48 -0400 (0:00:00.466) 0:01:01.844 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Friday 20 September 2024 20:52:48 -0400 (0:00:00.290) 0:01:02.135 ****** 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-1726879968.59-13238-237741562334835/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Friday 20 September 2024 20:52:49 -0400 (0:00:00.573) 0:01:02.708 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Friday 20 September 2024 20:52:49 -0400 (0:00:00.045) 0:01:02.753 ****** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.794875", "end": "2024-09-20 20:52:51.194928", "rc": 0, "start": "2024-09-20 20:52:49.400053" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Friday 20 September 2024 20:52:51 -0400 (0:00:02.089) 0:01:04.843 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Friday 20 September 2024 20:52:51 -0400 (0:00:00.054) 0:01:04.898 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.083524", "end": "2024-09-20 20:52:51.599888", "rc": 0, "start": "2024-09-20 20:52:51.516364" } 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Friday 20 September 2024 20:52:51 -0400 (0:00:00.350) 0:01:05.248 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Friday 20 September 2024 20:52:51 -0400 (0:00:00.039) 0:01:05.288 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Friday 20 September 2024 20:52:51 -0400 (0:00:00.039) 0:01:05.327 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Friday 20 September 2024 20:52:51 -0400 (0:00:00.020) 0:01:05.347 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Friday 20 September 2024 20:52:51 -0400 (0:00:00.041) 0:01:05.389 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Friday 20 September 2024 20:52:51 -0400 (0:00:00.042) 0:01:05.431 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Friday 20 September 2024 20:52:51 -0400 (0:00:00.044) 0:01:05.475 ****** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005265", "end": "2024-09-20 20:52:52.104266", "rc": 0, "start": "2024-09-20 20:52:52.099001" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Friday 20 September 2024 20:52:52 -0400 (0:00:00.274) 0:01:05.750 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003008", "end": "2024-09-20 20:52:52.372336", "rc": 0, "start": "2024-09-20 20:52:52.369328" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Friday 20 September 2024 20:52:52 -0400 (0:00:00.267) 0:01:06.017 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Friday 20 September 2024 20:52:52 -0400 (0:00:00.064) 0:01:06.082 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002816", "end": "2024-09-20 20:52:52.732128", "rc": 0, "start": "2024-09-20 20:52:52.729312" } 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Friday 20 September 2024 20:52:52 -0400 (0:00:00.295) 0:01:06.378 ****** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Friday 20 September 2024 20:52:52 -0400 (0:00:00.054) 0:01:06.432 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Friday 20 September 2024 20:52:52 -0400 (0:00:00.045) 0:01:06.477 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Friday 20 September 2024 20:52:52 -0400 (0:00:00.035) 0:01:06.512 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Friday 20 September 2024 20:52:52 -0400 (0:00:00.043) 0:01:06.556 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Friday 20 September 2024 20:52:52 -0400 (0:00:00.041) 0:01:06.598 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Friday 20 September 2024 20:52:53 -0400 (0:00:00.040) 0:01:06.638 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Friday 20 September 2024 20:52:53 -0400 (0:00:00.040) 0:01:06.679 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Friday 20 September 2024 20:52:53 -0400 (0:00:00.041) 0:01:06.720 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Friday 20 September 2024 20:52:53 -0400 (0:00:00.055) 0:01:06.776 ****** 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Friday 20 September 2024 20:52:53 -0400 (0:00:00.525) 0:01:07.301 ****** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Friday 20 September 2024 20:52:53 -0400 (0:00:00.040) 0:01:07.341 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Friday 20 September 2024 20:52:53 -0400 (0:00:00.041) 0:01:07.383 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Friday 20 September 2024 20:52:53 -0400 (0:00:00.040) 0:01:07.423 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Friday 20 September 2024 20:52:54 -0400 (0:00:00.288) 0:01:07.712 ****** 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": 1726879922.0469143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1726879919.4279006, "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": 1726879919.4279006, "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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Friday 20 September 2024 20:52:54 -0400 (0:00:00.575) 0:01:08.288 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Friday 20 September 2024 20:52:54 -0400 (0:00:00.045) 0:01:08.333 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:52:21 EDT", "ActiveEnterTimestampMonotonic": "7461444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:52:20 EDT", "AssertTimestampMonotonic": "7110767", "Before": "multi-user.target shutdown.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": "Fri 2024-09-20 20:52:20 EDT", "ConditionTimestampMonotonic": "7110765", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Fri 2024-09-20 20:52:20 EDT", "ExecMainStartTimestampMonotonic": "7111338", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:52:20 EDT] ; stop_time=[n/a] ; pid=860 ; 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": "Fri 2024-09-20 20:52:20 EDT", "InactiveExitTimestampMonotonic": "7111383", "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": "860", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:52:21 EDT", "WatchdogTimestampMonotonic": "7461096", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Friday 20 September 2024 20:52:55 -0400 (0:00:00.376) 0:01:08.709 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Friday 20 September 2024 20:52:55 -0400 (0:00:00.303) 0:01:09.013 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Friday 20 September 2024 20:52:55 -0400 (0:00:00.292) 0:01:09.305 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Friday 20 September 2024 20:52:55 -0400 (0:00:00.043) 0:01:09.349 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Friday 20 September 2024 20:52:56 -0400 (0:00:00.483) 0:01:09.833 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Friday 20 September 2024 20:52:56 -0400 (0:00:00.492) 0:01:10.325 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Friday 20 September 2024 20:52:57 -0400 (0:00:00.297) 0:01:10.623 ****** 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-1726879977.08-13466-65289134463912/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Friday 20 September 2024 20:52:57 -0400 (0:00:00.593) 0:01:11.217 ****** skipping: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Friday 20 September 2024 20:52:57 -0400 (0:00:00.044) 0:01:11.261 ****** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.309945", "end": "2024-09-20 20:52:59.217520", "rc": 0, "start": "2024-09-20 20:52:57.907575" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Friday 20 September 2024 20:52:59 -0400 (0:00:01.603) 0:01:12.864 ****** included: /tmp/collections-LTX/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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Friday 20 September 2024 20:52:59 -0400 (0:00:00.057) 0:01:12.922 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.080639", "end": "2024-09-20 20:52:59.626117", "rc": 0, "start": "2024-09-20 20:52:59.545478" } 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Friday 20 September 2024 20:52:59 -0400 (0:00:00.350) 0:01:13.273 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Friday 20 September 2024 20:52:59 -0400 (0:00:00.040) 0:01:13.313 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Friday 20 September 2024 20:52:59 -0400 (0:00:00.040) 0:01:13.354 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Friday 20 September 2024 20:52:59 -0400 (0:00:00.020) 0:01:13.374 ****** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Friday 20 September 2024 20:52:59 -0400 (0:00:00.044) 0:01:13.419 ****** 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.006972", "end": "2024-09-20 20:53:00.074453", "rc": 0, "start": "2024-09-20 20:53:00.067481" } 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Friday 20 September 2024 20:53:00 -0400 (0:00:00.301) 0:01:13.720 ****** changed: [managed_node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Friday 20 September 2024 20:53:00 -0400 (0:00:00.299) 0:01:14.019 ****** 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-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Friday 20 September 2024 20:53:00 -0400 (0:00:00.287) 0:01:14.307 ****** 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-1726879980.77-13551-81407998000194/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Friday 20 September 2024 20:53:01 -0400 (0:00:00.541) 0:01:14.849 ****** 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-1726879981.3-13567-76658196507334/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Friday 20 September 2024 20:53:01 -0400 (0:00:00.543) 0:01:15.392 ****** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:52:21 EDT", "ActiveEnterTimestampMonotonic": "7461444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:52:20 EDT", "AssertTimestampMonotonic": "7110767", "Before": "multi-user.target shutdown.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": "Fri 2024-09-20 20:52:20 EDT", "ConditionTimestampMonotonic": "7110765", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "860", "ExecMainStartTimestamp": "Fri 2024-09-20 20:52:20 EDT", "ExecMainStartTimestampMonotonic": "7111338", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:52:20 EDT] ; stop_time=[n/a] ; pid=860 ; 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": "Fri 2024-09-20 20:52:20 EDT", "InactiveExitTimestampMonotonic": "7111383", "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": "860", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-20 20:52:21 EDT", "WatchdogTimestampMonotonic": "7461096", "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 Friday 20 September 2024 20:53:02 -0400 (0:00:00.388) 0:01:15.780 ****** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 21.78s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.30s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 2.09s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.09s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Ensure required services are enabled and started ------------------------ 2.01s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.72s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.60s /tmp/collections-LTX/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.60s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Gathering Facts --------------------------------------------------------- 1.06s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required packages are installed ---------------------------------- 0.97s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Generate a configuration for kernel settings ---------------------------- 0.89s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.87s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.73s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.73s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.65s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.63s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Read tuned main config ------ 0.62s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.59s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.58s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.58s /tmp/collections-LTX/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50