From 544abc1c2702ef816624e5c663ab832fdca30f15 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 9 May 2023 22:04:00 +0200 Subject: [PATCH] Rename automation host to mqtt --- inventories/z9/host_vars/{automation.yaml => mqtt.yaml} | 0 inventories/z9/hosts.yaml | 4 ++-- playbooks/deploy_automation.yaml | 5 ----- playbooks/deploy_mqtt.yaml | 5 +++++ 4 files changed, 7 insertions(+), 7 deletions(-) rename inventories/z9/host_vars/{automation.yaml => mqtt.yaml} (100%) delete mode 100644 playbooks/deploy_automation.yaml create mode 100644 playbooks/deploy_mqtt.yaml 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