ansible/playbooks/modify_tasmotas.yml
2024-06-02 23:39:05 +02:00

9 lines
363 B
YAML

- hosts: nas
name: Reconfigure tasmotas
ignore_unreachable: false
tasks:
- name: Check that you can connect (GET) to a page and it returns a status 200
ansible.builtin.uri:
url: http://{{ item }}/cm?cmnd=Backlog%20MqttHost%20{{ MQTT_BROKER }}%3BMqttUser%20{{ MQTT_USER }}%3BMqttPassword%20{{ MQTT_PASS }}
with_items:
- 192.168.77.188