File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
- name : Download MMS Agent (RHEL)
9
9
get_url : url={{mongodb_mms_agent_pkg}} dest={{mongodb_storage_dbpath}}/mms-agent.rpm
10
10
register : mongodb_mms_agent_loaded
11
- when : ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux '
11
+ when : ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat '
12
12
13
13
- name : Install MMS agent (Debian)
14
- apt :
14
+ apt :
15
15
deb : " {{mongodb_storage_dbpath}}/mms-agent.deb"
16
16
when : mongodb_mms_agent_loaded.changed and (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu')
17
17
18
18
- name : Install MMS agent (RHEL)
19
19
yum :
20
20
name : " {{mongodb_storage_dbpath}}/mms-agent.rpm"
21
21
state : present
22
- when : mongodb_mms_agent_loaded.changed and (ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux ')
22
+ when : mongodb_mms_agent_loaded.changed and (ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat ')
23
23
24
24
- name : Configure the MMS agent pt. 1
25
25
file : state=directory path=/etc/mongodb-mms owner={{mongodb_user}} group={{mongodb_user}} mode=0755
You can’t perform that action at this time.
0 commit comments