diff --git a/inventories/z9/host_vars/automation.yaml b/inventories/z9/host_vars/mqtt.yaml similarity index 100% rename from inventories/z9/host_vars/automation.yaml rename to inventories/z9/host_vars/mqtt.yaml diff --git a/inventories/z9/hosts.yaml b/inventories/z9/hosts.yaml index 1ba3d2f..bf7e510 100644 --- a/inventories/z9/hosts.yaml +++ b/inventories/z9/hosts.yaml @@ -5,8 +5,8 @@ all: light: ansible_host: light.z9.ccchh.net ansible_user: root - automation: - ansible_host: automation.z9.ccchh.net + mqtt: + ansible_host: mqtt.z9.ccchh.net esphome: ansible_host: esphome.z9.ccchh.net zigbee2mqtt: diff --git a/playbooks/deploy_automation.yaml b/playbooks/deploy_automation.yaml deleted file mode 100644 index 48e6de2..0000000 --- a/playbooks/deploy_automation.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Deploy mosquitto MQTT broker on automation.z9 - hosts: automation - roles: - - mosquitto diff --git a/playbooks/deploy_mqtt.yaml b/playbooks/deploy_mqtt.yaml new file mode 100644 index 0000000..af433a3 --- /dev/null +++ b/playbooks/deploy_mqtt.yaml @@ -0,0 +1,5 @@ +--- +- name: Deploy mosquitto MQTT broker on mqtt.z9.ccchh.net + hosts: mqtt + roles: + - mosquitto