This directory contains Ansible automation for ai management and operations.
The AI automation provides playbooks and roles for managing and configuring ai infrastructure and services.
| Role | Description |
|---|---|
| ai_communication | Role for ai communication |
| ai_communication_advanced | Role for ai communication advanced |
| check_cpu | Role for check cpu |
| check_status | Role for check status |
| lightspeed_api | Role for lightspeed api |
| rhai_playbook | Role for rhai playbook |
| start_granite | Role for start granite |
| stop_granite | Role for stop granite |
| Playbook | Description | Target Hosts |
|---|---|---|
| ai_communication.yml | Playbook for ai communication | localhost |
| ai_communication_advanced.yml | Playbook for ai communication advanced | localhost |
| check_cpu.yml | Playbook for check cpu | {{ vm_name }} |
| check_status.yml | Playbook for check status | {{ vm_name }} |
| lightspeed-request.yml | Playbook for lightspeed-request | localhost |
| lightspeed-response.yml | Playbook for lightspeed-response | datadog.shadowman.dev |
| redhatai_playbook.yml | Playbook for redhatai playbook | localhost |
| startmodel.yml | Playbook for startmodel | ai.shadowman.dev |
| stopmode.yml | Playbook for stopmode | ai.shadowman.dev |
# Run a playbook
ansible-navigator run ai_communication.yml
# Run in stdout mode
ansible-navigator run ai_communication.yml -m stdout- hosts: target_hosts
roles:
- ai_communication- Ansible 2.9 or higher (via ansible-navigator)
- Required collections (see
collections/requirements.ymlif present) - Appropriate access credentials configured via environment variables
Ansible-AI/
├── roles/ # Ansible roles
├── *.yml # Playbooks
├── collections/ # Collection dependencies (if present)
└── ansible-navigator.yml # Navigator configuration