8343-New-machine-id #48

Merged
xavi merged 40 commits from 8343-New-machine-id into main 2025-01-10 13:29:15 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 5f4a7c4cd6 - Show all commits

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
minFree=5 minFree=1
memFree=$(free --gibi | awk '$1 == "Mem:" { print $7 }') memFree=$(free --gibi | awk '$1 == "Mem:" { print $7 }')
if [ "$memFree" -le "$minFree" ]; then if [ "$memFree" -le "$minFree" ]; then

View File

@ -1,3 +1,6 @@
# Revisar /root/scripts/check-memory.sh --> No es óptimo hacer lo que hace ese programa
# Ver como lanzar el mysqltuner.pl
- name: Ensure Install requirements for MariaDB repository setup script - name: Ensure Install requirements for MariaDB repository setup script
apt: apt:
name: "{{ mariadb_requeriments }}" name: "{{ mariadb_requeriments }}"