fix: use fqdp for fstrim script

This commit is contained in:
Simon Cornet 2025-06-03 08:00:15 +02:00
commit 2a8ee154cc

View file

@ -7,7 +7,7 @@ drone ansible.siempie.internal=(root) NOPASSWD:/usr/local/bin/ansible-playbook *
drone ansible.siempie.internal=(root) NOPASSWD:SETENV:/usr/bin/sh * drone ansible.siempie.internal=(root) NOPASSWD:SETENV:/usr/bin/sh *
{% endif %} {% endif %}
{% if inventory_hostname in groups['proxmox'] %} {% if inventory_hostname in groups['proxmox'] %}
drone {{ inventory_hostname }}=(root) NOPASSWD:./scripts/fstrim.sh drone {{ inventory_hostname }}=(root) NOPASSWD:/home/drone/scripts/fstrim.sh
{% endif %} {% endif %}
{% if inventory_hostname == 'mgmt01.infra.vpn.mirahsimon.us' %} {% if inventory_hostname == 'mgmt01.infra.vpn.mirahsimon.us' %}
drone mgmt01.siempie.internal=(simon) NOPASSWD:/usr/local/bin/kubectl * drone mgmt01.siempie.internal=(simon) NOPASSWD:/usr/local/bin/kubectl *