diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-13 18:25:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-13 18:25:43 +0000 |
| commit | 1a3437af594ea24ee0c6fc016ac526aa23f4eb1b (patch) | |
| tree | c17cb177f70f98f327d69fd224b579c6f07e0ee2 | |
| parent | 6d03a0581996546116834d4296d86f4294419e0a (diff) | |
| parent | e6d38854d6c371123e7c8cba6d65b9facc6b97f4 (diff) | |
| download | kolla-1a3437af594ea24ee0c6fc016ac526aa23f4eb1b.tar.gz kolla-1a3437af594ea24ee0c6fc016ac526aa23f4eb1b.zip | |
Merge "Copy mongodb_bootstrap_replication_set.js to /tmp on the deployment host"
| -rw-r--r-- | ansible/roles/mongodb/tasks/bootstrap_cluster.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ansible/roles/mongodb/tasks/bootstrap_cluster.yml b/ansible/roles/mongodb/tasks/bootstrap_cluster.yml index 8d445f36f..31068f8b9 100644 --- a/ansible/roles/mongodb/tasks/bootstrap_cluster.yml +++ b/ansible/roles/mongodb/tasks/bootstrap_cluster.yml @@ -1,7 +1,6 @@ --- - 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 |
