Ajouter agent2_ansible au registre + config ansible agent1

- agents_registry.json : ajout de agent2_ansible avec sa spécialité
- ansible/ : configuration de base (ansible.cfg + inventaire template)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 16:21:05 +00:00
parent 144f481320
commit 8bd69a4b2e
3 changed files with 21 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
[defaults]
inventory = /opt/agent/ansible/inventory
roles_path = /opt/agent/ansible/roles
host_key_checking = False
retry_files_enabled = False
stdout_callback = yaml
timeout = 60
[privilege_escalation]
become = False
become_method = sudo
+4
View File
@@ -0,0 +1,4 @@
### Si vous souhaitez installer **nmap** :
1. **Créez un playbook** pour installer `nmap` sur les hôtes ciblés :
```yaml
+6
View File
@@ -4,5 +4,11 @@
"mqtt_inbox" : "agents/agent2_debian13/inbox", "mqtt_inbox" : "agents/agent2_debian13/inbox",
"mqtt_outbox" : "agents/agent1/inbox", "mqtt_outbox" : "agents/agent1/inbox",
"speciality" : "Administration Debian : apt, dpkg, systemd, conteneurs LXC/Docker, KVM, réseau, sécurité système" "speciality" : "Administration Debian : apt, dpkg, systemd, conteneurs LXC/Docker, KVM, réseau, sécurité système"
},
"agent2_ansible": {
"jid" : "agent2_ansible@xmpp.ovh",
"mqtt_inbox" : "agents/agent2_ansible/inbox",
"mqtt_outbox" : "agents/agent1/inbox",
"speciality" : "Automatisation infrastructure via Ansible : playbooks, commandes ad-hoc, déploiement multi-hôtes, gestion de configuration sur le réseau local"
} }
} }