5 years ago
can't turn alert off for specific instances with Ansible
Hi Everyone,
The LogicMonitor module for Ansible has that specific parameter 'alertenable' while using 'datasource as target to turn off alerts for specific instance in datasource group. However it's not working for me. Did anyone ever tried to use that parameter?
https://docs.ansible.com/ansible/2.4/logicmonitor_module.html
--- - hosts: localhost vars: company: mycompany user: myusername password: mypassword tasks: - name: Create a host group logicmonitor: target: datasource action: update displaname: server.com alertenable: no id: 123 company: '{{ company }}' user: '{{ user }}' password: '{{ password }}'