Commit e90469c8 authored by bow's avatar bow
Browse files

Rename mongodb tasks for consistency

parent f8a4ecfc
......@@ -26,7 +26,7 @@
service: name={{ mongodb_daemon_name }} state=restarted
when: root_user_exists|changed or admin_user_exists|changed
- name: create database root user if missing
- name: create database root user if not present
mongodb_user:
database: admin
name: "{{ item.name }}"
......@@ -42,7 +42,7 @@
}
when: root_user_exists|changed
- name: create database admin user if missing
- name: create database admin user if not present
mongodb_user:
database: admin
name: "{{ item.name }}"
......@@ -58,7 +58,7 @@
}
when: admin_user_exists|changed
- name: create other users
- name: create other users if not present
mongodb_user:
database: "{{ item.database }}"
name: "{{ item.name }}"
......
Supports Markdown
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