mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
27 lines
674 B
YAML
27 lines
674 B
YAML
- hosts: nas
|
|
name: Reconfigure espresense
|
|
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://192.168.77.150
|
|
|
|
method: POST
|
|
body_format: form-urlencoded
|
|
body:
|
|
language: "en"
|
|
room: "worker1"
|
|
wifi_timeout: ""
|
|
portal_timeout: ""
|
|
mqtt_host: "192.168.77.106"
|
|
mqtt_port: "1883"
|
|
mqtt_user: "jaydee"
|
|
mqtt_pass: "jaydee1"
|
|
discovery: "1"
|
|
discovery_prefix: ""
|
|
pub_tele: "1"
|
|
pub_rooms: "1"
|
|
pub_devices: "1"
|
|
update: ""
|
|
ignore_errors: true
|