Commit 5c98158d by Joseph Mulloy

Remove superfluous superuser creation OPS-2205

parent 254a4034
......@@ -228,20 +228,6 @@
- "manage"
- "manage:db"
- name: create super user
mongodb_user:
name: "{{ MONGO_ADMIN_USER }}"
password: "{{ MONGO_ADMIN_PASSWORD }}"
login_user: "{{ MONGO_ADMIN_USER }}"
login_password: "{{ MONGO_ADMIN_PASSWORD }}"
database: admin
roles: root
run_once: true
when: not initialize_replica_set
tags:
- "manage"
- "manage:db"
# Now that the localhost exemption has been used to create the superuser, we need
# to add replica set to our configuration. This will never happen if we detected
# a replica set in the 'determine if there is a replica set already' task.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment