Skip to content
Snippets Groups Projects
Commit 1a3437af authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Copy mongodb_bootstrap_replication_set.js to /tmp on the deployment host"

parents 6d03a058 e6d38854
No related branches found
No related tags found
No related merge requests found
---
- name: Copying the mongodb replication set bootstrap script
template: src=bootstrap_cluster.js.j2 dest=/tmp/mongodb_bootstrap_replication_set.js
delegate_to: "{{ groups['mongodb'][0] }}"
local_action: template src=bootstrap_cluster.js.j2 dest=/tmp/mongodb_bootstrap_replication_set.js
run_once: True
- name: Bootstraping the mongodb replication set
......@@ -12,8 +11,7 @@
run_once: True
- name: Deleting the mongodb replication set bootstrap script
file: path=/tmp/mongodb_bootstrap_replication_set.js state=absent
local_action: file path=/tmp/mongodb_bootstrap_replication_set.js state=absent
changed_when: false
failed_when: false
delegate_to: "{{ groups['mongodb'][0] }}"
run_once: True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment