- name: "disable dmc on client instances" ini_file: dest: "{{ splunk_home }}/etc/apps/splunk_monitoring_console/local/app.conf" section: install option: "state" value: "disabled" become: yes become_user: "{{ splunk_user }}" when: "{{ groups.splunk_monitoring_console | length |int }} >= 1"