summaryrefslogtreecommitdiff
path: root/test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml')
-rw-r--r--test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml b/test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml
deleted file mode 100644
index a904a718b2..0000000000
--- a/test/integration/targets/mongodb_parameter/tasks/mongod_teardown.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-- name: Kill all mongod processes
- command: pkill -{{ kill_signal }} mongod
- ignore_errors: true
-
-- name: Getting pids for mongod
- pids:
- name: mongod
- register: pids_of_mongod
-
-- name: Wait for all mongod processes to exit
- wait_for:
- path: "/proc/{{ item }}/status"
- state: absent
- delay: 1
- with_items: "{{ pids_of_mongod }}"
-
-- name: Remove all mongod folders
- file:
- path: "{{ remote_tmp_dir }}/{{ item }}"
- state: absent
- with_items:
- - mongod3001
-
-- name: Remove all mongod sock files
- shell: rm -Rf /tmp/mongodb*.sock