From f879be8c8422c5a08f23037d419eac6750e50804 Mon Sep 17 00:00:00 2001 From: Mark Janssen Date: Wed, 31 Jul 2024 22:25:14 +0200 Subject: [PATCH] Mqtt --- roles/photos/tasks/photos2mqtt.yaml | 4 ++-- roles/services/tasks/spacestated.yaml | 4 ++-- roles/www/tasks/mqtt.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/photos/tasks/photos2mqtt.yaml b/roles/photos/tasks/photos2mqtt.yaml index 9e6e7b6..b21f81f 100644 --- a/roles/photos/tasks/photos2mqtt.yaml +++ b/roles/photos/tasks/photos2mqtt.yaml @@ -6,8 +6,8 @@ - liblinux-inotify2-perl - name: Install mqtt-simple - community.general.cpanm: - name: Net::MQTT::Simple + ansible.builtin.apt: + name: libnet-mqtt-simple-perl/testing - name: Install photos2mqtt ansible.builtin.template: diff --git a/roles/services/tasks/spacestated.yaml b/roles/services/tasks/spacestated.yaml index dc92977..7e5bda1 100644 --- a/roles/services/tasks/spacestated.yaml +++ b/roles/services/tasks/spacestated.yaml @@ -8,8 +8,8 @@ - make - name: Install mqtt-simple - community.general.cpanm: - name: Net::MQTT::Simple + ansible.builtin.apt: + name: libnet-mqtt-simple-perl/testing - name: Add user ansible.builtin.user: diff --git a/roles/www/tasks/mqtt.yaml b/roles/www/tasks/mqtt.yaml index 44edb96..d5d2d29 100644 --- a/roles/www/tasks/mqtt.yaml +++ b/roles/www/tasks/mqtt.yaml @@ -8,8 +8,8 @@ - mosquitto - name: Install mqtt-simple - community.general.cpanm: - name: "Net::MQTT::Simple" + ansible.builtin.apt: + name: libnet-mqtt-simple-perl/testing - name: Clone mqtt2web source ansible.builtin.git: