[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.JmlJqV9Pbv 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_bool_not_allowed.yml ******************************************* 1 plays in /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml PLAY [Test boolean values not allowed] ***************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:2 Saturday 03 August 2024 04:24:10 -0400 (0:00:00.007) 0:00:00.007 ******* [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 [Try to pass a boolean value for bootloader cmdline] ********************** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:7 Saturday 03 August 2024 04:24:14 -0400 (0:00:03.530) 0:00:03.538 ******* included: fedora.linux_system_roles.kernel_settings for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 03 August 2024 04:24:14 -0400 (0:00:00.035) 0:00:03.573 ******* included: /tmp/tmp.JmlJqV9Pbv/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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 03 August 2024 04:24:14 -0400 (0:00:00.021) 0:00:03.595 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 03 August 2024 04:24:14 -0400 (0:00:00.036) 0:00:03.631 ******* 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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 03 August 2024 04:24:14 -0400 (0:00:00.424) 0:00:04.056 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 03 August 2024 04:24:14 -0400 (0:00:00.023) 0:00:04.079 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 03 August 2024 04:24:15 -0400 (0:00:00.326) 0:00:04.405 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 03 August 2024 04:24:15 -0400 (0:00:00.023) 0:00:04.429 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp.JmlJqV9Pbv/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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Saturday 03 August 2024 04:24:15 -0400 (0:00:00.025) 0:00:04.454 ******* changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: polkit-0.117-13.el9.x86_64", "Installed: hdparm-9.62-2.el9.x86_64", "Installed: python3-pyudev-0.22.0-6.el9.noarch", "Installed: tuned-2.22.1-1.el9.noarch", "Installed: polkit-libs-0.117-13.el9.x86_64", "Installed: virt-what-1.25-5.el9.x86_64", "Installed: python3-linux-procfs-0.7.3-1.el9.noarch", "Installed: polkit-pkla-compat-0.1-21.el9.x86_64", "Installed: python3-perf-5.14.0-480.el9.x86_64", "Installed: dmidecode-1:3.3-7.el9.x86_64", "Installed: libtraceevent-1.5.3-3.el9.x86_64" ] } lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Saturday 03 August 2024 04:24:25 -0400 (0:00:10.460) 0:00:14.915 ******* skipping: [managed_node1] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:22 Saturday 03 August 2024 04:24:25 -0400 (0:00:00.036) 0:00:14.952 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:27 Saturday 03 August 2024 04:24:25 -0400 (0:00:00.035) 0:00:14.988 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 Saturday 03 August 2024 04:24:25 -0400 (0:00:00.034) 0:00:15.022 ******* changed: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice dbus-broker.service systemd-sysctl.service systemd-journald.socket basic.target network.target dbus.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.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": "[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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target cpupower.service power-profiles-daemon.service auto-cpufreq.service", "ControlGroupId": "0", "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": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "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": "system.slice dbus-broker.service dbus.socket sysinit.target", "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]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "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": "infinity" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 03 August 2024 04:24:27 -0400 (0:00:01.685) 0:00:16.708 ******* changed: [managed_node1] => { "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 [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 Saturday 03 August 2024 04:24:27 -0400 (0:00:00.502) 0:00:17.211 ******* changed: [managed_node1] => { "changed": true, "checksum": "2276c6651921204ad4c4d1a0d303911e242d601a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "c7520cb6fa6a0df3e7032ba9e1135fdf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 84, "src": "/root/.ansible/tmp/ansible-tmp-1722673467.9225366-6581-36648660090557/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 Saturday 03 August 2024 04:24:28 -0400 (0:00:00.822) 0:00:18.033 ******* ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeT1rZXJuZWwgc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.426) 0:00:18.460 ******* [WARNING]: Error: section [bootloader] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [managed_node1]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [Check for bootloader cmdline bool value error] *************************** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:20 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.521) 0:00:18.982 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Try to pass a boolean value for sysctl value] **************************** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:26 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.017) 0:00:18.999 ******* included: fedora.linux_system_roles.kernel_settings for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.031) 0:00:19.030 ******* included: /tmp/tmp.JmlJqV9Pbv/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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.020) 0:00:19.051 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.039) 0:00:19.090 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.022) 0:00:19.113 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.019) 0:00:19.133 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.019) 0:00:19.152 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.018) 0:00:19.171 ******* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp.JmlJqV9Pbv/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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Saturday 03 August 2024 04:24:29 -0400 (0:00:00.026) 0:00:19.198 ******* ok: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Saturday 03 August 2024 04:24:30 -0400 (0:00:00.857) 0:00:20.055 ******* skipping: [managed_node1] => { "false_condition": "__kernel_settings_is_transactional | d(false)" } TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:22 Saturday 03 August 2024 04:24:30 -0400 (0:00:00.035) 0:00:20.091 ******* skipping: [managed_node1] => { "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/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:27 Saturday 03 August 2024 04:24:30 -0400 (0:00:00.035) 0:00:20.127 ******* skipping: [managed_node1] => { "changed": false, "false_condition": "__kernel_settings_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 Saturday 03 August 2024 04:24:30 -0400 (0:00:00.036) 0:00:20.163 ******* 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-08-03 04:24:27 EDT", "ActiveEnterTimestampMonotonic": "205305166", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus-broker.service systemd-sysctl.service systemd-journald.socket basic.target network.target dbus.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 04:24:26 EDT", "AssertTimestampMonotonic": "204491994", "Before": "shutdown.target multi-user.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": "335362000", "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-08-03 04:24:26 EDT", "ConditionTimestampMonotonic": "204491991", "ConfigurationDirectoryMode": "0755", "Conflicts": "tlp.service shutdown.target cpupower.service power-profiles-daemon.service auto-cpufreq.service", "ControlGroup": "/system.slice/tuned.service", "ControlGroupId": "3772", "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": "7622", "ExecMainStartTimestamp": "Sat 2024-08-03 04:24:26 EDT", "ExecMainStartTimestampMonotonic": "204506117", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-08-03 04:24:26 EDT] ; stop_time=[n/a] ; pid=7622 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; flags= ; start_time=[Sat 2024-08-03 04:24:26 EDT] ; stop_time=[n/a] ; pid=7622 ; 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-08-03 04:24:26 EDT", "InactiveExitTimestampMonotonic": "204506462", "InvocationID": "acfc4632aa5647348303b7439b433f91", "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": "7622", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "14790656", "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": "system.slice dbus-broker.service dbus.socket sysinit.target", "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-08-03 04:24:27 EDT", "StateChangeTimestampMonotonic": "205305166", "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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 03 August 2024 04:24:31 -0400 (0:00:00.472) 0:00:20.636 ******* 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.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 Saturday 03 August 2024 04:24:31 -0400 (0:00:00.332) 0:00:20.968 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-6514hxq9c5fd/tmpf9cj9cxn/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 Saturday 03 August 2024 04:24:32 -0400 (0:00:00.522) 0:00:21.491 ******* ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzCgpbbWFpbl0Kc3VtbWFyeT1rZXJuZWwgc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 Saturday 03 August 2024 04:24:32 -0400 (0:00:00.316) 0:00:21.807 ******* [WARNING]: Error: section [sysctl] item [somevalue] value [True] must not be a boolean - try quoting the value fatal: [managed_node1]: FAILED! => { "changed": false, "message": "" } MSG: Invalid format for input parameters TASK [Check for sysctl bool value error] *************************************** task path: /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:39 Saturday 03 August 2024 04:24:32 -0400 (0:00:00.421) 0:00:22.229 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=23 changed=4 unreachable=0 failed=0 skipped=12 rescued=2 ignored=0 Saturday 03 August 2024 04:24:32 -0400 (0:00:00.025) 0:00:22.254 ******* =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed -- 10.46s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 3.53s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:2 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 1.69s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.86s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.82s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.52s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.52s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.50s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.47s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.43s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.42s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.42s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.33s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin --- 0.33s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.32s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.04s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.04s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set --- 0.04s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:27 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.04s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes --- 0.04s /tmp/tmp.JmlJqV9Pbv/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17