File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 register : mongodb_mms_agent_loaded
66 when : ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
77
8+ - name : Install MMS agent (Debian)
9+ apt :
10+ deb : " {{mongodb_storage_dbpath}}/mms-agent.deb"
11+ when : mongodb_mms_agent_loaded.changed # and (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu')
12+
813- name : Download MMS Agent (RHEL)
914 get_url : url={{mongodb_mms_agent_pkg}} dest={{mongodb_storage_dbpath}}/mms-agent.rpm
1015 register : mongodb_mms_agent_loaded
1116 when : ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat'
1217
13- - name : Install MMS agent (Debian)
14- apt :
15- deb : " {{mongodb_storage_dbpath}}/mms-agent.deb"
16- when : mongodb_mms_agent_loaded.changed and (ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu')
17-
1818- name : Install MMS agent (RHEL)
1919 yum :
2020 name : " {{mongodb_storage_dbpath}}/mms-agent.rpm"
You can’t perform that action at this time.
0 commit comments