Commit c7ff858b by ansible

no message

1 parent 62f921f0
Showing with 2 additions and 2 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- hosts: all - hosts: all
become: true become: true
tasks: tasks:
- name: Add new administrator user in admin database - name: Add new user in admin database
mongodb_user: mongodb_user:
login_user: "{{ root }}" login_user: "{{ root }}"
login_password: "{{ password }}" login_password: "{{ password }}"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
roles: roles:
- { role: "userAdminAnyDatabase", db: "admin" } - { role: "userAdminAnyDatabase", db: "admin" }
- name: Create MongoDB WDCHAT and User - name: Create WDCHAT database and add new user
mongodb_user: mongodb_user:
login_user: "{{ wdobject }}" login_user: "{{ wdobject }}"
login_password: "{{ BBKaQWZpX43qN2Rn }}" login_password: "{{ BBKaQWZpX43qN2Rn }}"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!