ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-sDC executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Saturday 02 November 2024 04:25:43 -0400 (0:00:00.009) 0:00:00.009 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Saturday 02 November 2024 04:25:44 -0400 (0:00:01.329) 0:00:01.338 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Saturday 02 November 2024 04:25:45 -0400 (0:00:00.465) 0:00:01.803 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Saturday 02 November 2024 04:25:45 -0400 (0:00:00.031) 0:00:01.835 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: procps-ng tuned TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Saturday 02 November 2024 04:26:00 -0400 (0:00:14.657) 0:00:16.493 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Saturday 02 November 2024 04:26:00 -0400 (0:00:00.324) 0:00:16.817 ***** ok: [managed-node2] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Saturday 02 November 2024 04:26:00 -0400 (0:00:00.026) 0:00:16.844 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Saturday 02 November 2024 04:26:00 -0400 (0:00:00.510) 0:00:17.354 ***** 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-1730535961.01644-8110-38595283637737/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Saturday 02 November 2024 04:26:01 -0400 (0:00:00.827) 0:00:18.181 ***** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:21:57 EDT", "ActiveEnterTimestampMonotonic": "10837305", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service systemd-journald.socket basic.target sysinit.target dbus.service network.target systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:21:56 EDT", "AssertTimestampMonotonic": "9293994", "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": "Sat 2024-11-02 04:21:56 EDT", "ConditionTimestampMonotonic": "9293993", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service cpupower.service shutdown.target power-profiles-daemon.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": "666", "ExecMainStartTimestamp": "Sat 2024-11-02 04:21:56 EDT", "ExecMainStartTimestampMonotonic": "9296037", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:21:56 EDT] ; stop_time=[n/a] ; pid=666 ; 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": "Sat 2024-11-02 04:21:56 EDT", "InactiveExitTimestampMonotonic": "9296076", "InvocationID": "58333cf525fb4e4092b2a3dd874f5fde", "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": "666", "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": "sysinit.target system.slice dbus.socket 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": "Sat 2024-11-02 04:21:57 EDT", "StateChangeTimestampMonotonic": "10837305", "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": "Sat 2024-11-02 04:21:57 EDT", "WatchdogTimestampMonotonic": "10837302", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Saturday 02 November 2024 04:26:02 -0400 (0:00:01.163) 0:00:19.344 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.049) 0:00:19.393 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.041) 0:00:19.435 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.021) 0:00:19.456 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.036) 0:00:19.493 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.017) 0:00:19.511 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.018) 0:00:19.530 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.344) 0:00:19.874 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.032) 0:00:19.906 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.057) 0:00:19.964 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:06 -0400 (0:00:02.925) 0:00:22.889 ***** skipping: [managed-node2] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:06 -0400 (0:00:00.080) 0:00:22.969 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:06 -0400 (0:00:00.057) 0:00:23.027 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:06 -0400 (0:00:00.057) 0:00:23.084 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:07 -0400 (0:00:00.457) 0:00:23.542 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item | length > 0", "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": 1730535962.866072, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1730535960.9330776, "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": 1730535960.9330776, "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:07 -0400 (0:00:00.695) 0:00:24.238 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:07 -0400 (0:00:00.049) 0:00:24.287 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ActiveEnterTimestampMonotonic": "255922552", "ActiveExitTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ActiveExitTimestampMonotonic": "255563805", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service systemd-journald.socket basic.target sysinit.target dbus.service network.target systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:02 EDT", "AssertTimestampMonotonic": "255668462", "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": "Sat 2024-11-02 04:26:02 EDT", "ConditionTimestampMonotonic": "255668461", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service cpupower.service shutdown.target power-profiles-daemon.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": "8155", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ExecMainStartTimestampMonotonic": "255669430", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:02 EDT] ; stop_time=[n/a] ; pid=8155 ; 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": "Sat 2024-11-02 04:26:02 EDT", "InactiveEnterTimestampMonotonic": "255667769", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:02 EDT", "InactiveExitTimestampMonotonic": "255669484", "InvocationID": "d429e4afddbd4f139ef62a9de1a4663a", "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": "8155", "MemoryAccounting": "yes", "MemoryCurrent": "15036416", "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": "sysinit.target system.slice dbus.socket 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": "Sat 2024-11-02 04:26:02 EDT", "StateChangeTimestampMonotonic": "255922552", "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": "Sat 2024-11-02 04:26:02 EDT", "WatchdogTimestampMonotonic": "255922549", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:08 -0400 (0:00:00.485) 0:00:24.773 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:08 -0400 (0:00:00.403) 0:00:25.176 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:09 -0400 (0:00:00.495) 0:00:25.671 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:09 -0400 (0:00:00.045) 0:00:25.717 ***** 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-1730535969.3878968-8524-967507418335/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:10 -0400 (0:00:00.682) 0:00:26.399 ***** 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-1730535970.0636675-8612-112034387471249/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:10 -0400 (0:00:00.656) 0:00:27.056 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:11 -0400 (0:00:00.426) 0:00:27.482 ***** 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-1730535971.157437-8746-100453054359959/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:11 -0400 (0:00:00.858) 0:00:28.341 ***** changed: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ActiveEnterTimestampMonotonic": "255922552", "ActiveExitTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ActiveExitTimestampMonotonic": "255563805", "ActiveState": "active", "After": "dbus.socket system.slice polkit.service systemd-journald.socket basic.target sysinit.target dbus.service network.target systemd-sysctl.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:02 EDT", "AssertTimestampMonotonic": "255668462", "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": "Sat 2024-11-02 04:26:02 EDT", "ConditionTimestampMonotonic": "255668461", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service tlp.service cpupower.service shutdown.target power-profiles-daemon.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": "8155", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:02 EDT", "ExecMainStartTimestampMonotonic": "255669430", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:02 EDT] ; stop_time=[n/a] ; pid=8155 ; 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": "Sat 2024-11-02 04:26:02 EDT", "InactiveEnterTimestampMonotonic": "255667769", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:02 EDT", "InactiveExitTimestampMonotonic": "255669484", "InvocationID": "d429e4afddbd4f139ef62a9de1a4663a", "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": "8155", "MemoryAccounting": "yes", "MemoryCurrent": "15028224", "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": "sysinit.target system.slice dbus.socket 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": "Sat 2024-11-02 04:26:02 EDT", "StateChangeTimestampMonotonic": "255922552", "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": "Sat 2024-11-02 04:26:02 EDT", "WatchdogTimestampMonotonic": "255922549", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:12 -0400 (0:00:00.822) 0:00:29.164 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_register_profile is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:12 -0400 (0:00:00.037) 0:00:29.201 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:12 -0400 (0:00:00.047) 0:00:29.249 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.124701", "end": "2024-11-02 04:26:13.451674", "rc": 0, "start": "2024-11-02 04:26:13.326973" } 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.631) 0:00:29.881 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.027) 0:00:29.909 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.030) 0:00:29.939 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.022) 0:00:29.961 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.037) 0:00:29.999 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.056) 0:00:30.055 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Saturday 02 November 2024 04:26:13 -0400 (0:00:00.052) 0:00:30.108 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003016", "end": "2024-11-02 04:26:14.067782", "rc": 0, "start": "2024-11-02 04:26:14.064766" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Saturday 02 November 2024 04:26:14 -0400 (0:00:00.386) 0:00:30.494 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.008967", "end": "2024-11-02 04:26:14.439350", "rc": 0, "start": "2024-11-02 04:26:14.430383" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Saturday 02 November 2024 04:26:14 -0400 (0:00:00.371) 0:00:30.866 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005524", "end": "2024-11-02 04:26:14.808152", "rc": 0, "start": "2024-11-02 04:26:14.802628" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Saturday 02 November 2024 04:26:14 -0400 (0:00:00.374) 0:00:31.240 ***** changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Saturday 02 November 2024 04:26:37 -0400 (0:00:22.631) 0:00:53.872 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.011695", "end": "2024-11-02 04:26:37.839664", "rc": 0, "start": "2024-11-02 04:26:37.827969" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.390) 0:00:54.262 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003466", "end": "2024-11-02 04:26:38.199550", "rc": 0, "start": "2024-11-02 04:26:38.196084" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.351) 0:00:54.614 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005439", "end": "2024-11-02 04:26:38.543500", "rc": 0, "start": "2024-11-02 04:26:38.538061" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.344) 0:00:54.959 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.106685", "end": "2024-11-02 04:26:38.983759", "rc": 0, "start": "2024-11-02 04:26:38.877074" } 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.440) 0:00:55.399 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.055) 0:00:55.455 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.040) 0:00:55.495 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.020) 0:00:55.516 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.036) 0:00:55.552 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.019) 0:00:55.571 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.018) 0:00:55.590 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.018) 0:00:55.609 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.018) 0:00:55.627 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.025) 0:00:55.653 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:44 -0400 (0:00:05.084) 0:01:00.737 ***** skipping: [managed-node2] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.033) 0:01:00.770 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.033) 0:01:00.804 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.033) 0:01:00.837 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.340) 0:01:01.178 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item | length > 0", "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": 1730535972.6720433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1730535970.6290493, "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": 1730535970.6290493, "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.680) 0:01:01.858 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.044) 0:01:01.903 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ActiveEnterTimestampMonotonic": "6920671", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket polkit.service sysinit.target basic.target network.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:33 EDT", "AssertTimestampMonotonic": "6250956", "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": "Sat 2024-11-02 04:26:33 EDT", "ConditionTimestampMonotonic": "6250952", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service tlp.service auto-cpufreq.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": "659", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ExecMainStartTimestampMonotonic": "6251824", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:33 EDT] ; stop_time=[n/a] ; pid=659 ; 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": "Sat 2024-11-02 04:26:33 EDT", "InactiveExitTimestampMonotonic": "6251866", "InvocationID": "1987dabf6999461d94905944d7bba954", "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": "659", "MemoryAccounting": "yes", "MemoryCurrent": "18477056", "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": "sysinit.target dbus.service dbus.socket system.slice", "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": "Sat 2024-11-02 04:26:33 EDT", "StateChangeTimestampMonotonic": "6920671", "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": "Sat 2024-11-02 04:26:33 EDT", "WatchdogTimestampMonotonic": "6920668", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.491) 0:01:02.394 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.349) 0:01:02.744 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.347) 0:01:03.091 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.041) 0:01:03.133 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:47 -0400 (0:00:00.594) 0:01:03.728 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:47 -0400 (0:00:00.585) 0:01:04.313 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:48 -0400 (0:00:00.346) 0:01:04.659 ***** 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-1730536008.3249257-10411-44112723133682/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:49 -0400 (0:00:00.724) 0:01:05.384 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__kernel_settings_register_profile is changed or __kernel_settings_register_mode is changed", "item": "tuned", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:49 -0400 (0:00:00.021) 0:01:05.406 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.141591", "end": "2024-11-02 04:26:50.482100", "rc": 0, "start": "2024-11-02 04:26:49.340509" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:50 -0400 (0:00:01.502) 0:01:06.908 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:50 -0400 (0:00:00.027) 0:01:06.936 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107478", "end": "2024-11-02 04:26:50.950243", "rc": 0, "start": "2024-11-02 04:26:50.842765" } 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.440) 0:01:07.377 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.026) 0:01:07.403 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.027) 0:01:07.431 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.021) 0:01:07.452 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Force handlers] ********************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:130 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.037) 0:01:07.490 ***** META: triggered running handlers for managed-node2 TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.007) 0:01:07.498 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.052) 0:01:07.550 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.056) 0:01:07.607 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005578", "end": "2024-11-02 04:26:51.520665", "rc": 0, "start": "2024-11-02 04:26:51.515087" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.338) 0:01:07.946 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.111) 0:01:08.058 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.063) 0:01:08.121 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.033) 0:01:08.154 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.052) 0:01:08.206 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.029) 0:01:08.235 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.028) 0:01:08.264 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.033) 0:01:08.297 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.027) 0:01:08.325 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:51 -0400 (0:00:00.030) 0:01:08.356 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:54 -0400 (0:00:02.843) 0:01:11.199 ***** skipping: [managed-node2] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.049) 0:01:11.249 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.049) 0:01:11.298 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.048) 0:01:11.346 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.357) 0:01:11.704 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item | length > 0", "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": 1730535972.6720433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1730535970.6290493, "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": 1730535970.6290493, "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.741) 0:01:12.445 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.064) 0:01:12.510 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ActiveEnterTimestampMonotonic": "6920671", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket polkit.service sysinit.target basic.target network.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:33 EDT", "AssertTimestampMonotonic": "6250956", "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": "Sat 2024-11-02 04:26:33 EDT", "ConditionTimestampMonotonic": "6250952", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service tlp.service auto-cpufreq.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": "659", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ExecMainStartTimestampMonotonic": "6251824", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:33 EDT] ; stop_time=[n/a] ; pid=659 ; 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": "Sat 2024-11-02 04:26:33 EDT", "InactiveExitTimestampMonotonic": "6251866", "InvocationID": "1987dabf6999461d94905944d7bba954", "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": "659", "MemoryAccounting": "yes", "MemoryCurrent": "18903040", "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": "sysinit.target dbus.service dbus.socket system.slice", "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": "Sat 2024-11-02 04:26:33 EDT", "StateChangeTimestampMonotonic": "6920671", "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": "Sat 2024-11-02 04:26:33 EDT", "WatchdogTimestampMonotonic": "6920668", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.498) 0:01:13.008 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.356) 0:01:13.365 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.333) 0:01:13.699 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.054) 0:01:13.753 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.600) 0:01:14.354 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:58 -0400 (0:00:00.585) 0:01:14.939 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:58 -0400 (0:00:00.345) 0:01:15.285 ***** 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-1730536018.9517093-10762-255953313304094/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:59 -0400 (0:00:00.726) 0:01:16.011 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__kernel_settings_register_profile is changed or __kernel_settings_register_mode is changed", "item": "tuned", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:59 -0400 (0:00:00.024) 0:01:16.036 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.154797", "end": "2024-11-02 04:27:01.140788", "rc": 0, "start": "2024-11-02 04:26:59.985991" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:27:01 -0400 (0:00:01.529) 0:01:17.565 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.030) 0:01:17.596 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.106554", "end": "2024-11-02 04:27:01.621488", "rc": 0, "start": "2024-11-02 04:27:01.514934" } 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.447) 0:01:18.044 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.017) 0:01:18.062 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.026) 0:01:18.088 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.019) 0:01:18.108 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Force handlers] ********************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:159 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.037) 0:01:18.146 ***** META: triggered running handlers for managed-node2 TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.008) 0:01:18.154 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.058) 0:01:18.212 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.051) 0:01:18.264 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005481", "end": "2024-11-02 04:27:02.189808", "rc": 0, "start": "2024-11-02 04:27:02.184327" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.353) 0:01:18.617 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003059", "end": "2024-11-02 04:27:02.532138", "rc": 0, "start": "2024-11-02 04:27:02.529079" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.340) 0:01:18.957 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.089) 0:01:19.047 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "kernel_settings_sysctl != __kernel_settings_state_empty", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.020) 0:01:19.068 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.022) 0:01:19.091 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.036) 0:01:19.128 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.020) 0:01:19.148 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.018) 0:01:19.166 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.018) 0:01:19.185 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.018) 0:01:19.203 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.025) 0:01:19.228 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:27:05 -0400 (0:00:02.860) 0:01:22.088 ***** skipping: [managed-node2] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:27:05 -0400 (0:00:00.033) 0:01:22.122 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:27:05 -0400 (0:00:00.032) 0:01:22.155 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:27:05 -0400 (0:00:00.034) 0:01:22.189 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:27:06 -0400 (0:00:00.333) 0:01:22.522 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item | length > 0", "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": 1730535972.6720433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1730535970.6290493, "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": 1730535970.6290493, "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:27:06 -0400 (0:00:00.672) 0:01:23.195 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:27:06 -0400 (0:00:00.042) 0:01:23.238 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ActiveEnterTimestampMonotonic": "6920671", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket polkit.service sysinit.target basic.target network.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:33 EDT", "AssertTimestampMonotonic": "6250956", "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": "Sat 2024-11-02 04:26:33 EDT", "ConditionTimestampMonotonic": "6250952", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service tlp.service auto-cpufreq.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": "659", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ExecMainStartTimestampMonotonic": "6251824", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:33 EDT] ; stop_time=[n/a] ; pid=659 ; 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": "Sat 2024-11-02 04:26:33 EDT", "InactiveExitTimestampMonotonic": "6251866", "InvocationID": "1987dabf6999461d94905944d7bba954", "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": "659", "MemoryAccounting": "yes", "MemoryCurrent": "18972672", "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": "sysinit.target dbus.service dbus.socket system.slice", "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": "Sat 2024-11-02 04:26:33 EDT", "StateChangeTimestampMonotonic": "6920671", "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": "Sat 2024-11-02 04:26:33 EDT", "WatchdogTimestampMonotonic": "6920668", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:27:07 -0400 (0:00:00.485) 0:01:23.723 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:27:07 -0400 (0:00:00.347) 0:01:24.071 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:27:08 -0400 (0:00:00.322) 0:01:24.393 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:27:08 -0400 (0:00:00.037) 0:01:24.431 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:27:08 -0400 (0:00:00.581) 0:01:25.012 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:27:09 -0400 (0:00:00.589) 0:01:25.601 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:27:09 -0400 (0:00:00.337) 0:01:25.938 ***** 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-1730536029.6076267-11177-80976209305904/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:27:10 -0400 (0:00:00.697) 0:01:26.636 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__kernel_settings_register_profile is changed or __kernel_settings_register_mode is changed", "item": "tuned", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:27:10 -0400 (0:00:00.021) 0:01:26.657 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.159685", "end": "2024-11-02 04:27:11.750117", "rc": 0, "start": "2024-11-02 04:27:10.590432" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:27:11 -0400 (0:00:01.515) 0:01:28.172 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:27:11 -0400 (0:00:00.027) 0:01:28.200 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107154", "end": "2024-11-02 04:27:12.216812", "rc": 0, "start": "2024-11-02 04:27:12.109658" } 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.437) 0:01:28.638 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.018) 0:01:28.656 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.018) 0:01:28.675 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.014) 0:01:28.690 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Force handlers] ********************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:191 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.024) 0:01:28.715 ***** META: triggered running handlers for managed-node2 TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.004) 0:01:28.719 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.038) 0:01:28.757 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.065) 0:01:28.823 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005591", "end": "2024-11-02 04:27:12.737860", "rc": 0, "start": "2024-11-02 04:27:12.732269" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Saturday 02 November 2024 04:27:12 -0400 (0:00:00.335) 0:01:29.158 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003102", "end": "2024-11-02 04:27:13.067121", "rc": 0, "start": "2024-11-02 04:27:13.064019" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.328) 0:01:29.487 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.073) 0:01:29.560 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.003200", "end": "2024-11-02 04:27:13.474627", "rc": 0, "start": "2024-11-02 04:27:13.471427" } 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.334) 0:01:29.895 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.039) 0:01:29.935 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.041) 0:01:29.976 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.024) 0:01:30.000 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.039) 0:01:30.040 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.018) 0:01:30.058 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.018) 0:01:30.076 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.019) 0:01:30.096 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __kernel_settings_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.018) 0:01:30.114 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:27:13 -0400 (0:00:00.025) 0:01:30.139 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:27:16 -0400 (0:00:02.886) 0:01:33.026 ***** skipping: [managed-node2] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:27:16 -0400 (0:00:00.035) 0:01:33.062 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:27:16 -0400 (0:00:00.034) 0:01:33.096 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:27:16 -0400 (0:00:00.033) 0:01:33.129 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:27:17 -0400 (0:00:00.341) 0:01:33.471 ***** skipping: [managed-node2] => (item=) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item | length > 0", "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": 1730535972.6720433, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1730535970.6290493, "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": 1730535970.6290493, "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:27:17 -0400 (0:00:00.677) 0:01:34.148 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:27:17 -0400 (0:00:00.042) 0:01:34.190 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ActiveEnterTimestampMonotonic": "6920671", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket polkit.service sysinit.target basic.target network.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:33 EDT", "AssertTimestampMonotonic": "6250956", "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": "Sat 2024-11-02 04:26:33 EDT", "ConditionTimestampMonotonic": "6250952", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service tlp.service auto-cpufreq.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": "659", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ExecMainStartTimestampMonotonic": "6251824", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:33 EDT] ; stop_time=[n/a] ; pid=659 ; 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": "Sat 2024-11-02 04:26:33 EDT", "InactiveExitTimestampMonotonic": "6251866", "InvocationID": "1987dabf6999461d94905944d7bba954", "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": "659", "MemoryAccounting": "yes", "MemoryCurrent": "19025920", "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": "sysinit.target dbus.service dbus.socket system.slice", "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": "Sat 2024-11-02 04:26:33 EDT", "StateChangeTimestampMonotonic": "6920671", "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": "Sat 2024-11-02 04:26:33 EDT", "WatchdogTimestampMonotonic": "6920668", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:27:18 -0400 (0:00:00.487) 0:01:34.678 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:27:18 -0400 (0:00:00.343) 0:01:35.022 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:27:18 -0400 (0:00:00.326) 0:01:35.348 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:27:19 -0400 (0:00:00.039) 0:01:35.388 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:27:19 -0400 (0:00:00.577) 0:01:35.966 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:27:20 -0400 (0:00:00.582) 0:01:36.548 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:27:20 -0400 (0:00:00.342) 0:01:36.890 ***** 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-1730536040.5579886-11375-13761720362716/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:27:21 -0400 (0:00:00.695) 0:01:37.585 ***** skipping: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__kernel_settings_register_profile is changed or __kernel_settings_register_mode is changed", "item": "tuned", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:27:21 -0400 (0:00:00.021) 0:01:37.607 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.167421", "end": "2024-11-02 04:27:22.705121", "rc": 0, "start": "2024-11-02 04:27:21.537700" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:27:22 -0400 (0:00:01.520) 0:01:39.127 ***** included: /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:27:22 -0400 (0:00:00.029) 0:01:39.157 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.107329", "end": "2024-11-02 04:27:23.175660", "rc": 0, "start": "2024-11-02 04:27:23.068331" } 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.440) 0:01:39.598 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.017) 0:01:39.615 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__kernel_settings_register_verify_values is failed", "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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.018) 0:01:39.634 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.014) 0:01:39.648 ***** ok: [managed-node2] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.023) 0:01:39.672 ***** 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.007067", "end": "2024-11-02 04:27:23.590976", "rc": 0, "start": "2024-11-02 04:27:23.583909" } 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.340) 0:01:40.012 ***** changed: [managed-node2] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Saturday 02 November 2024 04:27:23 -0400 (0:00:00.339) 0:01:40.352 ***** 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-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Saturday 02 November 2024 04:27:24 -0400 (0:00:00.329) 0:01:40.682 ***** 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-1730536044.366976-11448-261037875944050/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Saturday 02 November 2024 04:27:24 -0400 (0:00:00.659) 0:01:41.341 ***** 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-1730536045.0056422-11466-232054211539226/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Saturday 02 November 2024 04:27:25 -0400 (0:00:00.638) 0:01:41.980 ***** ok: [managed-node2] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ActiveEnterTimestampMonotonic": "6920671", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket systemd-journald.socket polkit.service sysinit.target basic.target network.target systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:33 EDT", "AssertTimestampMonotonic": "6250956", "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": "Sat 2024-11-02 04:26:33 EDT", "ConditionTimestampMonotonic": "6250952", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target power-profiles-daemon.service tlp.service auto-cpufreq.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": "659", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:33 EDT", "ExecMainStartTimestampMonotonic": "6251824", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:33 EDT] ; stop_time=[n/a] ; pid=659 ; 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": "Sat 2024-11-02 04:26:33 EDT", "InactiveExitTimestampMonotonic": "6251866", "InvocationID": "1987dabf6999461d94905944d7bba954", "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": "659", "MemoryAccounting": "yes", "MemoryCurrent": "19066880", "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": "sysinit.target dbus.service dbus.socket system.slice", "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": "Sat 2024-11-02 04:26:33 EDT", "StateChangeTimestampMonotonic": "6920671", "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": "Sat 2024-11-02 04:26:33 EDT", "WatchdogTimestampMonotonic": "6920668", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* managed-node2 : ok=135 changed=19 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Saturday 02 November 2024 04:27:26 -0400 (0:00:00.483) 0:01:42.463 ***** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 22.63s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Ensure required packages are installed --------------------------------- 14.66s /tmp/collections-sDC/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.08s /tmp/collections-sDC/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.93s /tmp/collections-sDC/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.89s /tmp/collections-sDC/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.86s /tmp/collections-sDC/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-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.53s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.52s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.52s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.50s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required services are enabled and started ------------------------ 1.16s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.86s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Generate a configuration for kernel settings ---------------------------- 0.83s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 0.82s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.74s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.73s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.72s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.70s /tmp/collections-sDC/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112