feat(servers): Ajoute ansible_user et server_id et change ansible_connection en ssh.

This commit is contained in:
Serreau Jovann
2025-11-05 19:10:23 +01:00
parent 27ef70d9ef
commit c188ea380a

View File

@@ -1,4 +1,4 @@
[servers]
{% for server in servers %}
{{ server.externalIp}} ansible_connection=local ansible_python_interpreter=/usr/bin/python3 path=/var/www/watchdog
{{ server.externalIp}} ansible_connection=ssh ansible_user=bot server_id={{ server.id }} ansible_python_interpreter=/usr/bin/python3 path=/var/www/watchdog
{% endfor %}