Skip to content

Commit

Permalink
updated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
andif888 committed Oct 26, 2024
1 parent 531a309 commit 72f5786
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tasks/remove.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
- name: remove_docker_container {{ docker_container_dependencytrack_frontend_name }}
community.general.docker_container:
community.docker.docker_container:
name: "{{ docker_container_dependencytrack_frontend_name }}"
container_default_behavior: no_defaults
keep_volumes: "{{ docker_container_dependencytrack_frontend_keep_volumes | default('yes') }}"
keep_volumes: "{{ docker_container_dependencytrack_frontend_keep_volumes | default(true) }}"
state: absent

- name: remove_docker_container {{ docker_container_dependencytrack_apiserver_name }}
community.general.docker_container:
community.docker.docker_container:
name: "{{ docker_container_dependencytrack_apiserver_name }}"
container_default_behavior: no_defaults
keep_volumes: "{{ docker_container_dependencytrack_apiserver_keep_volumes | default('yes') }}"
keep_volumes: "{{ docker_container_dependencytrack_apiserver_keep_volumes | default(true) }}"
state: absent

- name: remove_docker_container {{ docker_container_dependencytrack_db_name }}
community.general.docker_container:
community.docker.docker_container:
name: "{{ docker_container_dependencytrack_db_name }}"
container_default_behavior: no_defaults
keep_volumes: "{{ docker_container_dependencytrack_db_keep_volumes | default('yes') }}"
keep_volumes: "{{ docker_container_dependencytrack_db_keep_volumes | default(true) }}"
state: absent

- name: remove_docker_network {{ docker_network_dependencytrack_name }}
community.general.docker_network:
community.docker.docker_network:
name: "{{ docker_network_dependencytrack_name }}"
force: yes
state: absent

0 comments on commit 72f5786

Please sign in to comment.