Automated changes from linter ;P

This commit is contained in:
Mark Janssen 2024-07-11 20:47:52 +02:00
parent 44b73a216f
commit f7f04e7a41
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
65 changed files with 392 additions and 324 deletions

View file

@ -1,15 +1,16 @@
---
- name: Install dependencies
apt:
ansible.builtin.apt:
name:
- make
- liblinux-inotify2-perl
- name: Install mqtt-simple
command: cpan Net::MQTT::Simple
ansible.builtin.command:
cmd: cpan Net::MQTT::Simple
- name: Install photos2mqtt
template:
ansible.builtin.template:
src: photos2mqtt.pl
dest: /opt/photos2mqtt.pl
owner: root
@ -18,7 +19,7 @@
notify: restart photos2mqtt
- name: Install photos2mqtt service file
template:
ansible.builtin.template:
src: photos2mqtt.service
dest: /etc/systemd/system/photos2mqtt.service
owner: root
@ -27,7 +28,7 @@
notify: restart photos2mqtt
- name: Start photos2mqtt
systemd:
ansible.builtin.systemd:
name: photos2mqtt
state: started
enabled: yes