Skip to content

Commit

Permalink
fix: cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
plh97 committed May 31, 2023
1 parent b71f364 commit 7620a67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
user: root
gather_facts: False
tasks:
- name: Get running containers
docker_host_info:
containers: yes
register: docker_info
- name: Stop running containers
docker_container:
name: "{{ item }}"
Expand Down

0 comments on commit 7620a67

Please sign in to comment.