Commit 14bd0357 by Feanil Patel

Ensure that mongo starts at boot.

parent 4997b7c9
...@@ -270,7 +270,6 @@ ...@@ -270,7 +270,6 @@
service: service:
name: mongod name: mongod
state: restarted state: restarted
enabled: true
when: MONGO_CLUSTERED and initialize_replica_set when: MONGO_CLUSTERED and initialize_replica_set
tags: tags:
- "install" - "install"
......
...@@ -319,3 +319,12 @@ ...@@ -319,3 +319,12 @@
- "manage" - "manage"
- "manage:db" - "manage:db"
- "manage:db-replication" - "manage:db-replication"
- name: ensure mongo starts at boot time
service:
name: mongod
enabled: yes
tags:
- "manage"
- "manage:start"
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