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,12 +1,12 @@
---
- name: Install dependencies
apt:
ansible.builtin.apt:
name:
- python3-mastodon
- python3-paho-mqtt
- name: Clone source
git:
ansible.builtin.git:
repo: https://github.com/bitlair/mastodon-spacestate.git
version: main
dest: /var/lib/mastodon-spacestate
@ -14,7 +14,7 @@
notify: restart mastodon-spacestate
- name: Install config
template:
ansible.builtin.template:
src: mastodon-spacestate-config.py
dest: /var/lib/mastodon-spacestate/config.py
owner: root
@ -23,7 +23,7 @@
notify: restart mastodon-spacestate
- name: Install service file
template:
ansible.builtin.template:
src: mastodon-spacestate.service
dest: /etc/systemd/system/mastodon-spacestate.service
owner: root
@ -32,7 +32,7 @@
notify: restart mastodon-spacestate
- name: Start mastodon-spacestate
systemd:
ansible.builtin.systemd:
name: mastodon-spacestate
state: started
enabled: yes