Execution
Date 27 Aug 2025 11:49:20 +0100
Duration 00:00:06.09
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
24 Hosts
1 Tasks
24 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/zz-tuned.yaml

---
- name: Tuned parameters
  hosts: all
  gather_facts: false
  tasks:
    - name: Get the active profile
      ansible.builtin.shell: |
        set -o pipefail
        # sysctl vm.swappiness
        # tuned-adm active
        # rpm -q tuned
        rpm -q numad
      args:
        executable: /bin/bash
      register: aaa
      # changed_when: "'virtual-guest' not in aaa.stdout"
      # changed_when: "'vm.swappiness = 0' not in aaa.stdout"
      changed_when: false