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:
@@ -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
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
### Si vous souhaitez installer **nmap** :
|
||||||
|
1. **Créez un playbook** pour installer `nmap` sur les hôtes ciblés :
|
||||||
|
```yaml
|
||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user