Skip to content

refactor: remove rust-based agent templates and standardize worker unit naming#226

Merged
l50 merged 2 commits into
mainfrom
chore/cleanup-templates
Apr 21, 2026
Merged

refactor: remove rust-based agent templates and standardize worker unit naming#226
l50 merged 2 commits into
mainfrom
chore/cleanup-templates

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented Apr 21, 2026

Key Changes:

  • Removed all Rust-based agent and orchestrator Warp Gate templates and documentation
  • Updated all EC2 and Ansible deployment scripts to use ares@{role}.service systemd unit naming instead of ares-worker@{role}.service
  • Standardized GPU template documentation and references for agent images
  • Improved Ansible lint configuration to exclude external collection-dependent paths

Added:

  • Exclusion of playbooks and meta directories in Ansible lint config to avoid errors when external collections are unavailable locally

Changed:

  • Worker systemd unit naming standardized from ares-worker@{role}.service to ares@{role}.service across all EC2 deployment scripts, status checks, and environment reloads
  • Ansible role for Redis now deploys ares@.service template instead of ares-worker@.service
  • Documentation for GPU agent templates now references ares-cracker-agent-gpu consistently, dropping the "rust" prefix
  • Minor documentation corrections to blue agent templates, ensuring consistent naming with the new convention and removing references to "Rust" agent variants
  • Improved comments and inline documentation for excluded Ansible lint paths

Removed:

  • All Rust-based agent and orchestrator Warp Gate templates and associated documentation:
    • ares-rust-worker, ares-rust-orchestrator, ares-rust-blue-agent, ares-rust-blue-triage-agent, ares-rust-blue-threat-hunter-agent, ares-rust-blue-lateral-analyst-agent
    • ares-rust-recon-agent, ares-rust-cracker-agent, ares-rust-cracker-agent-gpu, ares-rust-credential-access-agent, ares-rust-lateral-movement-agent, ares-rust-privesc-agent, ares-rust-acl-agent, ares-rust-coercion-agent, ares-rust-cli
    • All associated warpgate.yaml files and Markdown READMEs in warpgate-templates/templates/ares-rust-*
  • Systemd template for ares-worker@.service (now replaced by ares@.service) in all roles and EC2 setup scripts

… unit

**Added:**

- Excluded additional ansible paths from ansible-lint for roles dependent on dreadnode.nimbus_range

**Changed:**

- Renamed all `ares-rust-*` agent templates and documentation to `ares-*` (dropping "rust-" prefix) for consistency with non-rust agents and simplified naming in warpgate-templates and related README files
- Updated all references to systemd unit `ares-worker@.service` to `ares@.service` in EC2 task scripts, setup, status, and ansible redis role to align with new unit naming convention
- Corrected template names, image tags, and example usage in blue agent, lateral analyst agent, triage agent, threat hunter agent, and cracker agent GPU documentation to reflect the new naming
- Fixed comment and matrix logic in `build-and-push-templates.yaml` for GPU agent template names

**Removed:**

- Deleted all `ares-rust-*` agent template directories, including their `README.md` and `warpgate.yaml` files, consolidating to the new `ares-*` naming convention to avoid duplication and confusion
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added area/pre-commit Changes made to pre-commit hooks area/templates Changes made to warpgate template configurations area/github Changes made to GitHub Actions workflows labels Apr 21, 2026
**Changed:**

- Removed exclusions for several ansible playbooks and roles, expanding lint coverage in `.hooks/ansible/ansible-lint.yaml`
- Cleaned up comments and unnecessary lines in the ansible-lint configuration
@l50 l50 merged commit e22c8cf into main Apr 21, 2026
16 checks passed
@l50 l50 deleted the chore/cleanup-templates branch April 21, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made to GitHub Actions workflows area/pre-commit Changes made to pre-commit hooks area/templates Changes made to warpgate template configurations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant