{"id":7339,"sha1":"fe1c0e9a57e09ff50cc94bf165538dbbff6f68fc","playbook":{"id":5180,"items":{"plays":1,"tasks":1,"results":8,"hosts":8,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/hosts-backups-nodes"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["RM10126-backup-servers-tuned-install.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2026-02-25T08:14:44.514069Z","ended":"2026-02-25T08:14:52.454059Z","duration":"00:00:07.939990","name":null,"ansible_version":"2.16.13","client_version":"1.7.4","python_version":"3.10.10","server_version":"1.7.4","status":"completed","path":"/home/ssh-gateway/ansible/kuly/RM10126-backup-servers-tuned-install.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Playbook to install and config tuned on backup nodes\n  hosts: all\n  gather_facts: false\n  tasks:\n    - name: Install\n      ansible.builtin.shell: |\n        set -o pipefail\n        # dnf clean all\n        # dnf -y install tuned\n        systemctl enable --now tuned.service\n        mkdir -p /etc/tuned/ls-backup-node-tweaks/\n        mv /etc/tuned/ls-backup-node-tweaks/tuned.conf /etc/tuned/ls-backup-node-tweaks/tuned.conf.bak-$(date +%s)\n        cat > /etc/tuned/ls-backup-node-tweaks/tuned.conf << EOF\n        [main]\n        summary=LS optimized profile for Backup Servers\n\n        [sysctl]\n        vm.swappiness = 10\n\n        [scheduler]\n        runtime=0\n        sched_migration_cost_ns = 5000000\n        EOF\n        tuned-adm off\n        tuned-adm profile ls-backup-node-tweaks\n        tuned-adm active | grep ls-backup-node-tweaks && echo \"Profile ls-cr-tweaks is active\" || echo \"Profile ls-cr-tweaks is not active\"\n      args:\n        executable: /bin/bash\n      changed_when: false\n","created":"2026-02-25T08:14:44.549445Z","updated":"2026-02-25T08:14:44.549471Z","path":"/home/ssh-gateway/ansible/kuly/RM10126-backup-servers-tuned-install.yaml"}