ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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_change_settings.yml ******************************************** 1 plays in /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Monday 26 August 2024 15:39:28 -0400 (0:00:00.030) 0:00:00.030 ********* ok: [managed_node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Monday 26 August 2024 15:39:29 -0400 (0:00:01.083) 0:00:01.114 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Monday 26 August 2024 15:39:30 -0400 (0:00:00.656) 0:00:01.770 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Monday 26 August 2024 15:39:30 -0400 (0:00:00.091) 0:00:01.862 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Monday 26 August 2024 15:39:31 -0400 (0:00:01.063) 0:00:02.926 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Monday 26 August 2024 15:39:31 -0400 (0:00:00.407) 0:00:03.334 ********* ok: [managed_node1] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Monday 26 August 2024 15:39:31 -0400 (0:00:00.120) 0:00:03.455 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Monday 26 August 2024 15:39:32 -0400 (0:00:00.552) 0:00:04.007 ********* changed: [managed_node1] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1724701172.32-10948-134906689566123/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Monday 26 August 2024 15:39:38 -0400 (0:00:05.907) 0:00:09.915 ********* changed: [managed_node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:21 EDT", "ActiveEnterTimestampMonotonic": "317276681", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:21 EDT", "ActiveExitTimestampMonotonic": "316861615", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service system.slice basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:21 EDT", "AssertTimestampMonotonic": "317158547", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:21 EDT", "ConditionTimestampMonotonic": "317158545", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9960", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:21 EDT", "ExecMainStartTimestampMonotonic": "317159213", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:21 EDT] ; stop_time=[n/a] ; pid=9960 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-08-26 15:39:21 EDT", "InactiveEnterTimestampMonotonic": "317154265", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:21 EDT", "InactiveExitTimestampMonotonic": "317159243", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9960", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:21 EDT", "WatchdogTimestampMonotonic": "317276631", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Monday 26 August 2024 15:39:39 -0400 (0:00:01.279) 0:00:11.195 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:39:39 -0400 (0:00:00.189) 0:00:11.384 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:39:39 -0400 (0:00:00.064) 0:00:11.449 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:39:39 -0400 (0:00:00.060) 0:00:11.510 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:39:39 -0400 (0:00:00.106) 0:00:11.616 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:39:39 -0400 (0:00:00.085) 0:00:11.701 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:39:40 -0400 (0:00:00.081) 0:00:11.783 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:39:40 -0400 (0:00:00.391) 0:00:12.175 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:39:40 -0400 (0:00:00.063) 0:00:12.239 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:39:40 -0400 (0:00:00.073) 0:00:12.313 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:39:41 -0400 (0:00:00.761) 0:00:13.075 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:39:41 -0400 (0:00:00.077) 0:00:13.153 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:39:41 -0400 (0:00:00.066) 0:00:13.219 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:39:41 -0400 (0:00:00.075) 0:00:13.295 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:39:42 -0400 (0:00:00.719) 0:00:14.014 ********* 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": 1724701179.2255871, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701172.1875167, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1724701172.1875167, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:39:43 -0400 (0:00:00.901) 0:00:14.916 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:39:43 -0400 (0:00:00.072) 0:00:14.989 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ActiveEnterTimestampMonotonic": "334533226", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ActiveExitTimestampMonotonic": "334288289", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service system.slice basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:39 EDT", "AssertTimestampMonotonic": "334318463", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ConditionTimestampMonotonic": "334318462", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10838", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ExecMainStartTimestampMonotonic": "334319096", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:39 EDT] ; stop_time=[n/a] ; pid=10838 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-08-26 15:39:39 EDT", "InactiveEnterTimestampMonotonic": "334318052", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:39 EDT", "InactiveExitTimestampMonotonic": "334319132", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10838", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:39 EDT", "WatchdogTimestampMonotonic": "334533176", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:39:43 -0400 (0:00:00.538) 0:00:15.527 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:39:44 -0400 (0:00:00.518) 0:00:16.046 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:39:44 -0400 (0:00:00.664) 0:00:16.710 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:39:45 -0400 (0:00:00.064) 0:00:16.775 ********* 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-1724701185.1-11787-213872698781361/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:39:45 -0400 (0:00:00.670) 0:00:17.445 ********* 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-1724701185.77-11813-192919287743301/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:39:46 -0400 (0:00:00.722) 0:00:18.168 ********* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724", "kernel.threads-max": "29968", "vm.max_map_count": "65530" }, "sysfs": { "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:39:46 -0400 (0:00:00.340) 0:00:18.509 ********* changed: [managed_node1] => { "changed": true, "checksum": "3feaf86b2638623e3300792e683ce55f91f31e9a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "ba6aeb244f15eac2bcf15c0dd41fdff5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1724701186.85-11867-94804670371191/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:39:47 -0400 (0:00:00.918) 0:00:19.427 ********* changed: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ActiveEnterTimestampMonotonic": "334533226", "ActiveExitTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ActiveExitTimestampMonotonic": "334288289", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service system.slice basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:39:39 EDT", "AssertTimestampMonotonic": "334318463", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ConditionTimestampMonotonic": "334318462", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10838", "ExecMainStartTimestamp": "Mon 2024-08-26 15:39:39 EDT", "ExecMainStartTimestampMonotonic": "334319096", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:39:39 EDT] ; stop_time=[n/a] ; pid=10838 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-08-26 15:39:39 EDT", "InactiveEnterTimestampMonotonic": "334318052", "InactiveExitTimestamp": "Mon 2024-08-26 15:39:39 EDT", "InactiveExitTimestampMonotonic": "334319132", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10838", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:39:39 EDT", "WatchdogTimestampMonotonic": "334533176", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:39:48 -0400 (0:00:00.851) 0:00:20.279 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:39:48 -0400 (0:00:00.076) 0:00:20.356 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:39:48 -0400 (0:00:00.090) 0:00:20.446 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.083820", "end": "2024-08-26 15:39:49.305891", "rc": 0, "start": "2024-08-26 15:39:49.222071" } STDOUT: Verfication 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:39:49 -0400 (0:00:00.677) 0:00:21.124 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:39:49 -0400 (0:00:00.062) 0:00:21.186 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:39:49 -0400 (0:00:00.054) 0:00:21.240 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:39:49 -0400 (0:00:00.030) 0:00:21.271 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Monday 26 August 2024 15:39:49 -0400 (0:00:00.060) 0:00:21.331 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Monday 26 August 2024 15:39:49 -0400 (0:00:00.063) 0:00:21.394 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Monday 26 August 2024 15:39:49 -0400 (0:00:00.053) 0:00:21.448 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003531", "end": "2024-08-26 15:39:49.982276", "rc": 0, "start": "2024-08-26 15:39:49.978745" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Monday 26 August 2024 15:39:50 -0400 (0:00:00.366) 0:00:21.814 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005201", "end": "2024-08-26 15:39:50.361084", "rc": 0, "start": "2024-08-26 15:39:50.355883" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Monday 26 August 2024 15:39:50 -0400 (0:00:00.406) 0:00:22.221 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004908", "end": "2024-08-26 15:39:50.801069", "rc": 0, "start": "2024-08-26 15:39:50.796161" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Monday 26 August 2024 15:39:50 -0400 (0:00:00.413) 0:00:22.634 ********* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Monday 26 August 2024 15:40:14 -0400 (0:00:23.855) 0:00:46.490 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006738", "end": "2024-08-26 15:40:14.565306", "rc": 0, "start": "2024-08-26 15:40:14.558568" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Monday 26 August 2024 15:40:15 -0400 (0:00:00.371) 0:00:46.861 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003160", "end": "2024-08-26 15:40:14.940109", "rc": 0, "start": "2024-08-26 15:40:14.936949" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Monday 26 August 2024 15:40:15 -0400 (0:00:00.375) 0:00:47.237 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005053", "end": "2024-08-26 15:40:15.373087", "rc": 0, "start": "2024-08-26 15:40:15.368034" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Monday 26 August 2024 15:40:15 -0400 (0:00:00.439) 0:00:47.677 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.093548", "end": "2024-08-26 15:40:15.868911", "rc": 0, "start": "2024-08-26 15:40:15.775363" } STDOUT: Verfication succeeded, current system settings match the preset profile. See tuned log file ('/var/log/tuned/tuned.log') for details. TASK [Apply role again and remove settings] ************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Monday 26 August 2024 15:40:16 -0400 (0:00:00.482) 0:00:48.160 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:40:16 -0400 (0:00:00.075) 0:00:48.236 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:40:16 -0400 (0:00:00.049) 0:00:48.285 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:40:16 -0400 (0:00:00.034) 0:00:48.320 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:40:16 -0400 (0:00:00.043) 0:00:48.363 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:40:16 -0400 (0:00:00.039) 0:00:48.403 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:40:16 -0400 (0:00:00.040) 0:00:48.444 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:40:16 -0400 (0:00:00.041) 0:00:48.485 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:40:16 -0400 (0:00:00.041) 0:00:48.526 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:40:16 -0400 (0:00:00.055) 0:00:48.582 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:40:17 -0400 (0:00:00.664) 0:00:49.246 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:40:17 -0400 (0:00:00.041) 0:00:49.287 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:40:17 -0400 (0:00:00.041) 0:00:49.328 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:40:17 -0400 (0:00:00.041) 0:00:49.370 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:40:17 -0400 (0:00:00.288) 0:00:49.658 ********* 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": 1724701188.3576787, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701186.3516586, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1724701186.3516586, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:40:18 -0400 (0:00:00.698) 0:00:50.357 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:40:18 -0400 (0:00:00.044) 0:00:50.402 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:40:09 EDT", "ActiveEnterTimestampMonotonic": "7554163", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:40:08 EDT", "AssertTimestampMonotonic": "7183331", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ConditionTimestampMonotonic": "7183326", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "867", "ExecMainStartTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ExecMainStartTimestampMonotonic": "7185340", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:40:08 EDT] ; stop_time=[n/a] ; pid=867 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:40:08 EDT", "InactiveExitTimestampMonotonic": "7185379", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "867", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:40:09 EDT", "WatchdogTimestampMonotonic": "7553611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:40:19 -0400 (0:00:00.443) 0:00:50.845 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:40:19 -0400 (0:00:00.451) 0:00:51.297 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:40:19 -0400 (0:00:00.345) 0:00:51.642 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:40:19 -0400 (0:00:00.044) 0:00:51.687 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:40:25 -0400 (0:00:05.575) 0:00:57.262 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:40:26 -0400 (0:00:00.497) 0:00:57.759 ********* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:40:26 -0400 (0:00:00.416) 0:00:58.175 ********* changed: [managed_node1] => { "changed": true, "checksum": "221aa34fef95c2fe05408be9921820449785a5b2", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "9c36ebcc135366fa59ab6f2f2da76a73", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 351, "src": "/root/.ansible/tmp/ansible-tmp-1724701226.48-12865-236748351300888/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:40:27 -0400 (0:00:00.669) 0:00:58.845 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:40:27 -0400 (0:00:00.044) 0:00:58.889 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.902621", "end": "2024-08-26 15:40:29.375485", "rc": 0, "start": "2024-08-26 15:40:27.472864" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:40:29 -0400 (0:00:02.312) 0:01:01.202 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:40:29 -0400 (0:00:00.056) 0:01:01.258 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.084380", "end": "2024-08-26 15:40:29.866885", "rc": 0, "start": "2024-08-26 15:40:29.782505" } STDOUT: Verfication 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:40:29 -0400 (0:00:00.411) 0:01:01.670 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:40:29 -0400 (0:00:00.040) 0:01:01.711 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:40:29 -0400 (0:00:00.040) 0:01:01.751 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:40:30 -0400 (0:00:00.020) 0:01:01.771 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Monday 26 August 2024 15:40:30 -0400 (0:00:00.042) 0:01:01.814 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Monday 26 August 2024 15:40:30 -0400 (0:00:00.043) 0:01:01.858 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Monday 26 August 2024 15:40:30 -0400 (0:00:00.043) 0:01:01.901 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005239", "end": "2024-08-26 15:40:30.372290", "rc": 0, "start": "2024-08-26 15:40:30.367051" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Monday 26 August 2024 15:40:30 -0400 (0:00:00.280) 0:01:02.181 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:40:30 -0400 (0:00:00.089) 0:01:02.271 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:40:30 -0400 (0:00:00.096) 0:01:02.368 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:40:30 -0400 (0:00:00.066) 0:01:02.435 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:40:30 -0400 (0:00:00.044) 0:01:02.479 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:40:30 -0400 (0:00:00.041) 0:01:02.521 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:40:30 -0400 (0:00:00.041) 0:01:02.562 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:40:30 -0400 (0:00:00.041) 0:01:02.604 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:40:30 -0400 (0:00:00.041) 0:01:02.645 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:40:30 -0400 (0:00:00.056) 0:01:02.702 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:40:31 -0400 (0:00:00.599) 0:01:03.302 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:40:31 -0400 (0:00:00.041) 0:01:03.343 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:40:31 -0400 (0:00:00.041) 0:01:03.384 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:40:31 -0400 (0:00:00.041) 0:01:03.426 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:40:32 -0400 (0:00:00.347) 0:01:03.773 ********* 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": 1724701188.3576787, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701186.3516586, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1724701186.3516586, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:40:32 -0400 (0:00:00.595) 0:01:04.369 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:40:32 -0400 (0:00:00.045) 0:01:04.415 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:40:09 EDT", "ActiveEnterTimestampMonotonic": "7554163", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:40:08 EDT", "AssertTimestampMonotonic": "7183331", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ConditionTimestampMonotonic": "7183326", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "867", "ExecMainStartTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ExecMainStartTimestampMonotonic": "7185340", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:40:08 EDT] ; stop_time=[n/a] ; pid=867 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:40:08 EDT", "InactiveExitTimestampMonotonic": "7185379", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "867", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:40:09 EDT", "WatchdogTimestampMonotonic": "7553611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:40:33 -0400 (0:00:00.414) 0:01:04.829 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:40:33 -0400 (0:00:00.293) 0:01:05.122 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:40:33 -0400 (0:00:00.305) 0:01:05.427 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:40:33 -0400 (0:00:00.045) 0:01:05.473 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:40:34 -0400 (0:00:00.493) 0:01:05.967 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:40:34 -0400 (0:00:00.557) 0:01:06.524 ********* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:40:35 -0400 (0:00:00.389) 0:01:06.914 ********* changed: [managed_node1] => { "changed": true, "checksum": "3107bf46f5c007ef178305bb243dd11664f9bf35", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "1fd7f2202613b516022cf613601e26bd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1724701235.21-13072-279053083634192/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:40:35 -0400 (0:00:00.610) 0:01:07.525 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:40:35 -0400 (0:00:00.046) 0:01:07.571 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.318830", "end": "2024-08-26 15:40:37.403830", "rc": 0, "start": "2024-08-26 15:40:36.085000" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:40:37 -0400 (0:00:01.638) 0:01:09.209 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:40:37 -0400 (0:00:00.061) 0:01:09.271 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.081802", "end": "2024-08-26 15:40:37.856426", "rc": 0, "start": "2024-08-26 15:40:37.774624" } STDOUT: Verfication 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:40:37 -0400 (0:00:00.388) 0:01:09.660 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:40:37 -0400 (0:00:00.041) 0:01:09.701 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:40:37 -0400 (0:00:00.041) 0:01:09.742 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:40:38 -0400 (0:00:00.021) 0:01:09.763 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Monday 26 August 2024 15:40:38 -0400 (0:00:00.044) 0:01:09.808 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Monday 26 August 2024 15:40:38 -0400 (0:00:00.044) 0:01:09.853 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Monday 26 August 2024 15:40:38 -0400 (0:00:00.044) 0:01:09.897 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005981", "end": "2024-08-26 15:40:38.464178", "rc": 0, "start": "2024-08-26 15:40:38.458197" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Monday 26 August 2024 15:40:38 -0400 (0:00:00.379) 0:01:10.277 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003171", "end": "2024-08-26 15:40:38.751827", "rc": 0, "start": "2024-08-26 15:40:38.748656" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Monday 26 August 2024 15:40:38 -0400 (0:00:00.278) 0:01:10.555 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:40:38 -0400 (0:00:00.106) 0:01:10.661 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:40:38 -0400 (0:00:00.040) 0:01:10.701 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:40:38 -0400 (0:00:00.032) 0:01:10.734 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:40:39 -0400 (0:00:00.043) 0:01:10.778 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:40:39 -0400 (0:00:00.041) 0:01:10.819 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:40:39 -0400 (0:00:00.040) 0:01:10.860 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:40:39 -0400 (0:00:00.043) 0:01:10.904 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:40:39 -0400 (0:00:00.043) 0:01:10.948 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:40:39 -0400 (0:00:00.057) 0:01:11.006 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:40:39 -0400 (0:00:00.632) 0:01:11.638 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:40:39 -0400 (0:00:00.042) 0:01:11.680 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:40:39 -0400 (0:00:00.042) 0:01:11.722 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:40:40 -0400 (0:00:00.042) 0:01:11.765 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:40:40 -0400 (0:00:00.375) 0:01:12.140 ********* 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": 1724701188.3576787, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701186.3516586, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1724701186.3516586, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:40:41 -0400 (0:00:00.628) 0:01:12.768 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:40:41 -0400 (0:00:00.044) 0:01:12.813 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:40:09 EDT", "ActiveEnterTimestampMonotonic": "7554163", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:40:08 EDT", "AssertTimestampMonotonic": "7183331", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ConditionTimestampMonotonic": "7183326", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "867", "ExecMainStartTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ExecMainStartTimestampMonotonic": "7185340", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:40:08 EDT] ; stop_time=[n/a] ; pid=867 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:40:08 EDT", "InactiveExitTimestampMonotonic": "7185379", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "867", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:40:09 EDT", "WatchdogTimestampMonotonic": "7553611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:40:41 -0400 (0:00:00.387) 0:01:13.200 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:40:41 -0400 (0:00:00.419) 0:01:13.620 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:40:42 -0400 (0:00:00.407) 0:01:14.027 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:40:42 -0400 (0:00:00.045) 0:01:14.073 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:40:42 -0400 (0:00:00.553) 0:01:14.627 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:40:43 -0400 (0:00:00.552) 0:01:15.179 ********* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:40:43 -0400 (0:00:00.397) 0:01:15.577 ********* changed: [managed_node1] => { "changed": true, "checksum": "0b586509c0bdce12a2dde058e3374dab88cf7f2c", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "394928e588644c456053f3dec5f7c2ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1724701243.88-13291-103348870709619/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:40:44 -0400 (0:00:00.589) 0:01:16.167 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:40:44 -0400 (0:00:00.045) 0:01:16.212 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.737904", "end": "2024-08-26 15:40:46.435438", "rc": 0, "start": "2024-08-26 15:40:44.697534" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:40:46 -0400 (0:00:02.027) 0:01:18.240 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:40:46 -0400 (0:00:00.057) 0:01:18.298 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.082344", "end": "2024-08-26 15:40:46.901785", "rc": 0, "start": "2024-08-26 15:40:46.819441" } STDOUT: Verfication 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:40:46 -0400 (0:00:00.410) 0:01:18.708 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:40:46 -0400 (0:00:00.042) 0:01:18.751 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:40:47 -0400 (0:00:00.042) 0:01:18.793 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:40:47 -0400 (0:00:00.021) 0:01:18.814 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Monday 26 August 2024 15:40:47 -0400 (0:00:00.045) 0:01:18.859 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Monday 26 August 2024 15:40:47 -0400 (0:00:00.044) 0:01:18.904 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Monday 26 August 2024 15:40:47 -0400 (0:00:00.044) 0:01:18.949 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005536", "end": "2024-08-26 15:40:47.460854", "rc": 0, "start": "2024-08-26 15:40:47.455318" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Monday 26 August 2024 15:40:47 -0400 (0:00:00.315) 0:01:19.265 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003129", "end": "2024-08-26 15:40:47.759726", "rc": 0, "start": "2024-08-26 15:40:47.756597" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Monday 26 August 2024 15:40:47 -0400 (0:00:00.344) 0:01:19.609 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Monday 26 August 2024 15:40:47 -0400 (0:00:00.066) 0:01:19.676 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002908", "end": "2024-08-26 15:40:48.203653", "rc": 0, "start": "2024-08-26 15:40:48.200745" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [vm] transparent_hugepages = never TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Monday 26 August 2024 15:40:48 -0400 (0:00:00.359) 0:01:20.036 ********* TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Monday 26 August 2024 15:40:48 -0400 (0:00:00.056) 0:01:20.092 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Monday 26 August 2024 15:40:48 -0400 (0:00:00.048) 0:01:20.141 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Monday 26 August 2024 15:40:48 -0400 (0:00:00.037) 0:01:20.178 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Monday 26 August 2024 15:40:48 -0400 (0:00:00.044) 0:01:20.222 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Monday 26 August 2024 15:40:48 -0400 (0:00:00.041) 0:01:20.264 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Monday 26 August 2024 15:40:48 -0400 (0:00:00.041) 0:01:20.306 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Monday 26 August 2024 15:40:48 -0400 (0:00:00.046) 0:01:20.353 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Monday 26 August 2024 15:40:48 -0400 (0:00:00.042) 0:01:20.395 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Monday 26 August 2024 15:40:48 -0400 (0:00:00.057) 0:01:20.452 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Monday 26 August 2024 15:40:49 -0400 (0:00:00.540) 0:01:20.993 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Monday 26 August 2024 15:40:49 -0400 (0:00:00.042) 0:01:21.036 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Monday 26 August 2024 15:40:49 -0400 (0:00:00.042) 0:01:21.079 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Monday 26 August 2024 15:40:49 -0400 (0:00:00.042) 0:01:21.121 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Monday 26 August 2024 15:40:49 -0400 (0:00:00.315) 0:01:21.436 ********* 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": 1724701188.3576787, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1724701186.3516586, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1724701186.3516586, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Monday 26 August 2024 15:40:50 -0400 (0:00:00.631) 0:01:22.068 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Monday 26 August 2024 15:40:50 -0400 (0:00:00.046) 0:01:22.114 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:40:09 EDT", "ActiveEnterTimestampMonotonic": "7554163", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:40:08 EDT", "AssertTimestampMonotonic": "7183331", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ConditionTimestampMonotonic": "7183326", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "867", "ExecMainStartTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ExecMainStartTimestampMonotonic": "7185340", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:40:08 EDT] ; stop_time=[n/a] ; pid=867 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:40:08 EDT", "InactiveExitTimestampMonotonic": "7185379", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "867", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:40:09 EDT", "WatchdogTimestampMonotonic": "7553611", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Monday 26 August 2024 15:40:50 -0400 (0:00:00.404) 0:01:22.518 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Monday 26 August 2024 15:40:51 -0400 (0:00:00.341) 0:01:22.859 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Monday 26 August 2024 15:40:51 -0400 (0:00:00.304) 0:01:23.163 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Monday 26 August 2024 15:40:51 -0400 (0:00:00.046) 0:01:23.210 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Monday 26 August 2024 15:40:51 -0400 (0:00:00.537) 0:01:23.748 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Monday 26 August 2024 15:41:02 -0400 (0:00:10.693) 0:01:34.441 ********* ok: [managed_node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "vm": { "transparent_hugepages": "never" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Monday 26 August 2024 15:41:03 -0400 (0:00:00.321) 0:01:34.763 ********* 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-1724701263.07-13551-210927251123492/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Monday 26 August 2024 15:41:03 -0400 (0:00:00.619) 0:01:35.382 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Monday 26 August 2024 15:41:03 -0400 (0:00:00.046) 0:01:35.429 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.525241", "end": "2024-08-26 15:41:05.470998", "rc": 0, "start": "2024-08-26 15:41:03.945757" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Monday 26 August 2024 15:41:05 -0400 (0:00:01.847) 0:01:37.276 ********* included: /tmp/collections-Wph/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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Monday 26 August 2024 15:41:05 -0400 (0:00:00.058) 0:01:37.335 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.082968", "end": "2024-08-26 15:41:05.934870", "rc": 0, "start": "2024-08-26 15:41:05.851902" } STDOUT: Verfication 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Monday 26 August 2024 15:41:05 -0400 (0:00:00.407) 0:01:37.742 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Monday 26 August 2024 15:41:06 -0400 (0:00:00.040) 0:01:37.783 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Monday 26 August 2024 15:41:06 -0400 (0:00:00.041) 0:01:37.824 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Monday 26 August 2024 15:41:06 -0400 (0:00:00.020) 0:01:37.845 ********* ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Monday 26 August 2024 15:41:06 -0400 (0:00:00.043) 0:01:37.888 ********* 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.007216", "end": "2024-08-26 15:41:06.455172", "rc": 0, "start": "2024-08-26 15:41:06.447956" } 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Monday 26 August 2024 15:41:06 -0400 (0:00:00.415) 0:01:38.304 ********* changed: [managed_node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Monday 26 August 2024 15:41:06 -0400 (0:00:00.348) 0:01:38.653 ********* 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-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Monday 26 August 2024 15:41:07 -0400 (0:00:00.304) 0:01:38.957 ********* 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-1724701267.26-13636-259876028899117/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Monday 26 August 2024 15:41:07 -0400 (0:00:00.600) 0:01:39.557 ********* 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-1724701267.86-13655-29466418590597/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Monday 26 August 2024 15:41:08 -0400 (0:00:00.721) 0:01:40.278 ********* ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-08-26 15:40:09 EDT", "ActiveEnterTimestampMonotonic": "7554163", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice basic.target dbus.service systemd-journald.socket systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-08-26 15:40:08 EDT", "AssertTimestampMonotonic": "7183331", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ConditionTimestampMonotonic": "7183326", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "867", "ExecMainStartTimestamp": "Mon 2024-08-26 15:40:08 EDT", "ExecMainStartTimestampMonotonic": "7185340", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Mon 2024-08-26 15:40:08 EDT] ; stop_time=[n/a] ; pid=867 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-08-26 15:40:08 EDT", "InactiveExitTimestampMonotonic": "7185379", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "867", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Mon 2024-08-26 15:40:09 EDT", "WatchdogTimestampMonotonic": "7553611", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=135 changed=19 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Monday 26 August 2024 15:41:08 -0400 (0:00:00.464) 0:01:40.743 ********* =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 23.86s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual -- 10.69s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Generate a configuration for kernel settings ---------------------------- 5.91s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 5.58s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.31s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.03s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.85s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.64s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Ensure required services are enabled and started ------------------------ 1.28s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Ensure required packages are installed ---------------------------------- 1.06s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.92s /tmp/collections-Wph/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.90s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 0.85s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.76s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.72s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Set profile_mode to auto ------------------------------------------------ 0.72s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 fedora.linux_system_roles.kernel_settings : Read tuned main config ------ 0.72s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.70s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.68s /tmp/collections-Wph/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2