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,6 +1,6 @@
---
- name: Clone source
git:
ansible.builtin.git:
repo: https://github.com/bitlair/irc-bot.git
version: master
dest: /var/lib/irc-bot
@ -8,13 +8,13 @@
notify: restart irc-bot
- name: Link irc-say
file:
ansible.builtin.file:
state: link
src: /var/lib/irc-bot/irc-say
dest: /usr/local/bin/irc-say
- name: Install service file
template:
ansible.builtin.template:
src: generic.service
dest: /etc/systemd/system/irc-bot.service
owner: root
@ -26,19 +26,19 @@
notify: restart irc-bot
- name: Start irc-bot
systemd:
ansible.builtin.systemd:
name: irc-bot
state: started
enabled: yes
daemon_reload: true
- name: Create helpers dir
file:
ansible.builtin.file:
path: /var/lib/irc-helpers
state: directory
- name: Install photos notification
template:
ansible.builtin.template:
src: irc-photos.sh
dest: /var/lib/irc-helpers/photos.sh
owner: root
@ -47,7 +47,7 @@
notify: restart irc-photos
- name: Install photos notification service
template:
ansible.builtin.template:
src: generic.service
dest: /etc/systemd/system/irc-photos.service
owner: root
@ -60,14 +60,14 @@
notify: restart irc-photos
- name: Start irc-photos
systemd:
ansible.builtin.systemd:
name: irc-photos
state: started
enabled: yes
daemon_reload: true
- name: Install doorduino notification
template:
ansible.builtin.template:
src: irc-doorduino.sh
dest: /var/lib/irc-helpers/doorduino.sh
owner: root
@ -76,7 +76,7 @@
notify: restart irc-doorduino
- name: Install doorduino notification service
template:
ansible.builtin.template:
src: generic.service
dest: /etc/systemd/system/irc-doorduino.service
owner: root
@ -89,7 +89,7 @@
notify: restart irc-doorduino
- name: Start irc-doorduino
systemd:
ansible.builtin.systemd:
name: irc-doorduino
state: started
enabled: yes