ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bool_not_allowed.yml ******************************************* 1 plays in /tmp/tmp.suCkQ8N6B0/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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:2 Wednesday 31 July 2024 09:50:56 -0400 (0:00:00.021) 0:00:00.021 ******** ok: [managed_node1] META: ran handlers TASK [Try to pass a boolean value for bootloader cmdline] ********************** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:7 Wednesday 31 July 2024 09:50:58 -0400 (0:00:01.594) 0:00:01.615 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Wednesday 31 July 2024 09:50:58 -0400 (0:00:00.077) 0:00:01.693 ******** included: /tmp/tmp.suCkQ8N6B0/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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Wednesday 31 July 2024 09:50:58 -0400 (0:00:00.023) 0:00:01.717 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Wednesday 31 July 2024 09:50:58 -0400 (0:00:00.064) 0:00:01.781 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Wednesday 31 July 2024 09:50:58 -0400 (0:00:00.441) 0:00:02.222 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Wednesday 31 July 2024 09:50:58 -0400 (0:00:00.033) 0:00:02.255 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Wednesday 31 July 2024 09:50:59 -0400 (0:00:00.366) 0:00:02.622 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Wednesday 31 July 2024 09:50:59 -0400 (0:00:00.034) 0:00:02.656 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp.suCkQ8N6B0/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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Wednesday 31 July 2024 09:50:59 -0400 (0:00:00.040) 0:00:02.696 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Wednesday 31 July 2024 09:51:03 -0400 (0:00:04.630) 0:00:07.327 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:22 Wednesday 31 July 2024 09:51:03 -0400 (0:00:00.031) 0:00:07.358 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:27 Wednesday 31 July 2024 09:51:04 -0400 (0:00:00.031) 0:00:07.389 ******** skipping: [managed_node1] => { "changed": 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 Wednesday 31 July 2024 09:51:04 -0400 (0:00:00.031) 0:00:07.421 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-31 09:35:07 EDT", "ActiveEnterTimestampMonotonic": "39947884", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target dbus.service dbus.socket system.slice network.target polkit.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-31 09:35:06 EDT", "AssertTimestampMonotonic": "38408442", "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": "Wed 2024-07-31 09:35:06 EDT", "ConditionTimestampMonotonic": "38408441", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target auto-cpufreq.service tlp.service 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": "664", "ExecMainStartTimestamp": "Wed 2024-07-31 09:35:06 EDT", "ExecMainStartTimestampMonotonic": "38409430", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-31 09:35:06 EDT] ; stop_time=[n/a] ; pid=664 ; 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": "Wed 2024-07-31 09:35:06 EDT", "InactiveExitTimestampMonotonic": "38409483", "InvocationID": "136893f6ac104082aacc3ab4e6cc2464", "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": "664", "MemoryAccounting": "yes", "MemoryCurrent": "18604032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target system.slice dbus.socket", "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": "Wed 2024-07-31 09:35:07 EDT", "StateChangeTimestampMonotonic": "39947884", "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": "Wed 2024-07-31 09:35:07 EDT", "WatchdogTimestampMonotonic": "39947881", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Wednesday 31 July 2024 09:51:04 -0400 (0:00:00.738) 0:00:08.159 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 Wednesday 31 July 2024 09:51:05 -0400 (0:00:00.490) 0:00:08.650 ******** 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-1722433865.33089-26214-241981234555369/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 Wednesday 31 July 2024 09:51:06 -0400 (0:00:00.798) 0:00:09.448 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 Wednesday 31 July 2024 09:51:06 -0400 (0:00:00.458) 0:00:09.907 ******** [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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:20 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.560) 0:00:10.467 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Try to pass a boolean value for sysctl value] **************************** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:26 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.033) 0:00:10.501 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.029) 0:00:10.530 ******** included: /tmp/tmp.suCkQ8N6B0/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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.022) 0:00:10.552 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.032) 0:00:10.585 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.030) 0:00:10.615 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.030) 0:00:10.646 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.030) 0:00:10.677 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.031) 0:00:10.708 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/tmp.suCkQ8N6B0/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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Wednesday 31 July 2024 09:51:07 -0400 (0:00:00.040) 0:00:10.749 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:17 Wednesday 31 July 2024 09:51:09 -0400 (0:00:02.552) 0:00:13.301 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:22 Wednesday 31 July 2024 09:51:09 -0400 (0:00:00.030) 0:00:13.332 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:27 Wednesday 31 July 2024 09:51:09 -0400 (0:00:00.030) 0:00:13.362 ******** skipping: [managed_node1] => { "changed": 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 Wednesday 31 July 2024 09:51:10 -0400 (0:00:00.030) 0:00:13.393 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-31 09:35:07 EDT", "ActiveEnterTimestampMonotonic": "39947884", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service sysinit.target dbus.service dbus.socket system.slice network.target polkit.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-31 09:35:06 EDT", "AssertTimestampMonotonic": "38408442", "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": "Wed 2024-07-31 09:35:06 EDT", "ConditionTimestampMonotonic": "38408441", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service shutdown.target auto-cpufreq.service tlp.service 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": "664", "ExecMainStartTimestamp": "Wed 2024-07-31 09:35:06 EDT", "ExecMainStartTimestampMonotonic": "38409430", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-31 09:35:06 EDT] ; stop_time=[n/a] ; pid=664 ; 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": "Wed 2024-07-31 09:35:06 EDT", "InactiveExitTimestampMonotonic": "38409483", "InvocationID": "136893f6ac104082aacc3ab4e6cc2464", "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": "664", "MemoryAccounting": "yes", "MemoryCurrent": "18604032", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.service sysinit.target system.slice dbus.socket", "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": "Wed 2024-07-31 09:35:07 EDT", "StateChangeTimestampMonotonic": "39947884", "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": "Wed 2024-07-31 09:35:07 EDT", "WatchdogTimestampMonotonic": "39947881", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Wednesday 31 July 2024 09:51:10 -0400 (0:00:00.504) 0:00:13.898 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 Wednesday 31 July 2024 09:51:10 -0400 (0:00:00.382) 0:00:14.280 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-261296t34gv9z/tmp10ley6ji/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 Wednesday 31 July 2024 09:51:11 -0400 (0:00:00.389) 0:00:14.670 ******** 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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 Wednesday 31 July 2024 09:51:11 -0400 (0:00:00.365) 0:00:15.036 ******** [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.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:39 Wednesday 31 July 2024 09:51:12 -0400 (0:00:00.466) 0:00:15.502 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=21 changed=2 unreachable=0 failed=0 skipped=12 rescued=2 ignored=0 Wednesday 31 July 2024 09:51:12 -0400 (0:00:00.030) 0:00:15.532 ******** =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 4.63s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.55s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.59s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:2 fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.80s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.74s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.56s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.50s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:35 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.49s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.47s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:61 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.46s /tmp/tmp.suCkQ8N6B0/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.44s /tmp/tmp.suCkQ8N6B0/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.39s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:48 fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.38s /tmp/tmp.suCkQ8N6B0/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.37s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.37s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:55 Try to pass a boolean value for bootloader cmdline ---------------------- 0.08s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_bool_not_allowed.yml:7 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.06s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.04s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists --- 0.03s /tmp/tmp.suCkQ8N6B0/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27