docs: rewrite README with structured overview and quick start guide
Replaces the minimal project description with a comprehensive README including a component overview table, quick start instructions, common Ansible operations, and links to detailed documentation. Aligns with Red Panda Approval™ standards.
This commit is contained in:
32
ansible/argos/remove.yml
Normal file
32
ansible/argos/remove.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
- name: Remove Argos from Dev Environment
|
||||
hosts: ubuntu
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Check if host has argos service
|
||||
ansible.builtin.set_fact:
|
||||
has_argos_service: "{{ 'argos' in services | default([]) }}"
|
||||
|
||||
- name: Skip hosts without argos service
|
||||
ansible.builtin.meta: end_host
|
||||
when: not has_argos_service
|
||||
|
||||
- name: Stop and remove Docker containers, volumes, and images
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{argos_directory}}"
|
||||
state: absent
|
||||
remove_images: all
|
||||
remove_volumes: true
|
||||
|
||||
- name: Prune Docker images
|
||||
ansible.builtin.docker_prune:
|
||||
images: true
|
||||
images_filters:
|
||||
dangling: false
|
||||
|
||||
- name: Remove Argos directory
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: "{{argos_directory}}"
|
||||
state: absent
|
||||
Reference in New Issue
Block a user