forked from bitlair/ansible
Automated changes from linter ;P
This commit is contained in:
parent
44b73a216f
commit
f7f04e7a41
65 changed files with 392 additions and 324 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue