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
+27
View File
@@ -0,0 +1,27 @@
---
# =============================================================================
# defaults/main.yml — Variables par défaut du rôle remote_users_fact
# =============================================================================
# Répertoire de destination des local facts
remote_users_fact_dir: /etc/ansible/facts.d
# Nom du script fact
remote_users_fact_name: remote_users.fact
# Propriétaire et groupe du fichier
remote_users_fact_owner: root
remote_users_fact_group: root
# Activer la validation post-déploiement (exécution + parsing JSON)
remote_users_fact_validate: true
# Activer l'affichage du résumé après déploiement
remote_users_fact_display_summary: true
# Verdicts considérés comme anormaux (déclenchent un warning)
remote_users_fact_warn_verdicts:
- WHO_SUP_TOTAL
- WHO_INF_TOTAL
- WHO_SEUL
- PROTO_SEUL