No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Test simple kernel settings] ********************************************* TASK [Gathering Facts] ********************************************************* Wednesday 24 July 2024 14:29:58 -0400 (0:00:00.018) 0:00:00.018 ******** ok: [managed_node1] TASK [Set platform independent vars used by this test] ************************* Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.904) 0:00:00.922 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_profile_file": "# File managed by Ansible - DO NOT EDIT\n[main]\nsummary = kernel settings\n[sysctl]\nfs.epoll.max_user_watches = 785592\nfs.file-max = 379724\n[vm]\ntransparent_hugepages = madvise\n[sysfs]\n/sys/kernel/debug/x86/ibrs_enabled = 0\n/sys/kernel/debug/x86/pti_enabled = 0\n/sys/kernel/debug/x86/retp_enabled = 0\n{% if __kernel_settings_blcmdline_value | d() %}\n[bootloader]\ncmdline = {{ __kernel_settings_blcmdline_value }}\n{% endif %}\n", "kernel_settings_sysctl": [ { "name": "fs.epoll.max_user_watches", "value": 785592 }, { "name": "fs.file-max", "value": 379724 }, { "name": "no.such.param", "state": "absent" } ], "kernel_settings_sysfs": [ { "name": "/sys/kernel/debug/x86/pti_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/retp_enabled", "value": 0 }, { "name": "/sys/kernel/debug/x86/ibrs_enabled", "value": 0 }, { "name": "/sys/not/found", "state": "absent" } ], "kernel_settings_systemd_cpu_affinity": { "state": "absent" }, "kernel_settings_transparent_hugepages": "madvise", "kernel_settings_transparent_hugepages_defrag": { "state": "absent" } }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/vars/vars_simple_settings.yml" ], "changed": false } TASK [Disable bootloader cmdline testing on Fedora] **************************** Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.014) 0:00:00.937 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Apply the settings - call the role] ************************************** Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.027) 0:00:00.965 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.067) 0:00:01.032 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/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] *** Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.020) 0:00:01.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** Wednesday 24 July 2024 14:29:59 -0400 (0:00:00.026) 0:00:01.079 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** Wednesday 24 July 2024 14:30:00 -0400 (0:00:00.446) 0:00:01.526 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Wednesday 24 July 2024 14:30:00 -0400 (0:00:00.029) 0:00:01.556 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/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] *** Wednesday 24 July 2024 14:30:00 -0400 (0:00:00.061) 0:00:01.617 ******** 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] *** Wednesday 24 July 2024 14:30:02 -0400 (0:00:02.648) 0:00:04.266 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:29:01 EDT", "ActiveEnterTimestampMonotonic": "9227934", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service systemd-journald.socket dbus.socket network.target system.slice systemd-sysctl.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:29:00 EDT", "AssertTimestampMonotonic": "8214123", "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-24 14:29:00 EDT", "ConditionTimestampMonotonic": "8214121", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "667", "ExecMainStartTimestamp": "Wed 2024-07-24 14:29:00 EDT", "ExecMainStartTimestampMonotonic": "8217441", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:29:00 EDT] ; stop_time=[n/a] ; pid=667 ; 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-24 14:29:00 EDT", "InactiveExitTimestampMonotonic": "8217525", "InvocationID": "644c9ca60af642ebb90cd99ba42142de", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "667", "MemoryAccounting": "yes", "MemoryCurrent": "21045248", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket dbus.service sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-07-24 14:29:01 EDT", "StateChangeTimestampMonotonic": "9227934", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:29:01 EDT", "WatchdogTimestampMonotonic": "9227930", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Wednesday 24 July 2024 14:30:03 -0400 (0:00:00.696) 0:00:04.963 ******** 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] *** Wednesday 24 July 2024 14:30:04 -0400 (0:00:00.477) 0:00:05.440 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-9418o8wyukhk/tmp6b8mrh2j/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Wednesday 24 July 2024 14:30:04 -0400 (0:00:00.392) 0:00:05.833 ******** 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] ******* Wednesday 24 July 2024 14:30:04 -0400 (0:00:00.457) 0:00:06.290 ******** changed: [managed_node1] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724" }, "sysfs": { "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" }, "vm": { "transparent_hugepages": "madvise" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** Wednesday 24 July 2024 14:30:05 -0400 (0:00:00.572) 0:00:06.863 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.189662", "end": "2024-07-24 14:30:07.112790", "rc": 0, "start": "2024-07-24 14:30:05.923128" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* Wednesday 24 July 2024 14:30:07 -0400 (0:00:01.652) 0:00:08.515 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.038) 0:00:08.553 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.119632", "end": "2024-07-24 14:30:07.620249", "rc": 0, "start": "2024-07-24 14:30:07.500617" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.469) 0:00:09.022 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.029) 0:00:09.052 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.027) 0:00:09.079 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.026) 0:00:09.106 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly] ***************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.027) 0:00:09.133 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings.yml for managed_node1 TASK [Set version specific variables] ****************************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.020) 0:00:09.154 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_test_python_cmd": "/usr/libexec/platform-python", "__kernel_settings_test_python_pkgs": [ "python3-configobj" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/vars/tests_default.yml" ], "changed": false } TASK [Reset settings success flag] ********************************************* Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.032) 0:00:09.186 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_success": true }, "changed": false } TASK [Check tuned-adm verify] ************************************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.011) 0:00:09.198 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for verify errors] ************************************************* Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.009) 0:00:09.207 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /proc/cmdline] ***************************************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.027) 0:00:09.235 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set error flag based on verify] ****************************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.027) 0:00:09.262 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check config files] ****************************************************** Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.025) 0:00:09.288 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/assert_kernel_settings_conf_files.yml for managed_node1 TASK [Create temporary file for expected config] ******************************* Wednesday 24 July 2024 14:30:07 -0400 (0:00:00.040) 0:00:09.329 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.k9_13sv3.kernel_settings", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Put expected contents into temporary file] ******************************* Wednesday 24 July 2024 14:30:08 -0400 (0:00:00.435) 0:00:09.765 ******** changed: [managed_node1] => { "changed": true, "checksum": "169e46a0442e2493edda7ef1d37dfc572d06525c", "dest": "/tmp/ansible.k9_13sv3.kernel_settings", "gid": 0, "group": "root", "md5sum": "b82bbe3a22d81e7a442595a59b2d0944", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1721845808.4671805-9564-18700093359769/source", "state": "file", "uid": 0 } TASK [Ensure python command exists for tests below] **************************** Wednesday 24 July 2024 14:30:09 -0400 (0:00:00.788) 0:00:10.553 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj TASK [Diff expected vs actual content] ***************************************** Wednesday 24 July 2024 14:30:11 -0400 (0:00:02.576) 0:00:13.129 ******** ok: [managed_node1] => { "changed": false, "cmd": "/usr/libexec/platform-python -c 'import sys\nfrom configobj import ConfigObj\nc1 = ConfigObj(sys.argv[1])\nc2 = ConfigObj(sys.argv[2])\nsys.exit(not c1 == c2)' /tmp/ansible.k9_13sv3.kernel_settings /etc/tuned/kernel_settings/tuned.conf\n", "delta": "0:00:00.033438", "end": "2024-07-24 14:30:12.115079", "rc": 0, "start": "2024-07-24 14:30:12.081641" } TASK [Verify expected content] ************************************************* Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.387) 0:00:13.517 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show diff - may not reflect actual ConfigObj differences] **************** Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.025) 0:00:13.543 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get active_profile file] ************************************************* Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.027) 0:00:13.570 ******** ok: [managed_node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Check that active_profile ends with kernel_settings] ********************* Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.340) 0:00:13.911 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile_mode file] *************************************************** Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.028) 0:00:13.939 ******** ok: [managed_node1] => { "changed": false, "content": "bWFudWFsCg==", "encoding": "base64", "source": "/etc/tuned/profile_mode" } TASK [Check that profile_mode is manual] *************************************** Wednesday 24 July 2024 14:30:12 -0400 (0:00:00.406) 0:00:14.346 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the bootloader specific config file] ********************************* Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.026) 0:00:14.373 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify bootloader settings value] **************************************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.025) 0:00:14.398 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if kernel_settings_reboot_required is set if needed] *************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.026) 0:00:14.424 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert success] ********************************************************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.025) 0:00:14.449 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check ansible_managed, fingerprint in generated files] ******************* Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.029) 0:00:14.479 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/check_header.yml for managed_node1 TASK [Get file] **************************************************************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.019) 0:00:14.499 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSAzNzk3MjQKW3N5c2ZzXQovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcHRpX2VuYWJsZWQgPSAwCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQgPSAwCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9pYnJzX2VuYWJsZWQgPSAwClt2bV0KdHJhbnNwYXJlbnRfaHVnZXBhZ2VzID0gbWFkdmlzZQo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.360) 0:00:14.859 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Reboot the machine - see if settings persist after reboot] *************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.043) 0:00:14.902 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that settings were applied correctly after reboot] **************** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.026) 0:00:14.929 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Show contents of tuned.conf] ********************************************* Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.028) 0:00:14.957 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002543", "end": "2024-07-24 14:30:13.905455", "rc": 0, "start": "2024-07-24 14:30:13.902912" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [sysctl] fs.epoll.max_user_watches = 785592 fs.file-max = 379724 [sysfs] /sys/kernel/debug/x86/pti_enabled = 0 /sys/kernel/debug/x86/retp_enabled = 0 /sys/kernel/debug/x86/ibrs_enabled = 0 [vm] transparent_hugepages = madvise RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.346) 0:00:15.304 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:30:13 -0400 (0:00:00.026) 0:00:15.330 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=30 changed=4 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0 Wednesday 24 July 2024 14:30:14 -0400 (0:00:00.029) 0:00:15.359 ******** =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.65s Ensure python command exists for tests below ---------------------------- 2.58s fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.65s Gathering Facts --------------------------------------------------------- 0.90s Put expected contents into temporary file ------------------------------- 0.79s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.70s fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.57s fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists --- 0.48s fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.47s fedora.linux_system_roles.kernel_settings : Get current config ---------- 0.46s fedora.linux_system_roles.kernel_settings : Check if system is ostree --- 0.45s Create temporary file for expected config ------------------------------- 0.44s Get profile_mode file --------------------------------------------------- 0.41s fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings --- 0.39s Diff expected vs actual content ----------------------------------------- 0.39s Get file ---------------------------------------------------------------- 0.36s Show contents of tuned.conf --------------------------------------------- 0.35s Get active_profile file ------------------------------------------------- 0.34s Apply the settings - call the role -------------------------------------- 0.07s fedora.linux_system_roles.kernel_settings : Set platform/version specific variables --- 0.06s