ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Tuesday 24 September 2024 14:23:28 -0400 (0:00:00.029) 0:00:00.029 ***** ok: [managed-node2] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Tuesday 24 September 2024 14:23:30 -0400 (0:00:01.305) 0:00:01.334 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Tuesday 24 September 2024 14:23:30 -0400 (0:00:00.536) 0:00:01.871 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Tuesday 24 September 2024 14:23:30 -0400 (0:00:00.054) 0:00:01.926 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Tuesday 24 September 2024 14:23:36 -0400 (0:00:05.500) 0:00:07.427 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Tuesday 24 September 2024 14:23:36 -0400 (0:00:00.344) 0:00:07.771 ***** ok: [managed-node2] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Tuesday 24 September 2024 14:23:36 -0400 (0:00:00.035) 0:00:07.807 ***** 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": 6, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Tuesday 24 September 2024 14:23:37 -0400 (0:00:00.523) 0:00:08.331 ***** changed: [managed-node2] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1727202217.3031256-8267-255579865534966/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Tuesday 24 September 2024 14:23:38 -0400 (0:00:00.856) 0:00:09.187 ***** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:19:51 EDT", "ActiveEnterTimestampMonotonic": "23154463", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket sysinit.target basic.target dbus.socket dbus.service system.slice network.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:19:50 EDT", "AssertTimestampMonotonic": "22081279", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:19:50 EDT", "ConditionTimestampMonotonic": "22081277", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "665", "ExecMainStartTimestamp": "Tue 2024-09-24 14:19:50 EDT", "ExecMainStartTimestampMonotonic": "22082082", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:19:50 EDT] ; stop_time=[n/a] ; pid=665 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:19:50 EDT", "InactiveExitTimestampMonotonic": "22082119", "InvocationID": "32b516ce3432407983b63b0371658fa1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "665", "MemoryAccounting": "yes", "MemoryCurrent": "18649088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket dbus.service sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:19:51 EDT", "StateChangeTimestampMonotonic": "23154463", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:19:51 EDT", "WatchdogTimestampMonotonic": "23154459", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Tuesday 24 September 2024 14:23:39 -0400 (0:00:01.251) 0:00:10.438 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.107) 0:00:10.545 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.058) 0:00:10.604 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.030) 0:00:10.635 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.049) 0:00:10.684 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.060) 0:00:10.745 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:23:39 -0400 (0:00:00.041) 0:00:10.786 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:23:40 -0400 (0:00:00.373) 0:00:11.160 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:23:40 -0400 (0:00:00.044) 0:00:11.205 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:23:40 -0400 (0:00:00.045) 0:00:11.250 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:23:43 -0400 (0:00:02.853) 0:00:14.104 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:23:43 -0400 (0:00:00.051) 0:00:14.156 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:23:43 -0400 (0:00:00.059) 0:00:14.215 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:23:43 -0400 (0:00:00.050) 0:00:14.266 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:23:43 -0400 (0:00:00.496) 0:00:14.762 ***** 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": 1727202219.138805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202217.163792, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202217.163792, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:23:44 -0400 (0:00:00.736) 0:00:15.499 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:23:44 -0400 (0:00:00.043) 0:00:15.542 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:23:39 EDT", "ActiveEnterTimestampMonotonic": "251196482", "ActiveExitTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ActiveExitTimestampMonotonic": "250807111", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket sysinit.target basic.target dbus.socket dbus.service system.slice network.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:23:38 EDT", "AssertTimestampMonotonic": "250945118", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ConditionTimestampMonotonic": "250945117", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8544", "ExecMainStartTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ExecMainStartTimestampMonotonic": "250946584", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:23:38 EDT] ; stop_time=[n/a] ; pid=8544 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:23:38 EDT", "InactiveEnterTimestampMonotonic": "250943928", "InactiveExitTimestamp": "Tue 2024-09-24 14:23:38 EDT", "InactiveExitTimestampMonotonic": "250946761", "InvocationID": "d26b9f8ebe6246d49dc10fb4c64c05f4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8544", "MemoryAccounting": "yes", "MemoryCurrent": "15024128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket dbus.service sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:23:39 EDT", "StateChangeTimestampMonotonic": "251196482", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:23:39 EDT", "WatchdogTimestampMonotonic": "251196479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:23:44 -0400 (0:00:00.506) 0:00:16.049 ***** 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": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:23:45 -0400 (0:00:00.441) 0:00:16.491 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:23:45 -0400 (0:00:00.509) 0:00:17.001 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:23:45 -0400 (0:00:00.046) 0:00:17.047 ***** 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-1727202226.019122-8755-159014448368735/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:23:46 -0400 (0:00:00.747) 0:00:17.794 ***** 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-1727202226.756732-8836-55060831766849/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:23:47 -0400 (0:00:00.865) 0:00:18.660 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724", "kernel.threads-max": "29968", "vm.max_map_count": "65530" }, "sysfs": { "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:23:47 -0400 (0:00:00.404) 0:00:19.064 ***** changed: [managed-node2] => { "changed": true, "checksum": "3feaf86b2638623e3300792e683ce55f91f31e9a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "ba6aeb244f15eac2bcf15c0dd41fdff5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1727202228.0366395-8979-146728855661733/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:23:48 -0400 (0:00:00.899) 0:00:19.964 ***** changed: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:23:39 EDT", "ActiveEnterTimestampMonotonic": "251196482", "ActiveExitTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ActiveExitTimestampMonotonic": "250807111", "ActiveState": "active", "After": "systemd-sysctl.service systemd-journald.socket sysinit.target basic.target dbus.socket dbus.service system.slice network.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:23:38 EDT", "AssertTimestampMonotonic": "250945118", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ConditionTimestampMonotonic": "250945117", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service auto-cpufreq.service power-profiles-daemon.service cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8544", "ExecMainStartTimestamp": "Tue 2024-09-24 14:23:38 EDT", "ExecMainStartTimestampMonotonic": "250946584", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:23:38 EDT] ; stop_time=[n/a] ; pid=8544 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:23:38 EDT", "InactiveEnterTimestampMonotonic": "250943928", "InactiveExitTimestamp": "Tue 2024-09-24 14:23:38 EDT", "InactiveExitTimestampMonotonic": "250946761", "InvocationID": "d26b9f8ebe6246d49dc10fb4c64c05f4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8544", "MemoryAccounting": "yes", "MemoryCurrent": "15032320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket dbus.service sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:23:39 EDT", "StateChangeTimestampMonotonic": "251196482", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:23:39 EDT", "WatchdogTimestampMonotonic": "251196479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:23:49 -0400 (0:00:01.001) 0:00:20.966 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:23:49 -0400 (0:00:00.053) 0:00:21.019 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:23:49 -0400 (0:00:00.064) 0:00:21.083 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.132446", "end": "2024-09-24 14:23:50.596738", "rc": 0, "start": "2024-09-24 14:23:50.464292" } STDOUT: Verification 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.667) 0:00:21.751 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.061) 0:00:21.812 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.049) 0:00:21.861 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.019) 0:00:21.881 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.055) 0:00:21.937 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.040) 0:00:21.978 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.037) 0:00:22.016 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:01.004384", "end": "2024-09-24 14:23:52.224023", "rc": 0, "start": "2024-09-24 14:23:51.219639" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Tuesday 24 September 2024 14:23:52 -0400 (0:00:01.357) 0:00:23.373 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.008340", "end": "2024-09-24 14:23:52.575136", "rc": 0, "start": "2024-09-24 14:23:52.566796" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Tuesday 24 September 2024 14:23:52 -0400 (0:00:00.350) 0:00:23.723 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005708", "end": "2024-09-24 14:23:52.937407", "rc": 0, "start": "2024-09-24 14:23:52.931699" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Tuesday 24 September 2024 14:23:52 -0400 (0:00:00.368) 0:00:24.092 ***** changed: [managed-node2] => { "changed": true, "elapsed": 25, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Tuesday 24 September 2024 14:24:19 -0400 (0:00:26.794) 0:00:50.886 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.011643", "end": "2024-09-24 14:24:19.583855", "rc": 0, "start": "2024-09-24 14:24:19.572212" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Tuesday 24 September 2024 14:24:20 -0400 (0:00:00.384) 0:00:51.271 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003468", "end": "2024-09-24 14:24:19.988891", "rc": 0, "start": "2024-09-24 14:24:19.985423" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Tuesday 24 September 2024 14:24:20 -0400 (0:00:00.379) 0:00:51.650 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005938", "end": "2024-09-24 14:24:20.406148", "rc": 0, "start": "2024-09-24 14:24:20.400210" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Tuesday 24 September 2024 14:24:20 -0400 (0:00:00.376) 0:00:52.027 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.123165", "end": "2024-09-24 14:24:20.923046", "rc": 0, "start": "2024-09-24 14:24:20.799881" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [Apply role again and remove settings] ************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.487) 0:00:52.514 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.086) 0:00:52.601 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.054) 0:00:52.656 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.032) 0:00:52.688 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.052) 0:00:52.741 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.050) 0:00:52.792 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.043) 0:00:52.836 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.036) 0:00:52.873 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.038) 0:00:52.911 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:24:21 -0400 (0:00:00.046) 0:00:52.958 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:24:26 -0400 (0:00:05.026) 0:00:57.984 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:24:26 -0400 (0:00:00.033) 0:00:58.018 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:24:26 -0400 (0:00:00.033) 0:00:58.051 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:24:26 -0400 (0:00:00.035) 0:00:58.087 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:24:27 -0400 (0:00:00.389) 0:00:58.477 ***** 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": 1727202229.7418754, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202227.4638603, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202227.4638603, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:24:28 -0400 (0:00:00.728) 0:00:59.205 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:24:28 -0400 (0:00:00.043) 0:00:59.249 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:12 EDT", "ActiveEnterTimestampMonotonic": "7748213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service dbus.socket systemd-sysctl.service systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:11 EDT", "AssertTimestampMonotonic": "6976211", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ConditionTimestampMonotonic": "6976210", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ExecMainStartTimestampMonotonic": "6977909", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:11 EDT] ; stop_time=[n/a] ; pid=660 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:11 EDT", "InactiveExitTimestampMonotonic": "6977949", "InvocationID": "f092b1187dac4de7a2c4ebd4f84c2860", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "18423808", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:24:12 EDT", "StateChangeTimestampMonotonic": "7748213", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:24:12 EDT", "WatchdogTimestampMonotonic": "7748210", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:24:28 -0400 (0:00:00.520) 0:00:59.770 ***** 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": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:24:29 -0400 (0:00:00.400) 0:01:00.170 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:24:29 -0400 (0:00:00.385) 0:01:00.556 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:24:29 -0400 (0:00:00.041) 0:01:00.597 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:24:30 -0400 (0:00:00.660) 0:01:01.257 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:24:30 -0400 (0:00:00.680) 0:01:01.938 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:24:31 -0400 (0:00:00.396) 0:01:02.334 ***** changed: [managed-node2] => { "changed": true, "checksum": "221aa34fef95c2fe05408be9921820449785a5b2", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "9c36ebcc135366fa59ab6f2f2da76a73", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 351, "src": "/root/.ansible/tmp/ansible-tmp-1727202271.3052096-10997-135418613321527/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:24:32 -0400 (0:00:00.802) 0:01:03.137 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:24:32 -0400 (0:00:00.042) 0:01:03.180 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.163581", "end": "2024-09-24 14:24:33.570110", "rc": 0, "start": "2024-09-24 14:24:32.406529" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:24:33 -0400 (0:00:01.536) 0:01:04.716 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:24:33 -0400 (0:00:00.043) 0:01:04.760 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107420", "end": "2024-09-24 14:24:34.116953", "rc": 0, "start": "2024-09-24 14:24:34.009533" } STDOUT: Verification 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.503) 0:01:05.263 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.034) 0:01:05.298 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.033) 0:01:05.331 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.013) 0:01:05.345 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.035) 0:01:05.380 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.035) 0:01:05.416 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.034) 0:01:05.450 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005799", "end": "2024-09-24 14:24:34.655901", "rc": 0, "start": "2024-09-24 14:24:34.650102" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.351) 0:01:05.801 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.056) 0:01:05.858 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.038) 0:01:05.896 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.020) 0:01:05.917 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.035) 0:01:05.952 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.033) 0:01:05.986 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.037) 0:01:06.024 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:24:34 -0400 (0:00:00.045) 0:01:06.069 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:24:35 -0400 (0:00:00.048) 0:01:06.117 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:24:35 -0400 (0:00:00.061) 0:01:06.179 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:24:37 -0400 (0:00:02.826) 0:01:09.005 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:24:37 -0400 (0:00:00.033) 0:01:09.039 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:24:37 -0400 (0:00:00.049) 0:01:09.088 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:24:38 -0400 (0:00:00.037) 0:01:09.125 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:24:38 -0400 (0:00:00.379) 0:01:09.505 ***** 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": 1727202229.7418754, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202227.4638603, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202227.4638603, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:24:39 -0400 (0:00:00.730) 0:01:10.236 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:24:39 -0400 (0:00:00.037) 0:01:10.273 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:12 EDT", "ActiveEnterTimestampMonotonic": "7748213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service dbus.socket systemd-sysctl.service systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:11 EDT", "AssertTimestampMonotonic": "6976211", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ConditionTimestampMonotonic": "6976210", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ExecMainStartTimestampMonotonic": "6977909", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:11 EDT] ; stop_time=[n/a] ; pid=660 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:11 EDT", "InactiveExitTimestampMonotonic": "6977949", "InvocationID": "f092b1187dac4de7a2c4ebd4f84c2860", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "18849792", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:24:12 EDT", "StateChangeTimestampMonotonic": "7748213", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:24:12 EDT", "WatchdogTimestampMonotonic": "7748210", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:24:39 -0400 (0:00:00.498) 0:01:10.772 ***** 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": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:24:40 -0400 (0:00:00.372) 0:01:11.144 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:24:40 -0400 (0:00:00.387) 0:01:11.532 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:24:40 -0400 (0:00:00.035) 0:01:11.568 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:24:41 -0400 (0:00:00.628) 0:01:12.197 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:24:41 -0400 (0:00:00.641) 0:01:12.839 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:24:42 -0400 (0:00:00.399) 0:01:13.238 ***** changed: [managed-node2] => { "changed": true, "checksum": "3107bf46f5c007ef178305bb243dd11664f9bf35", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "1fd7f2202613b516022cf613601e26bd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1727202282.200998-11377-3355717086526/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:24:42 -0400 (0:00:00.767) 0:01:14.005 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:24:42 -0400 (0:00:00.045) 0:01:14.051 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.182932", "end": "2024-09-24 14:24:44.480391", "rc": 0, "start": "2024-09-24 14:24:43.297459" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:24:44 -0400 (0:00:01.576) 0:01:15.627 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:24:44 -0400 (0:00:00.043) 0:01:15.670 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107011", "end": "2024-09-24 14:24:44.984070", "rc": 0, "start": "2024-09-24 14:24:44.877059" } STDOUT: Verification 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.464) 0:01:16.134 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.048) 0:01:16.182 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.039) 0:01:16.222 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.016) 0:01:16.239 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.040) 0:01:16.279 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.041) 0:01:16.321 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.040) 0:01:16.361 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005615", "end": "2024-09-24 14:24:45.563412", "rc": 0, "start": "2024-09-24 14:24:45.557797" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Tuesday 24 September 2024 14:24:45 -0400 (0:00:00.357) 0:01:16.718 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:01.004169", "end": "2024-09-24 14:24:46.948841", "rc": 0, "start": "2024-09-24 14:24:45.944672" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Tuesday 24 September 2024 14:24:46 -0400 (0:00:01.377) 0:01:18.096 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.084) 0:01:18.180 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.032) 0:01:18.213 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.019) 0:01:18.232 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.032) 0:01:18.265 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.031) 0:01:18.297 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.033) 0:01:18.331 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.034) 0:01:18.365 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.033) 0:01:18.399 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:24:47 -0400 (0:00:00.041) 0:01:18.440 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:24:50 -0400 (0:00:02.817) 0:01:21.257 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:24:50 -0400 (0:00:00.033) 0:01:21.291 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:24:50 -0400 (0:00:00.033) 0:01:21.324 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:24:50 -0400 (0:00:00.032) 0:01:21.356 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:24:50 -0400 (0:00:00.366) 0:01:21.723 ***** 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": 1727202229.7418754, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202227.4638603, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202227.4638603, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:24:51 -0400 (0:00:00.713) 0:01:22.436 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:24:51 -0400 (0:00:00.035) 0:01:22.472 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:12 EDT", "ActiveEnterTimestampMonotonic": "7748213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service dbus.socket systemd-sysctl.service systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:11 EDT", "AssertTimestampMonotonic": "6976211", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ConditionTimestampMonotonic": "6976210", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ExecMainStartTimestampMonotonic": "6977909", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:11 EDT] ; stop_time=[n/a] ; pid=660 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:11 EDT", "InactiveExitTimestampMonotonic": "6977949", "InvocationID": "f092b1187dac4de7a2c4ebd4f84c2860", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "18915328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:24:12 EDT", "StateChangeTimestampMonotonic": "7748213", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:24:12 EDT", "WatchdogTimestampMonotonic": "7748210", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:24:51 -0400 (0:00:00.507) 0:01:22.980 ***** 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": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:24:52 -0400 (0:00:00.383) 0:01:23.363 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:24:52 -0400 (0:00:00.370) 0:01:23.733 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:24:52 -0400 (0:00:00.035) 0:01:23.769 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:24:53 -0400 (0:00:00.625) 0:01:24.394 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:24:53 -0400 (0:00:00.623) 0:01:25.018 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:24:54 -0400 (0:00:00.365) 0:01:25.383 ***** changed: [managed-node2] => { "changed": true, "checksum": "0b586509c0bdce12a2dde058e3374dab88cf7f2c", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "394928e588644c456053f3dec5f7c2ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1727202294.3460927-11813-231002423214260/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:24:55 -0400 (0:00:00.724) 0:01:26.107 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:24:55 -0400 (0:00:00.036) 0:01:26.143 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.160563", "end": "2024-09-24 14:24:56.524398", "rc": 0, "start": "2024-09-24 14:24:55.363835" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:24:56 -0400 (0:00:01.526) 0:01:27.670 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:24:56 -0400 (0:00:00.042) 0:01:27.712 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.106348", "end": "2024-09-24 14:24:57.016601", "rc": 0, "start": "2024-09-24 14:24:56.910253" } STDOUT: Verification 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.448) 0:01:28.161 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.033) 0:01:28.194 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.032) 0:01:28.226 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.013) 0:01:28.239 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.034) 0:01:28.273 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.033) 0:01:28.306 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.032) 0:01:28.339 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005616", "end": "2024-09-24 14:24:57.539415", "rc": 0, "start": "2024-09-24 14:24:57.533799" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.344) 0:01:28.684 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002864", "end": "2024-09-24 14:24:57.881781", "rc": 0, "start": "2024-09-24 14:24:57.878917" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.341) 0:01:29.026 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Tuesday 24 September 2024 14:24:57 -0400 (0:00:00.039) 0:01:29.065 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002582", "end": "2024-09-24 14:24:58.289880", "rc": 0, "start": "2024-09-24 14:24:58.287298" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [vm] transparent_hugepages = never TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.369) 0:01:29.434 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.033) 0:01:29.468 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.036) 0:01:29.504 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.020) 0:01:29.525 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.034) 0:01:29.559 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.033) 0:01:29.592 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.032) 0:01:29.625 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.031) 0:01:29.657 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.032) 0:01:29.689 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:24:58 -0400 (0:00:00.040) 0:01:29.730 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:25:01 -0400 (0:00:02.841) 0:01:32.571 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:25:01 -0400 (0:00:00.033) 0:01:32.605 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:25:01 -0400 (0:00:00.032) 0:01:32.637 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:25:01 -0400 (0:00:00.032) 0:01:32.670 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:25:01 -0400 (0:00:00.374) 0:01:33.045 ***** 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": 1727202229.7418754, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202227.4638603, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202227.4638603, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:25:02 -0400 (0:00:00.753) 0:01:33.799 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:25:02 -0400 (0:00:00.036) 0:01:33.835 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:12 EDT", "ActiveEnterTimestampMonotonic": "7748213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service dbus.socket systemd-sysctl.service systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:11 EDT", "AssertTimestampMonotonic": "6976211", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ConditionTimestampMonotonic": "6976210", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ExecMainStartTimestampMonotonic": "6977909", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:11 EDT] ; stop_time=[n/a] ; pid=660 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:11 EDT", "InactiveExitTimestampMonotonic": "6977949", "InvocationID": "f092b1187dac4de7a2c4ebd4f84c2860", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "18968576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:24:12 EDT", "StateChangeTimestampMonotonic": "7748213", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:24:12 EDT", "WatchdogTimestampMonotonic": "7748210", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:25:03 -0400 (0:00:00.528) 0:01:34.364 ***** 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": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:25:03 -0400 (0:00:00.370) 0:01:34.734 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:25:04 -0400 (0:00:00.364) 0:01:35.099 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:25:04 -0400 (0:00:00.035) 0:01:35.134 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:25:04 -0400 (0:00:00.626) 0:01:35.760 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:25:05 -0400 (0:00:00.622) 0:01:36.383 ***** ok: [managed-node2] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "vm": { "transparent_hugepages": "never" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:25:05 -0400 (0:00:00.371) 0:01:36.754 ***** 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-1727202305.7175078-12049-151116741005396/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:25:06 -0400 (0:00:00.733) 0:01:37.488 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:25:06 -0400 (0:00:00.037) 0:01:37.526 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.176079", "end": "2024-09-24 14:25:07.929862", "rc": 0, "start": "2024-09-24 14:25:06.753783" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:25:07 -0400 (0:00:01.549) 0:01:39.075 ***** included: /tmp/collections-RkM/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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.043) 0:01:39.119 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.109204", "end": "2024-09-24 14:25:08.427359", "rc": 0, "start": "2024-09-24 14:25:08.318155" } STDOUT: Verification 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.454) 0:01:39.574 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.033) 0:01:39.607 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.033) 0:01:39.641 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.013) 0:01:39.654 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.035) 0:01:39.690 ***** 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.006978", "end": "2024-09-24 14:25:08.920266", "rc": 0, "start": "2024-09-24 14:25:08.913288" } 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-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Tuesday 24 September 2024 14:25:08 -0400 (0:00:00.380) 0:01:40.071 ***** changed: [managed-node2] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Tuesday 24 September 2024 14:25:09 -0400 (0:00:00.367) 0:01:40.438 ***** 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-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Tuesday 24 September 2024 14:25:09 -0400 (0:00:00.356) 0:01:40.794 ***** 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-1727202309.7578194-12134-89220499073644/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Tuesday 24 September 2024 14:25:10 -0400 (0:00:00.683) 0:01:41.478 ***** 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-1727202310.4399862-12153-88712458353051/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Tuesday 24 September 2024 14:25:11 -0400 (0:00:00.692) 0:01:42.171 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:12 EDT", "ActiveEnterTimestampMonotonic": "7748213", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service dbus.service dbus.socket systemd-sysctl.service systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:11 EDT", "AssertTimestampMonotonic": "6976211", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ConditionTimestampMonotonic": "6976210", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target auto-cpufreq.service power-profiles-daemon.service cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "660", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:11 EDT", "ExecMainStartTimestampMonotonic": "6977909", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:11 EDT] ; stop_time=[n/a] ; pid=660 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:11 EDT", "InactiveExitTimestampMonotonic": "6977949", "InvocationID": "f092b1187dac4de7a2c4ebd4f84c2860", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "660", "MemoryAccounting": "yes", "MemoryCurrent": "19005440", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2024-09-24 14:24:12 EDT", "StateChangeTimestampMonotonic": "7748213", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-09-24 14:24:12 EDT", "WatchdogTimestampMonotonic": "7748210", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=135 changed=19 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Tuesday 24 September 2024 14:25:11 -0400 (0:00:00.503) 0:01:42.674 ***** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 26.79s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Ensure required packages are installed ---------------------------------- 5.50s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 5.03s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.85s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.84s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.83s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.82s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.58s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.55s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.54s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.53s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Check sysfs after role runs --------------------------------------------- 1.38s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Check sysfs after role runs --------------------------------------------- 1.36s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Gathering Facts --------------------------------------------------------- 1.31s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required services are enabled and started ------------------------ 1.25s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 1.00s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.90s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.87s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Generate a configuration for kernel settings ---------------------------- 0.86s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.80s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112