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_simple_settings.yml ******************************************** 1 plays in /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml PLAY [Test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:2 Saturday 16 November 2024 03:26:46 -0500 (0:00:00.051) 0:00:00.051 ***** ok: [managed-node2] META: ran handlers TASK [Set platform independent vars used by this test] ************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:10 Saturday 16 November 2024 03:26:47 -0500 (0:00:01.656) 0:00:01.707 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [Disable bootloader cmdline testing on Fedora] **************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:14 Saturday 16 November 2024 03:26:47 -0500 (0:00:00.088) 0:00:01.796 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings - call the role] ************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:25 Saturday 16 November 2024 03:26:47 -0500 (0:00:00.097) 0:00:01.893 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:26:48 -0500 (0:00:00.378) 0:00:02.272 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:26:48 -0500 (0:00:00.097) 0:00:02.370 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:26:48 -0500 (0:00:00.086) 0:00:02.456 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:26:48 -0500 (0:00:00.116) 0:00:02.573 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:26:49 -0500 (0:00:00.716) 0:00:03.290 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:26:49 -0500 (0:00:00.093) 0:00:03.383 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:26:49 -0500 (0:00:00.527) 0:00:03.911 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:26:49 -0500 (0:00:00.087) 0:00:03.998 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:26:50 -0500 (0:00:00.089) 0:00:04.088 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:26:51 -0500 (0:00:01.151) 0:00:05.239 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:26:51 -0500 (0:00:00.086) 0:00:05.325 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:26:51 -0500 (0:00:00.061) 0:00:05.387 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:26:51 -0500 (0:00:00.061) 0:00:05.448 ***** ok: [managed-node2] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:26:52 -0500 (0:00:00.655) 0:00:06.104 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node2] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1731745377.08757, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1718880233.07065, "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": 1718880233.07065, "nlink": 3, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:26:53 -0500 (0:00:00.984) 0:00:07.088 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:26:53 -0500 (0:00:00.092) 0:00:07.181 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:22:57 EST", "ActiveEnterTimestampMonotonic": "8265125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:22:55 EST", "AssertTimestampMonotonic": "7095046", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-16 03:22:55 EST", "ConditionTimestampMonotonic": "7095044", "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": "842", "ExecMainStartTimestamp": "Sat 2024-11-16 03:22:55 EST", "ExecMainStartTimestampMonotonic": "7095657", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:22:55 EST] ; stop_time=[n/a] ; pid=842 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-16 03:22:55 EST", "InactiveExitTimestampMonotonic": "7095703", "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": "842", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:22:57 EST", "WatchdogTimestampMonotonic": "8264836", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:26:54 -0500 (0:00:01.058) 0:00:08.239 ***** changed: [managed-node2] => { "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 [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:26:54 -0500 (0:00:00.610) 0:00:08.850 ***** ok: [managed-node2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdAo=", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:26:55 -0500 (0:00:00.580) 0:00:09.431 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:26:55 -0500 (0:00:00.061) 0:00:09.492 ***** changed: [managed-node2] => { "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-1731745615.62-10109-220958793949502/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:26:56 -0500 (0:00:01.148) 0:00:10.641 ***** changed: [managed-node2] => { "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-1731745616.76-10164-67649263708704/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:26:57 -0500 (0:00:00.741) 0:00:11.382 ***** ok: [managed-node2] => { "changed": false, "data": {} } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:26:57 -0500 (0:00:00.390) 0:00:11.773 ***** changed: [managed-node2] => { "changed": true, "checksum": "ba15904bb90578344fad097ce2f46f9231275eae", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "db02fa7304c082dd9b84c2d712d07ec0", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 312, "src": "/root/.ansible/tmp/ansible-tmp-1731745617.96-10227-195701762649154/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:26:58 -0500 (0:00:01.104) 0:00:12.877 ***** changed: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:22:57 EST", "ActiveEnterTimestampMonotonic": "8265125", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:22:55 EST", "AssertTimestampMonotonic": "7095046", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-16 03:22:55 EST", "ConditionTimestampMonotonic": "7095044", "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": "842", "ExecMainStartTimestamp": "Sat 2024-11-16 03:22:55 EST", "ExecMainStartTimestampMonotonic": "7095657", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:22:55 EST] ; stop_time=[n/a] ; pid=842 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-16 03:22:55 EST", "InactiveExitTimestampMonotonic": "7095703", "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": "842", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:22:57 EST", "WatchdogTimestampMonotonic": "8264836", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:26:59 -0500 (0:00:00.839) 0:00:13.716 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:26:59 -0500 (0:00:00.084) 0:00:13.801 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed-node2 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:26:59 -0500 (0:00:00.104) 0:00:13.905 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.148334", "end": "2024-11-16 03:27:00.615825", "rc": 0, "start": "2024-11-16 03:27:00.467491" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:27:00 -0500 (0:00:00.791) 0:00:14.696 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:27:00 -0500 (0:00:00.077) 0:00:14.774 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:27:00 -0500 (0:00:00.080) 0:00:14.855 ***** ok: [managed-node2] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:27:00 -0500 (0:00:00.049) 0:00:14.904 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify that settings were applied correctly] ***************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:30 Saturday 16 November 2024 03:27:00 -0500 (0:00:00.078) 0:00:14.982 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml for managed-node2 TASK [Set version specific variables] ****************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.077) 0:00:15.060 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "python", "__kernel_settings_test_python_pkgs": [ "python", "python-configobj" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/vars/tests_CentOS_7.yml" ], "changed": false } TASK [Reset settings success flag] ********************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:13 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.093) 0:00:15.153 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [Check tuned-adm verify] ************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:17 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.036) 0:00:15.190 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for verify errors] ************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:24 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.043) 0:00:15.233 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /proc/cmdline] ***************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:31 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.093) 0:00:15.327 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set error flag based on verify] ****************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:38 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.074) 0:00:15.402 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check config files] ****************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:45 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.069) 0:00:15.472 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for managed-node2 TASK [Create temporary file for expected config] ******************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Saturday 16 November 2024 03:27:01 -0500 (0:00:00.090) 0:00:15.562 ***** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.cuM0Yj.kernel_settings", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Put expected contents into temporary file] ******************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Saturday 16 November 2024 03:27:02 -0500 (0:00:00.539) 0:00:16.102 ***** changed: [managed-node2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.cuM0Yj.kernel_settings", "gid": 0, "group": "root", "md5sum": "b82bbe3a22d81e7a442595a59b2d0944", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1731745622.19-10476-145314168189084/source", "state": "file", "uid": 0 } TASK [Ensure python command exists for tests below] **************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Saturday 16 November 2024 03:27:02 -0500 (0:00:00.735) 0:00:16.838 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "python-2.7.5-94.el7_9.x86_64 providing python is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python python-configobj TASK [Diff expected vs actual content] ***************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:20 Saturday 16 November 2024 03:27:03 -0500 (0:00:00.759) 0:00:17.597 ***** ok: [managed-node2] => { "changed": false, "cmd": "python -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.cuM0Yj.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.019561", "end": "2024-11-16 03:27:04.204789", "rc": 0, "start": "2024-11-16 03:27:04.185228" } TASK [Verify expected content] ************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:33 Saturday 16 November 2024 03:27:04 -0500 (0:00:00.693) 0:00:18.291 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:38 Saturday 16 November 2024 03:27:04 -0500 (0:00:00.108) 0:00:18.400 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get active_profile file] ************************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:46 Saturday 16 November 2024 03:27:04 -0500 (0:00:00.147) 0:00:18.548 ***** ok: [managed-node2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Check that active_profile ends with kernel_settings] ********************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:53 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.611) 0:00:19.159 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile_mode file] *************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:60 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.092) 0:00:19.251 ***** ok: [managed-node2] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [Check that profile_mode is manual] *************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:67 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.350) 0:00:19.602 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the bootloader specific config file] ********************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:74 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.097) 0:00:19.700 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify bootloader settings value] **************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:85 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.128) 0:00:19.828 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if kernel_settings_reboot_required is set if needed] *************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:49 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.083) 0:00:19.911 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success] ********************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:56 Saturday 16 November 2024 03:27:05 -0500 (0:00:00.077) 0:00:19.988 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check ansible_managed, fingerprint in generated files] ******************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:35 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.073) 0:00:20.062 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml for managed-node2 TASK [Get file] **************************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml:3 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.056) 0:00:20.119 ***** ok: [managed-node2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeSA9IGtlcm5lbCBzZXR0aW5ncwpbc3lzY3RsXQpmcy5lcG9sbC5tYXhfdXNlcl93YXRjaGVzID0gNzg1NTkyCmZzLmZpbGUtbWF4ID0gMzc5NzI0CltzeXNmc10KL3N5cy9rZXJuZWwvZGVidWcveDg2L2licnNfZW5hYmxlZCA9IDAKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMApbdm1dCnRyYW5zcGFyZW50X2h1Z2VwYWdlcyA9IG1hZHZpc2UK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml:9 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.514) 0:00:20.634 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:41 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.192) 0:00:20.826 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:47 Saturday 16 November 2024 03:27:06 -0500 (0:00:00.092) 0:00:20.919 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly after reboot] **************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:54 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.104) 0:00:21.024 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings again to check idempotency] *************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:63 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.074) 0:00:21.099 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.105) 0:00:21.204 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.090) 0:00:21.295 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.076) 0:00:21.372 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.073) 0:00:21.445 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.087) 0:00:21.532 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.089) 0:00:21.622 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.068) 0:00:21.691 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.099) 0:00:21.790 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:27:07 -0500 (0:00:00.177) 0:00:21.968 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:27:08 -0500 (0:00:00.879) 0:00:22.848 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:27:08 -0500 (0:00:00.146) 0:00:22.994 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:27:09 -0500 (0:00:00.195) 0:00:23.189 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:27:09 -0500 (0:00:00.079) 0:00:23.268 ***** ok: [managed-node2] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:27:09 -0500 (0:00:00.458) 0:00:23.727 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node2] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1731745619.5886958, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745617.316765, "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": 1731745617.316765, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:27:10 -0500 (0:00:00.927) 0:00:24.654 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:27:10 -0500 (0:00:00.073) 0:00:24.728 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveEnterTimestampMonotonic": "250719434", "ActiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveExitTimestampMonotonic": "250512636", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:26:59 EST", "AssertTimestampMonotonic": "250589859", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-16 03:26:59 EST", "ConditionTimestampMonotonic": "250589858", "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": "10038", "ExecMainStartTimestamp": "Sat 2024-11-16 03:26:59 EST", "ExecMainStartTimestampMonotonic": "250590574", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:26:59 EST] ; stop_time=[n/a] ; pid=10038 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveEnterTimestampMonotonic": "250585248", "InactiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveExitTimestampMonotonic": "250590616", "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": "10038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:26:59 EST", "WatchdogTimestampMonotonic": "250719380", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.494) 0:00:25.223 ***** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:27:11 -0500 (0:00:00.522) 0:00:25.745 ***** ok: [managed-node2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:27:12 -0500 (0:00:00.431) 0:00:26.177 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:27:12 -0500 (0:00:00.140) 0:00:26.317 ***** ok: [managed-node2] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.709) 0:00:27.027 ***** ok: [managed-node2] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:27:13 -0500 (0:00:00.861) 0:00:27.889 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:27:14 -0500 (0:00:00.405) 0:00:28.294 ***** ok: [managed-node2] => { "changed": false, "checksum": "ba15904bb90578344fad097ce2f46f9231275eae", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/tuned/kernel_settings/tuned.conf", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 312, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.730) 0:00:29.024 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.105) 0:00:29.129 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.071) 0:00:29.201 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.057) 0:00:29.259 ***** ok: [managed-node2] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.037) 0:00:29.297 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": false }, "changed": false } TASK [Ensure role reported not changed] **************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:67 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.096) 0:00:29.393 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:72 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.109) 0:00:29.503 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed-node2 TASK [Show current tuned profile settings] ************************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Saturday 16 November 2024 03:27:15 -0500 (0:00:00.127) 0:00:29.630 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002808", "end": "2024-11-16 03:27:15.947458", "rc": 0, "start": "2024-11-16 03:27:15.944650" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/ibrs_enabled = 0 /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 [vm] transparent_hugepages = madvise TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.390) 0:00:30.020 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.123) 0:00:30.144 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.106) 0:00:30.250 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.110) 0:00:30.361 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.087) 0:00:30.449 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.069) 0:00:30.518 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.075) 0:00:30.593 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.083) 0:00:30.677 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.071) 0:00:30.748 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 16 November 2024 03:27:16 -0500 (0:00:00.135) 0:00:30.884 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 16 November 2024 03:27:17 -0500 (0:00:00.712) 0:00:31.596 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 16 November 2024 03:27:17 -0500 (0:00:00.071) 0:00:31.667 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 16 November 2024 03:27:17 -0500 (0:00:00.061) 0:00:31.729 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 16 November 2024 03:27:17 -0500 (0:00:00.056) 0:00:31.785 ***** ok: [managed-node2] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 16 November 2024 03:27:18 -0500 (0:00:00.421) 0:00:32.207 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node2] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1731745619.5886958, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731745617.316765, "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": 1731745617.316765, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 16 November 2024 03:27:19 -0500 (0:00:01.081) 0:00:33.289 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 16 November 2024 03:27:19 -0500 (0:00:00.116) 0:00:33.405 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveEnterTimestampMonotonic": "250719434", "ActiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveExitTimestampMonotonic": "250512636", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:26:59 EST", "AssertTimestampMonotonic": "250589859", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-16 03:26:59 EST", "ConditionTimestampMonotonic": "250589858", "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": "10038", "ExecMainStartTimestamp": "Sat 2024-11-16 03:26:59 EST", "ExecMainStartTimestampMonotonic": "250590574", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:26:59 EST] ; stop_time=[n/a] ; pid=10038 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveEnterTimestampMonotonic": "250585248", "InactiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveExitTimestampMonotonic": "250590616", "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": "10038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:26:59 EST", "WatchdogTimestampMonotonic": "250719380", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 16 November 2024 03:27:19 -0500 (0:00:00.544) 0:00:33.950 ***** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 16 November 2024 03:27:20 -0500 (0:00:00.381) 0:00:34.331 ***** ok: [managed-node2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 16 November 2024 03:27:20 -0500 (0:00:00.423) 0:00:34.754 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 16 November 2024 03:27:20 -0500 (0:00:00.086) 0:00:34.841 ***** ok: [managed-node2] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 16 November 2024 03:27:21 -0500 (0:00:00.825) 0:00:35.666 ***** ok: [managed-node2] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 16 November 2024 03:27:22 -0500 (0:00:00.942) 0:00:36.608 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 16 November 2024 03:27:23 -0500 (0:00:00.526) 0:00:37.135 ***** changed: [managed-node2] => { "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-1731745643.25-11952-177622800415923/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 16 November 2024 03:27:24 -0500 (0:00:01.010) 0:00:38.145 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 16 November 2024 03:27:24 -0500 (0:00:00.103) 0:00:38.249 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:02.099626", "end": "2024-11-16 03:27:26.670429", "rc": 0, "start": "2024-11-16 03:27:24.570803" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 16 November 2024 03:27:26 -0500 (0:00:02.485) 0:00:40.734 ***** included: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed-node2 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 16 November 2024 03:27:26 -0500 (0:00:00.105) 0:00:40.840 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.095346", "end": "2024-11-16 03:27:27.220909", "rc": 0, "start": "2024-11-16 03:27:27.125563" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.460) 0:00:41.301 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.079) 0:00:41.380 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.081) 0:00:41.462 ***** ok: [managed-node2] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.048) 0:00:41.511 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.093) 0:00:41.605 ***** ok: [managed-node2] => { "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.007968", "end": "2024-11-16 03:27:27.930626", "rc": 0, "start": "2024-11-16 03:27:27.922658" } STDERR: + exec + rc=0 + conf=/etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysctl\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysfs\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[systemd\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[vm\]' /etc/tuned/kernel_settings/tuned.conf + exit 0 TASK [Remove kernel_settings tuned profile] ************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Saturday 16 November 2024 03:27:27 -0500 (0:00:00.394) 0:00:42.000 ***** changed: [managed-node2] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Saturday 16 November 2024 03:27:28 -0500 (0:00:00.425) 0:00:42.425 ***** ok: [managed-node2] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Ensure kernel_settings is not in active_profile] ************************* task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Saturday 16 November 2024 03:27:28 -0500 (0:00:00.386) 0:00:42.812 ***** changed: [managed-node2] => { "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-1731745648.91-12199-15720677335094/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Saturday 16 November 2024 03:27:29 -0500 (0:00:00.673) 0:00:43.485 ***** changed: [managed-node2] => { "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-1731745649.57-12237-14479492184048/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Saturday 16 November 2024 03:27:30 -0500 (0:00:00.659) 0:00:44.144 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveEnterTimestampMonotonic": "250719434", "ActiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "ActiveExitTimestampMonotonic": "250512636", "ActiveState": "active", "After": "network.target dbus.service system.slice systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-16 03:26:59 EST", "AssertTimestampMonotonic": "250589859", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-16 03:26:59 EST", "ConditionTimestampMonotonic": "250589858", "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": "10038", "ExecMainStartTimestamp": "Sat 2024-11-16 03:26:59 EST", "ExecMainStartTimestampMonotonic": "250590574", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-16 03:26:59 EST] ; stop_time=[n/a] ; pid=10038 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveEnterTimestampMonotonic": "250585248", "InactiveExitTimestamp": "Sat 2024-11-16 03:26:59 EST", "InactiveExitTimestampMonotonic": "250590616", "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": "10038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target dbus.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-16 03:26:59 EST", "WatchdogTimestampMonotonic": "250719380", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=84 changed=12 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 Saturday 16 November 2024 03:27:30 -0500 (0:00:00.484) 0:00:44.628 ***** =============================================================================== fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.49s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Gathering Facts --------------------------------------------------------- 1.66s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:2 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 1.08s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 1.01s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.94s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.93s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.88s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.86s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.83s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.79s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Ensure python command exists for tests below ---------------------------- 0.76s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Put expected contents into temporary file ------------------------------- 0.74s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.73s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.72s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.71s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.71s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Diff expected vs actual content ----------------------------------------- 0.69s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:20 Ensure kernel_settings is not in active_profile ------------------------- 0.67s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Set profile_mode to auto ------------------------------------------------ 0.66s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Get active_profile file ------------------------------------------------- 0.61s /tmp/collections-1kZ/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:46