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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml PLAY [Test role variable override] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:2 Tuesday 24 September 2024 14:23:47 -0400 (0:00:00.027) 0:00:00.027 ***** ok: [managed-node1] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:8 Tuesday 24 September 2024 14:23:48 -0400 (0:00:01.035) 0:00:01.062 ***** changed: [managed-node1 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202228.3619192-9004-8046650347361/source", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.1902828-9004-14269346980536/source", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.6391447-9004-81034365798415/source", "state": "file", "uid": 0 } changed: [managed-node1 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202230.2149568-9004-78562610114490/source", "state": "file", "uid": 0 } TASK [Include test role] ******************************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/tasks/main.yml:4 Tuesday 24 September 2024 14:23:50 -0400 (0:00:02.315) 0:00:03.377 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.100) 0:00:03.478 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.030) 0:00:03.509 ***** included: /tmp/collections-RkM/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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.033) 0:00:03.542 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:23:50 -0400 (0:00:00.022) 0:00:03.565 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:23:51 -0400 (0:00:00.373) 0:00:03.938 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:23:51 -0400 (0:00:00.018) 0:00:03.957 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:23:51 -0400 (0:00:00.333) 0:00:04.291 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:23:51 -0400 (0:00:00.019) 0:00:04.311 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:23:51 -0400 (0:00:00.025) 0:00:04.337 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:23:54 -0400 (0:00:02.936) 0:00:07.273 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:23:54 -0400 (0:00:00.016) 0:00:07.289 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:23:54 -0400 (0:00:00.019) 0:00:07.309 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:23:54 -0400 (0:00:00.015) 0:00:07.324 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:23:55 -0400 (0:00:00.433) 0:00:07.757 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1727202222.1214216, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202225.7244473, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202225.7244473, "nlink": 3, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "version": "1785990601", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:23:55 -0400 (0:00:00.709) 0:00:08.467 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:23:55 -0400 (0:00:00.031) 0:00:08.498 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ActiveEnterTimestampMonotonic": "282712364", "ActiveExitTimestamp": "Tue 2024-09-24 14:23:41 EDT", "ActiveExitTimestampMonotonic": "282467202", "ActiveState": "active", "After": "systemd-journald.socket basic.target polkit.service system.slice network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:23:42 EDT", "AssertTimestampMonotonic": "282562769", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ConditionTimestampMonotonic": "282562767", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service power-profiles-daemon.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": "9738", "ExecMainStartTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ExecMainStartTimestampMonotonic": "282564641", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:23:42 EDT] ; stop_time=[n/a] ; pid=9738 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:23:42 EDT", "InactiveEnterTimestampMonotonic": "282561518", "InactiveExitTimestamp": "Tue 2024-09-24 14:23:42 EDT", "InactiveExitTimestampMonotonic": "282564851", "InvocationID": "31a3c5a3dd5445af89e442fd6fe60962", "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": "9738", "MemoryAccounting": "yes", "MemoryCurrent": "17108992", "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.service sysinit.target 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": "Tue 2024-09-24 14:23:42 EDT", "StateChangeTimestampMonotonic": "282712364", "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": "Tue 2024-09-24 14:23:42 EDT", "WatchdogTimestampMonotonic": "282712361", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:23:56 -0400 (0:00:00.728) 0:00:09.227 ***** 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 : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:23:56 -0400 (0:00:00.460) 0:00:09.688 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdAo=", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:23:57 -0400 (0:00:00.456) 0:00:10.144 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:23:57 -0400 (0:00:00.018) 0:00:10.163 ***** changed: [managed-node1] => { "changed": true, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "8d80fe3f09ba4b9ac8d7fd5e8541a324", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "src": "/root/.ansible/tmp/ansible-tmp-1727202237.468253-9487-247814641737072/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:23:58 -0400 (0:00:00.671) 0:00:10.834 ***** changed: [managed-node1] => { "changed": true, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "cf3f2a865fbea819dadd439586eaee31", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "src": "/root/.ansible/tmp/ansible-tmp-1727202238.139242-9516-238049200961056/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:23:58 -0400 (0:00:00.678) 0:00:11.513 ***** ok: [managed-node1] => { "changed": false, "data": {} } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:23:59 -0400 (0:00:00.358) 0:00:11.871 ***** changed: [managed-node1] => { "changed": true, "checksum": "e44ba7fc7046252a1b6772f7347d0e7b9b48a069", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "7d83891795eeb6debeff7e2812501630", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 86, "src": "/root/.ansible/tmp/ansible-tmp-1727202239.1805544-9576-280193189297456/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:23:59 -0400 (0:00:00.716) 0:00:12.587 ***** changed: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ActiveEnterTimestampMonotonic": "282712364", "ActiveExitTimestamp": "Tue 2024-09-24 14:23:41 EDT", "ActiveExitTimestampMonotonic": "282467202", "ActiveState": "active", "After": "systemd-journald.socket basic.target polkit.service system.slice network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:23:42 EDT", "AssertTimestampMonotonic": "282562769", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ConditionTimestampMonotonic": "282562767", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service power-profiles-daemon.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": "9738", "ExecMainStartTimestamp": "Tue 2024-09-24 14:23:42 EDT", "ExecMainStartTimestampMonotonic": "282564641", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:23:42 EDT] ; stop_time=[n/a] ; pid=9738 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:23:42 EDT", "InactiveEnterTimestampMonotonic": "282561518", "InactiveExitTimestamp": "Tue 2024-09-24 14:23:42 EDT", "InactiveExitTimestampMonotonic": "282564851", "InvocationID": "31a3c5a3dd5445af89e442fd6fe60962", "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": "9738", "MemoryAccounting": "yes", "MemoryCurrent": "17108992", "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.service sysinit.target 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": "Tue 2024-09-24 14:23:42 EDT", "StateChangeTimestampMonotonic": "282712364", "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": "Tue 2024-09-24 14:23:42 EDT", "WatchdogTimestampMonotonic": "282712361", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:24:00 -0400 (0:00:00.737) 0:00:13.325 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:24:00 -0400 (0:00:00.015) 0:00:13.340 ***** included: /tmp/collections-RkM/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] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Tuesday 24 September 2024 14:24:00 -0400 (0:00:00.026) 0:00:13.367 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.111159", "end": "2024-09-24 14:24:01.139689", "rc": 0, "start": "2024-09-24 14:24:01.028530" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.565) 0:00:13.932 ***** 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] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.022) 0:00:13.955 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.018) 0:00:13.974 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.014) 0:00:13.988 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/tasks/main.yml:9 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.023) 0:00:14.012 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Cleanup role] ************************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:50 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.019) 0:00:14.032 ***** included: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed-node1 TASK [Show current tuned profile settings] ************************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.024) 0:00:14.057 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002682", "end": "2024-09-24 14:24:01.612890", "rc": 0, "start": "2024-09-24 14:24:01.610208" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.340) 0:00:14.397 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.040) 0:00:14.437 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.022) 0:00:14.460 ***** included: /tmp/collections-RkM/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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.022) 0:00:14.482 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.017) 0:00:14.499 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.014) 0:00:14.514 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.014) 0:00:14.528 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.016) 0:00:14.545 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.051) 0:00:14.596 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Tuesday 24 September 2024 14:24:01 -0400 (0:00:00.024) 0:00:14.621 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Tuesday 24 September 2024 14:24:04 -0400 (0:00:02.803) 0:00:17.425 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Tuesday 24 September 2024 14:24:04 -0400 (0:00:00.016) 0:00:17.441 ***** 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/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Tuesday 24 September 2024 14:24:04 -0400 (0:00:00.015) 0:00:17.456 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Tuesday 24 September 2024 14:24:04 -0400 (0:00:00.015) 0:00:17.471 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Tuesday 24 September 2024 14:24:05 -0400 (0:00:00.369) 0:00:17.840 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1727202240.4855566, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1727202238.7165434, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 917919, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1727202238.7165434, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 159, "uid": 0, "version": "1785990601", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Tuesday 24 September 2024 14:24:05 -0400 (0:00:00.698) 0:00:18.539 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Tuesday 24 September 2024 14:24:05 -0400 (0:00:00.019) 0:00:18.558 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ActiveEnterTimestampMonotonic": "301072668", "ActiveExitTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ActiveExitTimestampMonotonic": "300824137", "ActiveState": "active", "After": "systemd-journald.socket basic.target polkit.service system.slice network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:00 EDT", "AssertTimestampMonotonic": "300929185", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ConditionTimestampMonotonic": "300929183", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service power-profiles-daemon.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": "13055", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ExecMainStartTimestampMonotonic": "300930227", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:00 EDT] ; stop_time=[n/a] ; pid=13055 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:24:00 EDT", "InactiveEnterTimestampMonotonic": "300927387", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:00 EDT", "InactiveExitTimestampMonotonic": "300930291", "InvocationID": "3ffe73e60cea41fb89accba72592d7fe", "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": "13055", "MemoryAccounting": "yes", "MemoryCurrent": "15003648", "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.service sysinit.target 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": "Tue 2024-09-24 14:24:00 EDT", "StateChangeTimestampMonotonic": "301072668", "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": "Tue 2024-09-24 14:24:00 EDT", "WatchdogTimestampMonotonic": "301072665", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Tuesday 24 September 2024 14:24:06 -0400 (0:00:00.476) 0:00:19.034 ***** 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 : Get active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Tuesday 24 September 2024 14:24:06 -0400 (0:00:00.345) 0:00:19.380 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Tuesday 24 September 2024 14:24:06 -0400 (0:00:00.338) 0:00:19.718 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Tuesday 24 September 2024 14:24:07 -0400 (0:00:00.018) 0:00:19.737 ***** ok: [managed-node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Tuesday 24 September 2024 14:24:07 -0400 (0:00:00.593) 0:00:20.331 ***** ok: [managed-node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Tuesday 24 September 2024 14:24:08 -0400 (0:00:00.597) 0:00:20.929 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Tuesday 24 September 2024 14:24:08 -0400 (0:00:00.372) 0:00:21.302 ***** ok: [managed-node1] => { "changed": false, "checksum": "e44ba7fc7046252a1b6772f7347d0e7b9b48a069", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/tuned/kernel_settings/tuned.conf", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 86, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.647) 0:00:21.949 ***** skipping: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.019) 0:00:21.968 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.018) 0:00:21.987 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.015) 0:00:22.002 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.013) 0:00:22.016 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": false }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.017) 0:00:22.033 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nconf=/etc/tuned/kernel_settings/tuned.conf\nfor section in sysctl sysfs systemd vm; do\n if grep ^\\\\[\"$section\"\\\\] \"$conf\"; then\n echo ERROR: \"$section\" settings present\n rc=1\n fi\ndone\nexit \"$rc\"\n", "delta": "0:00:00.007034", "end": "2024-09-24 14:24:09.607945", "rc": 0, "start": "2024-09-24 14:24:09.600911" } STDERR: + exec + rc=0 + conf=/etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysctl\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysfs\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[systemd\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[vm\]' /etc/tuned/kernel_settings/tuned.conf + exit 0 TASK [Remove kernel_settings tuned profile] ************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Tuesday 24 September 2024 14:24:09 -0400 (0:00:00.368) 0:00:22.402 ***** changed: [managed-node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Tuesday 24 September 2024 14:24:10 -0400 (0:00:00.366) 0:00:22.768 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Ensure kernel_settings is not in active_profile] ************************* task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Tuesday 24 September 2024 14:24:10 -0400 (0:00:00.353) 0:00:23.122 ***** changed: [managed-node1] => { "changed": true, "checksum": "633f07e1b5698d04352d5dca735869bf2fe77897", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "9a561d913bcdb5a659ec2dd035975a8e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 14, "src": "/root/.ansible/tmp/ansible-tmp-1727202250.4452486-10161-204479596034994/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Tuesday 24 September 2024 14:24:11 -0400 (0:00:00.698) 0:00:23.821 ***** changed: [managed-node1] => { "changed": true, "checksum": "43683f4e92c48be4b00ddd86e011a4f27fcdbeb5", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "451e20aff0f489cd2f7d4d73533aa961", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1727202251.1244674-10190-117722098597533/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Tuesday 24 September 2024 14:24:11 -0400 (0:00:00.673) 0:00:24.494 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ActiveEnterTimestampMonotonic": "301072668", "ActiveExitTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ActiveExitTimestampMonotonic": "300824137", "ActiveState": "active", "After": "systemd-journald.socket basic.target polkit.service system.slice network.target systemd-sysctl.service sysinit.target dbus.service dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-09-24 14:24:00 EDT", "AssertTimestampMonotonic": "300929185", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ConditionTimestampMonotonic": "300929183", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service shutdown.target cpupower.service power-profiles-daemon.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": "13055", "ExecMainStartTimestamp": "Tue 2024-09-24 14:24:00 EDT", "ExecMainStartTimestampMonotonic": "300930227", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Tue 2024-09-24 14:24:00 EDT] ; stop_time=[n/a] ; pid=13055 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-09-24 14:24:00 EDT", "InactiveEnterTimestampMonotonic": "300927387", "InactiveExitTimestamp": "Tue 2024-09-24 14:24:00 EDT", "InactiveExitTimestampMonotonic": "300930291", "InvocationID": "3ffe73e60cea41fb89accba72592d7fe", "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": "13055", "MemoryAccounting": "yes", "MemoryCurrent": "14995456", "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.service sysinit.target 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": "Tue 2024-09-24 14:24:00 EDT", "StateChangeTimestampMonotonic": "301072668", "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": "Tue 2024-09-24 14:24:00 EDT", "WatchdogTimestampMonotonic": "301072665", "WatchdogUSec": "0" } } TASK [Cleanup test] ************************************************************ task path: /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:55 Tuesday 24 September 2024 14:24:12 -0400 (0:00:00.511) 0:00:25.006 ***** changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727202228.3619192-9004-8046650347361/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727202228.3619192-9004-8046650347361/source', '_original_basename': 'tmp76rw2wyl', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS-8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmp76rw2wyl", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727202228.3619192-9004-8046650347361/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202228.3619192-9004-8046650347361/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS-8.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727202229.1902828-9004-14269346980536/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727202229.1902828-9004-14269346980536/source', '_original_basename': 'tmptjg2n591', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS_8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmptjg2n591", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.1902828-9004-14269346980536/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.1902828-9004-14269346980536/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS_8.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727202229.6391447-9004-81034365798415/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727202229.6391447-9004-81034365798415/source', '_original_basename': 'tmpfi90l81l', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpfi90l81l", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.6391447-9004-81034365798415/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202229.6391447-9004-81034365798415/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node1 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727202230.2149568-9004-78562610114490/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727202230.2149568-9004-78562610114490/source', '_original_basename': 'tmpj8x51vt2', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpj8x51vt2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727202230.2149568-9004-78562610114490/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727202230.2149568-9004-78562610114490/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=51 changed=10 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Tuesday 24 September 2024 14:24:13 -0400 (0:00:00.964) 0:00:25.970 ***** =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.94s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.80s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Create var file in caller that can override the one in called role ------ 2.32s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:8 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:2 Cleanup test ------------------------------------------------------------ 0.96s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_include_vars_from_parent.yml:55 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 0.74s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.73s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.72s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.71s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Ensure kernel_settings is not in active_profile ------------------------- 0.70s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.70s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.68s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Set profile_mode to auto ------------------------------------------------ 0.67s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.67s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.65s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.60s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.59s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.57s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Restart tuned ----------------------------------------------------------- 0.51s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.48s /tmp/collections-RkM/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67