Debian Codegraph @

ansible_collections/community/mongodb/roles/mongodb_auth/defaults/main.yml

raw
1 ---
2 # defaults file for mongodb_auth
3 mongod_host: "localhost"
4 mongod_port: 27017
5 mongod_package: "mongodb-org-server"
6
7 authorization: "enabled"
8
9 # when adding auth, the login credentials to use
10 mongodb_admin_user: admin
11 # For production use - please change the admin password!
12 mongodb_admin_pwd: "{{ mongodb_default_admin_pwd }}"
13 # The default is separate so other roles can provide a default without overriding a user provided password.
14 mongodb_default_admin_pwd: admin
15 # allow for alternate admin roles (e.g. userAdminAnyDatabase)
16 mongodb_admin_roles: "root"
17
18 # Additional users to add.
19 mongodb_users: []
20 # - db: somedatabase
21 # user: someuser
22 # pwd: "S0meP@ss"
23 # state: present # can be omitted
24 # roles: readWrite # if omitted "readWrite" will be used
25
26 # whether to force a password update for any users in mongodb_users
27 # Setting this to yes will result in 'changed' on every run, even if the password is the same.
28 # See the comment in tasks/main.yml for more details.
29 mongodb_force_update_password: no
30
31 mongodb_use_tls: false
32
33 mongodb_create_for_localhost_exception: /root/mongodb_admin.success