Intial Commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
- name: Clean OCI Stack
|
||||
hosts: Docker
|
||||
tasks:
|
||||
|
||||
- name: Stop containers using Docker Compose
|
||||
ansible.builtin.command:
|
||||
cmd: docker compose down
|
||||
chdir: ~/docker
|
||||
ignore_errors: true
|
||||
|
||||
- name: Remove build folder
|
||||
ansible.builtin.file:
|
||||
state: absent
|
||||
path: ~/docker/
|
||||
force: true
|
||||
Reference in New Issue
Block a user