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: