[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] 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/tmp.8aqksxrzRA executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/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_default.yml **************************************************** 1 plays in /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 27 July 2024 04:24:31 -0400 (0:00:00.011) 0:00:00.011 ********* included: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 27 July 2024 04:24:31 -0400 (0:00:00.018) 0:00:00.030 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 27 July 2024 04:24:32 -0400 (0:00:00.800) 0:00:00.830 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 27 July 2024 04:24:33 -0400 (0:00:00.460) 0:00:01.290 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 Saturday 27 July 2024 04:24:33 -0400 (0:00:00.055) 0:00:01.346 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp.8aqksxrzRA/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/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Saturday 27 July 2024 04:24:33 -0400 (0:00:00.024) 0:00:01.370 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 Saturday 27 July 2024 04:24:34 -0400 (0:00:01.390) 0:00:02.760 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-07-27 04:24:03 EDT", "ActiveEnterTimestampMonotonic": "7428330", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket dbus.socket network.target systemd-sysctl.service polkit.service dbus-broker.service basic.target system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 04:24:02 EDT", "AssertTimestampMonotonic": "6845898", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "276758000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 04:24:02 EDT", "ConditionTimestampMonotonic": "6845895", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target cpupower.service tlp.service power-profiles-daemon.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlGroupId": "2529", "ControlPID": "0", "CoredumpFilter": "0x33", "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", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "616", "ExecMainStartTimestamp": "Sat 2024-07-27 04:24:02 EDT", "ExecMainStartTimestampMonotonic": "6851888", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-07-27 04:24:02 EDT] ; stop_time=[n/a] ; pid=616 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Sat 2024-07-27 04:24:02 EDT] ; stop_time=[n/a] ; pid=616 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 04:24:02 EDT", "InactiveExitTimestampMonotonic": "6853360", "InvocationID": "1d2742defe664a639c4adc3dff3dcee8", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "616", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18157568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/tuned/tuned.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice dbus-broker.service", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-27 04:24:03 EDT", "StateChangeTimestampMonotonic": "7428330", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 Saturday 27 July 2024 04:24:35 -0400 (0:00:01.118) 0:00:03.879 ********* ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 27 July 2024 04:24:36 -0400 (0:00:00.500) 0:00:04.379 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-73077nzrsz75/tmp1oxk_4nu/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 Saturday 27 July 2024 04:24:36 -0400 (0:00:00.378) 0:00:04.758 ********* ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCg==", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.479) 0:00:05.237 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "kernel_settings_sysctl or kernel_settings_sysfs or kernel_settings_systemd_cpu_affinity or kernel_settings_transparent_hugepages or kernel_settings_transparent_hugepages_defrag or kernel_settings_bootloader_cmdline | d({}) or kernel_settings_purge or __kernel_settings_cur_header != __kernel_settings_new_header", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.028) 0:00:05.265 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__kernel_settings_register_module is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.016) 0:00:05.282 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__kernel_settings_register_module is changed", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.017) 0:00:05.299 ********* skipping: [managed_node1] => { "false_condition": "__kernel_settings_register_module.reboot_required | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.018) 0:00:05.318 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__kernel_settings_register_module.reboot_required | d(false)", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=10 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Saturday 27 July 2024 04:24:37 -0400 (0:00:00.022) 0:00:05.341 ********* =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 1.39s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 1.12s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:11 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.80s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.50s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:18 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.48s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:31 fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.46s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.38s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree --- 0.06s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.03s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:37 fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:19 fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes --- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:76 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : Verify settings ------------- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:72 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 0.02s /tmp/tmp.8aqksxrzRA/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:66