ansible / ansible-examples

A few starter examples of ansible playbooks, to show features and how they work together. See http://galaxy.ansible.com for example roles from the Ansible community for deploying many popular applications.
11.64k stars 7.69k forks source link

Getting error in mongod role #206

Open Manojvv opened 7 years ago

Manojvv commented 7 years ago

I am getting the error(photo attached), when i run the task

- name: Initialize the replication set
  shell: /usr/bin/mongo --port "{{ mongod_port }}" /tmp/repset_init.js

Please help me with this screen shot 2017-08-08 at 2 42 55 pm

scheerchrs commented 6 years ago

Drill down, "connection refused". Is the 2701 port in use? Zombied process hanging on to the port? Think simply sometimes.