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,10 +1,10 @@
---
- name: Install dependencies
apt:
ansible.builtin.apt:
name: [ nodejs, npm, imagemagick, graphicsmagick, ffmpeg ]
- name: Clone source
git:
ansible.builtin.git:
repo: https://github.com/bitlair/photo-gallery.git
version: master
dest: /opt/photo-gallery
@ -12,7 +12,7 @@
notify: restart photo-gallery
- name: Install photo-gallery config file
template:
ansible.builtin.template:
src: photo-gallery-config.json
dest: /opt/photo-gallery/config.json
owner: root
@ -21,7 +21,7 @@
notify: restart photo-gallery
- name: Install photo-gallery service file
template:
ansible.builtin.template:
src: photo-gallery.service
dest: /etc/systemd/system/photo-gallery.service
owner: root
@ -30,7 +30,7 @@
notify: restart photo-gallery
- name: Start photo-gallery
systemd:
ansible.builtin.systemd:
name: photo-gallery
state: started
enabled: yes