From f768c973f8331680f15bc3d224ad56ef84e71c16 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sun, 2 Jun 2024 23:36:08 +0200 Subject: [PATCH] bitwarden --- playbooks/modify_tasmotas.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 playbooks/modify_tasmotas.yml diff --git a/playbooks/modify_tasmotas.yml b/playbooks/modify_tasmotas.yml new file mode 100644 index 0000000..bdab38a --- /dev/null +++ b/playbooks/modify_tasmotas.yml @@ -0,0 +1,9 @@ +- 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.160 \ No newline at end of file