chore: add AGENTS.md for opencode agents
This commit is contained in:
parent
f9275cd3e3
commit
4982cb385f
1 changed files with 39 additions and 0 deletions
39
AGENTS.md
Normal file
39
AGENTS.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Agents
|
||||
|
||||
This role installs and configures Zabbix Agent 2 for host monitoring.
|
||||
|
||||
## Role Analysis
|
||||
|
||||
- **Type**: Monitoring agent role
|
||||
- **OS Support**: Debian 12, SLES 15, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS
|
||||
- **Deployment Method**: Direct (package installation)
|
||||
- **Scope**: Zabbix agent installation and configuration
|
||||
|
||||
## Key Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `zabbix_agent_hostinterface` | `inventory_hostname` | Agent interface |
|
||||
| `zabbix_agent_hostname` | `inventory_hostname` | Host name in Zabbix |
|
||||
| `zabbix_agent_listen_port` | `10050` | Listen port |
|
||||
| `zabbix_agent_psk_enable` | `true` | Enable PSK encryption |
|
||||
| `zabbix_agent_psk_id` | (required if PSK enabled) | PSK identity |
|
||||
| `zabbix_agent_psk` | (required if PSK enabled) | PSK secret |
|
||||
| `zabbix_proxy_address` | `shared.proxy.monitor.itcreation.tools` | Zabbix proxy |
|
||||
| `zabbix_proxy_port` | `10051` | Proxy port |
|
||||
| `zabbix_user_sudo` | `true` | Enable sudo for agent |
|
||||
|
||||
## Tags
|
||||
|
||||
| Tag | Purpose |
|
||||
|-----|---------|
|
||||
| `zabbix_agent_config` | Manage agent configuration |
|
||||
| `zabbix_agent_install` | Manage agent installation |
|
||||
| `zabbix_agent_prereq` | Manage prerequisites |
|
||||
|
||||
## Testing
|
||||
|
||||
```bash
|
||||
ansible-lint
|
||||
molecule test
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue