feat(ansible-role-remote_users_fact) first commit

This commit is contained in:
2026-04-13 23:25:51 +02:00
commit 51f19b678f
11 changed files with 478 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
---
# =============================================================================
# inventories/hosts.yml — Exemple d'inventaire
# =============================================================================
all:
children:
ssh_servers:
hosts:
srv-linux-01:
ansible_host: 192.168.1.10
srv-linux-02:
ansible_host: 192.168.1.11
citrix_servers:
hosts:
ctx-vda-01:
ansible_host: 192.168.2.10
ctx-vda-02:
ansible_host: 192.168.2.11
vars:
# Optionnel : surcharger les verdicts d'alerte pour Citrix
# car WHO_INF_TOTAL est fréquent (apps publiées sans TTY)
remote_users_fact_warn_verdicts:
- WHO_SUP_TOTAL
- WHO_SEUL
horizon_servers:
hosts:
hrz-agent-01:
ansible_host: 192.168.3.10
hrz-agent-02:
ansible_host: 192.168.3.11
vars:
ansible_user: ansible
ansible_become: true
ansible_become_method: sudo