refactor: remove rust-based agent templates and standardize worker unit naming#226
Merged
Conversation
… 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
**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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Key Changes:
ares@{role}.servicesystemd unit naming instead ofares-worker@{role}.serviceAdded:
Changed:
ares-worker@{role}.servicetoares@{role}.serviceacross all EC2 deployment scripts, status checks, and environment reloadsares@.servicetemplate instead ofares-worker@.serviceares-cracker-agent-gpuconsistently, dropping the "rust" prefixRemoved:
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-agentares-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-cliwarpgate.yamlfiles and Markdown READMEs inwarpgate-templates/templates/ares-rust-*ares-worker@.service(now replaced byares@.service) in all roles and EC2 setup scripts