File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 33
33
password : " {{ mongodb_user_admin_password }}" ,
34
34
roles : " userAdminAnyDatabase"
35
35
}
36
+ no_log : true
36
37
37
38
- name : create administrative user siteRootAdmin
38
39
mongodb_user :
48
49
password : " {{ mongodb_root_admin_password }}" ,
49
50
roles : " root"
50
51
}
52
+ no_log : true
51
53
52
54
- name : create backup user "backupuser"
53
55
mongodb_user :
63
65
password : " {{ mongodb_root_backup_password }}" ,
64
66
roles : " backup,clusterMonitor"
65
67
}
68
+ no_log : true
66
69
67
70
- name : Move back mongod.conf
68
71
template : src=mongod.conf.j2 dest=/etc/mongod.conf owner=root group=root mode=0644
Original file line number Diff line number Diff line change 33
33
when : ( mongodb_security_authorization == 'enabled'
34
34
and (not mongodb_replication_replset
35
35
or mongodb_replication_replset == '') )
36
+ no_log : true
36
37
tags : [mongodb]
37
38
38
39
- name : Include authorization configuration
60
61
and mongodb_replication_replset != ''
61
62
and mongodb_security_authorization == 'enabled'
62
63
and mongodb_master is defined and mongodb_master )
64
+ no_log : true
63
65
tags : [mongodb]
64
66
65
67
- name : create normal users without replicaset
77
79
when : ( mongodb_security_authorization == 'enabled'
78
80
and (not mongodb_replication_replset
79
81
or mongodb_replication_replset == '') )
82
+ no_log : true
80
83
tags : [mongodb]
81
84
82
85
- name : Include MMS Agent configuration
You can’t perform that action at this time.
0 commit comments