diff --git a/mongodb-org-3.2/tasks/ganglia-plugin.yml b/mongodb-org-3.2/tasks/ganglia-plugin.yml index ea86333f..0f0d7774 100644 --- a/mongodb-org-3.2/tasks/ganglia-plugin.yml +++ b/mongodb-org-3.2/tasks/ganglia-plugin.yml @@ -4,13 +4,13 @@ # - name: Install the ganglia plugin for MongoDB copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444 - when: ganglia_plugin + when: ganglia_enabled notify: Restart ganglia monitor tags: [ 'ganglia', 'mongodb' ] - name: Distribute the ganglia (gmond) configuration for the MongoDB plugin template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444 - when: ganglia_plugin + when: ganglia_enabled notify: Restart ganglia monitor tags: [ 'ganglia', 'mongodb' ] diff --git a/mongodb-org-3/tasks/ganglia-plugin.yml b/mongodb-org-3/tasks/ganglia-plugin.yml index ea86333f..0f0d7774 100644 --- a/mongodb-org-3/tasks/ganglia-plugin.yml +++ b/mongodb-org-3/tasks/ganglia-plugin.yml @@ -4,13 +4,13 @@ # - name: Install the ganglia plugin for MongoDB copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444 - when: ganglia_plugin + when: ganglia_enabled notify: Restart ganglia monitor tags: [ 'ganglia', 'mongodb' ] - name: Distribute the ganglia (gmond) configuration for the MongoDB plugin template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444 - when: ganglia_plugin + when: ganglia_enabled notify: Restart ganglia monitor tags: [ 'ganglia', 'mongodb' ]