docker_container to mongo auth

11 views
Skip to first unread message

15911...@163.com

unread,
Nov 6, 2018, 6:18:59 AM11/6/18
to Ansible Project

Why can I only add admin tables? I try to change to other or nonexistent tables.


- mongodb_user:

    database: admin #update is error

    name: pangu

    password: sdvxcdlskadlk1231c

    state: present

    roles:

      - db: aitc_matrix

        role: userAdmin

Reply all
Reply to author
Forward
0 new messages