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-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:2 Monday 26 August 2024 15:39:11 -0400 (0:00:00.023) 0:00:00.023 ********* ok: [managed_node2] META: ran handlers TASK [Set platform independent vars used by this test] ************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:10 Monday 26 August 2024 15:39:12 -0400 (0:00:01.726) 0:00:01.750 ********* 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-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:14 Monday 26 August 2024 15:39:12 -0400 (0:00:00.070) 0:00:01.821 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings - call the role] ************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:25 Monday 26 August 2024 15:39:12 -0400 (0:00:00.085) 0:00:01.906 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:39:13 -0400 (0:00:00.417) 0:00:02.324 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:39:13 -0400 (0:00:00.146) 0:00:02.470 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:39:13 -0400 (0:00:00.089) 0:00:02.560 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:39:13 -0400 (0:00:00.124) 0:00:02.685 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:39:14 -0400 (0:00:00.545) 0:00:03.230 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:39:14 -0400 (0:00:00.077) 0:00:03.308 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:39:14 -0400 (0:00:00.580) 0:00:03.888 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:39:14 -0400 (0:00:00.065) 0:00:03.954 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:39:15 -0400 (0:00:00.078) 0:00:04.032 ********* 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:39:15 -0400 (0:00:00.847) 0:00:04.880 ********* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:39:15 -0400 (0:00:00.069) 0:00:04.949 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:39:16 -0400 (0:00:00.057) 0:00:05.007 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:39:16 -0400 (0:00:00.070) 0:00:05.078 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:39:16 -0400 (0:00:00.581) 0:00:05.660 ********* 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": 1724700892.3316288, "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:39:17 -0400 (0:00:00.817) 0:00:06.477 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:39:17 -0400 (0:00:00.054) 0:00:06.531 ********* ok: [managed_node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:34:52 EDT", "ActiveEnterTimestampMonotonic": "19661872", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:34:51 EDT", "AssertTimestampMonotonic": "18406685", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:34:51 EDT", "ConditionTimestampMonotonic": "18406683", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Mon 2024-08-26 15:34:51 EDT", "ExecMainStartTimestampMonotonic": "18408073", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:34:51 EDT] ; stop_time=[n/a] ; pid=850 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:34:51 EDT", "InactiveExitTimestampMonotonic": "18408112", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:34:52 EDT", "WatchdogTimestampMonotonic": "19661816", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:39:18 -0400 (0:00:00.949) 0:00:07.481 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:39:19 -0400 (0:00:00.667) 0:00:08.148 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:39:19 -0400 (0:00:00.532) 0:00:08.681 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:39:19 -0400 (0:00:00.061) 0:00:08.743 ********* 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-1724701159.86-10175-69982822385240/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:39:20 -0400 (0:00:00.914) 0:00:09.658 ********* 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-1724701160.79-10224-77111248339363/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:39:21 -0400 (0:00:00.784) 0:00:10.443 ********* ok: [managed_node2] => { "changed": false, "data": {} } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:39:21 -0400 (0:00:00.357) 0:00:10.801 ********* 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-1724701161.9-10294-115042776226882/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:39:22 -0400 (0:00:00.749) 0:00:11.550 ********* changed: [managed_node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:34:52 EDT", "ActiveEnterTimestampMonotonic": "19661872", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:34:51 EDT", "AssertTimestampMonotonic": "18406685", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:34:51 EDT", "ConditionTimestampMonotonic": "18406683", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Mon 2024-08-26 15:34:51 EDT", "ExecMainStartTimestampMonotonic": "18408073", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:34:51 EDT] ; stop_time=[n/a] ; pid=850 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:34:51 EDT", "InactiveExitTimestampMonotonic": "18408112", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:34:52 EDT", "WatchdogTimestampMonotonic": "19661816", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:39:23 -0400 (0:00:01.305) 0:00:12.856 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:39:23 -0400 (0:00:00.055) 0:00:12.911 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:39:24 -0400 (0:00:00.099) 0:00:13.011 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.184247", "end": "2024-08-26 15:39:24.877716", "rc": 0, "start": "2024-08-26 15:39:24.693469" } 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:39:24 -0400 (0:00:00.899) 0:00:13.910 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:39:25 -0400 (0:00:00.059) 0:00:13.970 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:39:25 -0400 (0:00:00.051) 0:00:14.021 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:39:25 -0400 (0:00:00.023) 0:00:14.045 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify that settings were applied correctly] ***************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:30 Monday 26 August 2024 15:39:25 -0400 (0:00:00.046) 0:00:14.091 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:2 Monday 26 August 2024 15:39:25 -0400 (0:00:00.042) 0:00:14.133 ********* 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-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:13 Monday 26 August 2024 15:39:25 -0400 (0:00:00.061) 0:00:14.195 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [Check tuned-adm verify] ************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:17 Monday 26 August 2024 15:39:25 -0400 (0:00:00.032) 0:00:14.227 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for verify errors] ************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:24 Monday 26 August 2024 15:39:25 -0400 (0:00:00.047) 0:00:14.275 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /proc/cmdline] ***************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:31 Monday 26 August 2024 15:39:25 -0400 (0:00:00.054) 0:00:14.330 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set error flag based on verify] ****************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:38 Monday 26 August 2024 15:39:25 -0400 (0:00:00.050) 0:00:14.380 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check config files] ****************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:45 Monday 26 August 2024 15:39:25 -0400 (0:00:00.051) 0:00:14.432 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:2 Monday 26 August 2024 15:39:25 -0400 (0:00:00.070) 0:00:14.502 ********* changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.EBJWgB.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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 Monday 26 August 2024 15:39:26 -0400 (0:00:00.549) 0:00:15.051 ********* changed: [managed_node2] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.EBJWgB.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-1724701166.19-10546-104321276068112/source", "state": "file", "uid": 0 } TASK [Ensure python command exists for tests below] **************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 Monday 26 August 2024 15:39:26 -0400 (0:00:00.757) 0:00:15.809 ********* 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" ] } TASK [Diff expected vs actual content] ***************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:20 Monday 26 August 2024 15:39:27 -0400 (0:00:00.632) 0:00:16.442 ********* 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.EBJWgB.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.016439", "end": "2024-08-26 15:39:27.873284", "rc": 0, "start": "2024-08-26 15:39:27.856845" } TASK [Verify expected content] ************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:33 Monday 26 August 2024 15:39:27 -0400 (0:00:00.462) 0:00:16.905 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show diff - may not reflect actual ConfigObj differences] **************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:38 Monday 26 August 2024 15:39:28 -0400 (0:00:00.063) 0:00:16.969 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get active_profile file] ************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:46 Monday 26 August 2024 15:39:28 -0400 (0:00:00.065) 0:00:17.034 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:53 Monday 26 August 2024 15:39:28 -0400 (0:00:00.357) 0:00:17.392 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile_mode file] *************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:60 Monday 26 August 2024 15:39:28 -0400 (0:00:00.062) 0:00:17.454 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:67 Monday 26 August 2024 15:39:28 -0400 (0:00:00.385) 0:00:17.840 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the bootloader specific config file] ********************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:74 Monday 26 August 2024 15:39:28 -0400 (0:00:00.053) 0:00:17.893 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify bootloader settings value] **************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:85 Monday 26 August 2024 15:39:28 -0400 (0:00:00.050) 0:00:17.943 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:49 Monday 26 August 2024 15:39:29 -0400 (0:00:00.054) 0:00:17.998 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success] ********************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml:56 Monday 26 August 2024 15:39:29 -0400 (0:00:00.048) 0:00:18.046 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Check ansible_managed, fingerprint in generated files] ******************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:35 Monday 26 August 2024 15:39:29 -0400 (0:00:00.047) 0:00:18.094 ********* included: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml for managed_node2 TASK [Get file] **************************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml:3 Monday 26 August 2024 15:39:29 -0400 (0:00:00.044) 0:00:18.139 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml:9 Monday 26 August 2024 15:39:29 -0400 (0:00:00.413) 0:00:18.552 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:41 Monday 26 August 2024 15:39:29 -0400 (0:00:00.108) 0:00:18.661 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:47 Monday 26 August 2024 15:39:29 -0400 (0:00:00.067) 0:00:18.728 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly after reboot] **************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:54 Monday 26 August 2024 15:39:29 -0400 (0:00:00.099) 0:00:18.828 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings again to check idempotency] *************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:63 Monday 26 August 2024 15:39:29 -0400 (0:00:00.053) 0:00:18.882 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:39:29 -0400 (0:00:00.068) 0:00:18.950 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:39:30 -0400 (0:00:00.079) 0:00:19.029 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:39:30 -0400 (0:00:00.057) 0:00:19.087 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:39:30 -0400 (0:00:00.192) 0:00:19.280 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:39:30 -0400 (0:00:00.139) 0:00:19.419 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:39:30 -0400 (0:00:00.065) 0:00:19.485 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:39:30 -0400 (0:00:00.076) 0:00:19.562 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:39:30 -0400 (0:00:00.064) 0:00:19.627 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:39:30 -0400 (0:00:00.084) 0:00:19.711 ********* 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:39:31 -0400 (0:00:00.610) 0:00:20.321 ********* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:39:31 -0400 (0:00:00.071) 0:00:20.393 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:39:31 -0400 (0:00:00.069) 0:00:20.462 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:39:31 -0400 (0:00:00.053) 0:00:20.516 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:39:32 -0400 (0:00:00.484) 0:00:21.000 ********* 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": 1724701163.7954285, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701161.401413, "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": 1724701161.401413, "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:39:32 -0400 (0:00:00.711) 0:00:21.712 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:39:32 -0400 (0:00:00.066) 0:00:21.779 ********* ok: [managed_node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ActiveEnterTimestampMonotonic": "291114861", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:22 EDT", "ActiveExitTimestampMonotonic": "290262622", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:23 EDT", "AssertTimestampMonotonic": "290989635", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ConditionTimestampMonotonic": "290989633", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9956", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ExecMainStartTimestampMonotonic": "290990211", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:23 EDT] ; stop_time=[n/a] ; pid=9956 ; 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": "Mon 2024-08-26 15:39:23 EDT", "InactiveEnterTimestampMonotonic": "290986160", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:23 EDT", "InactiveExitTimestampMonotonic": "290990247", "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": "9956", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:23 EDT", "WatchdogTimestampMonotonic": "291114811", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:39:33 -0400 (0:00:00.456) 0:00:22.236 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:39:33 -0400 (0:00:00.317) 0:00:22.553 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:39:33 -0400 (0:00:00.392) 0:00:22.946 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:39:34 -0400 (0:00:00.058) 0:00:23.004 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:39:34 -0400 (0:00:00.682) 0:00:23.687 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:39:35 -0400 (0:00:00.732) 0:00:24.419 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:39:35 -0400 (0:00:00.350) 0:00:24.770 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:39:36 -0400 (0:00:00.598) 0:00:25.369 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:39:36 -0400 (0:00:00.057) 0:00:25.426 ********* skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:39:36 -0400 (0:00:00.052) 0:00:25.479 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:39:36 -0400 (0:00:00.044) 0:00:25.524 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:39:36 -0400 (0:00:00.022) 0:00:25.546 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_changed": false }, "changed": false } TASK [Ensure role reported not changed] **************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:67 Monday 26 August 2024 15:39:36 -0400 (0:00:00.048) 0:00:25.594 ********* ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_simple_settings.yml:72 Monday 26 August 2024 15:39:36 -0400 (0:00:00.064) 0:00:25.658 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Monday 26 August 2024 15:39:36 -0400 (0:00:00.080) 0:00:25.739 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002702", "end": "2024-08-26 15:39:37.087363", "rc": 0, "start": "2024-08-26 15:39:37.084661" } 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Monday 26 August 2024 15:39:37 -0400 (0:00:00.404) 0:00:26.144 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:39:37 -0400 (0:00:00.072) 0:00:26.216 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:39:37 -0400 (0:00:00.060) 0:00:26.276 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:39:37 -0400 (0:00:00.043) 0:00:26.320 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:39:37 -0400 (0:00:00.046) 0:00:26.367 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:39:37 -0400 (0:00:00.044) 0:00:26.412 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:39:37 -0400 (0:00:00.054) 0:00:26.466 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:39:37 -0400 (0:00:00.059) 0:00:26.526 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:39:37 -0400 (0:00:00.065) 0:00:26.592 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:39:37 -0400 (0:00:00.088) 0:00:26.680 ********* 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" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:39:38 -0400 (0:00:00.657) 0:00:27.338 ********* skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:39:38 -0400 (0:00:00.064) 0:00:27.403 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:39:38 -0400 (0:00:00.089) 0:00:27.492 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:39:38 -0400 (0:00:00.094) 0:00:27.587 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:39:39 -0400 (0:00:00.593) 0:00:28.180 ********* 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": 1724701163.7954285, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701161.401413, "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": 1724701161.401413, "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:39:40 -0400 (0:00:01.078) 0:00:29.258 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:39:40 -0400 (0:00:00.052) 0:00:29.311 ********* ok: [managed_node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ActiveEnterTimestampMonotonic": "291114861", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:22 EDT", "ActiveExitTimestampMonotonic": "290262622", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:23 EDT", "AssertTimestampMonotonic": "290989635", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ConditionTimestampMonotonic": "290989633", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9956", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ExecMainStartTimestampMonotonic": "290990211", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:23 EDT] ; stop_time=[n/a] ; pid=9956 ; 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": "Mon 2024-08-26 15:39:23 EDT", "InactiveEnterTimestampMonotonic": "290986160", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:23 EDT", "InactiveExitTimestampMonotonic": "290990247", "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": "9956", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:23 EDT", "WatchdogTimestampMonotonic": "291114811", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:39:40 -0400 (0:00:00.470) 0:00:29.781 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:39:41 -0400 (0:00:00.393) 0:00:30.174 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:39:41 -0400 (0:00:00.612) 0:00:30.787 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:39:41 -0400 (0:00:00.132) 0:00:30.920 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:39:42 -0400 (0:00:00.780) 0:00:31.700 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:39:43 -0400 (0:00:00.692) 0:00:32.393 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:39:43 -0400 (0:00:00.425) 0:00:32.818 ********* 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-1724701183.94-11711-125069857090035/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:39:44 -0400 (0:00:00.791) 0:00:33.610 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:39:44 -0400 (0:00:00.062) 0:00:33.673 ********* changed: [managed_node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.819590", "end": "2024-08-26 15:39:46.866248", "rc": 0, "start": "2024-08-26 15:39:45.046658" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:39:46 -0400 (0:00:02.246) 0:00:35.919 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:39:47 -0400 (0:00:00.100) 0:00:36.019 ********* ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.085428", "end": "2024-08-26 15:39:47.504483", "rc": 0, "start": "2024-08-26 15:39:47.419055" } 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:39:47 -0400 (0:00:00.505) 0:00:36.525 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:39:47 -0400 (0:00:00.044) 0:00:36.570 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:39:47 -0400 (0:00:00.056) 0:00:36.627 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:39:47 -0400 (0:00:00.063) 0:00:36.690 ********* ok: [managed_node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Monday 26 August 2024 15:39:47 -0400 (0:00:00.066) 0:00:36.757 ********* 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.007365", "end": "2024-08-26 15:39:48.247069", "rc": 0, "start": "2024-08-26 15:39:48.239704" } 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Monday 26 August 2024 15:39:48 -0400 (0:00:00.502) 0:00:37.260 ********* changed: [managed_node2] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Monday 26 August 2024 15:39:48 -0400 (0:00:00.439) 0:00:37.699 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Monday 26 August 2024 15:39:49 -0400 (0:00:00.465) 0:00:38.165 ********* 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-1724701189.31-11997-90170845146153/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Monday 26 August 2024 15:39:49 -0400 (0:00:00.764) 0:00:38.930 ********* 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-1724701190.03-12051-102983021849664/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Monday 26 August 2024 15:39:50 -0400 (0:00:00.671) 0:00:39.601 ********* ok: [managed_node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ActiveEnterTimestampMonotonic": "291114861", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:22 EDT", "ActiveExitTimestampMonotonic": "290262622", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:23 EDT", "AssertTimestampMonotonic": "290989635", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ConditionTimestampMonotonic": "290989633", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9956", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:23 EDT", "ExecMainStartTimestampMonotonic": "290990211", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:23 EDT] ; stop_time=[n/a] ; pid=9956 ; 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": "Mon 2024-08-26 15:39:23 EDT", "InactiveEnterTimestampMonotonic": "290986160", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:23 EDT", "InactiveExitTimestampMonotonic": "290990247", "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": "9956", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:23 EDT", "WatchdogTimestampMonotonic": "291114811", "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 Monday 26 August 2024 15:39:51 -0400 (0:00:00.510) 0:00:40.112 ********* =============================================================================== fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.25s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Gathering Facts --------------------------------------------------------- 1.73s /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.90s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.79s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.78s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Ensure kernel_settings is not in active_profile ------------------------- 0.76s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Put expected contents into temporary file ------------------------------- 0.76s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:8 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.73s /tmp/collections-Wph/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.71s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.69s /tmp/collections-Wph/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.68s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Set profile_mode to auto ------------------------------------------------ 0.67s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.66s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Ensure python command exists for tests below ---------------------------- 0.63s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml:14 fedora.linux_system_roles.kernel_settings : Get active_profile ---------- 0.61s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.61s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.60s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Read tuned main config ------ 0.59s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin --- 0.58s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22