forked from bitlair/ansible
services: Add irc-doorduino
This commit is contained in:
parent
7eea8662da
commit
0e75ce25c5
4 changed files with 71 additions and 0 deletions
|
@ -58,3 +58,28 @@
|
|||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: true
|
||||
|
||||
- name: Install doorduino notification
|
||||
template:
|
||||
src: irc-doorduino.sh
|
||||
dest: /var/lib/irc-helpers/doorduino.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
notify: restart irc-doorduino
|
||||
|
||||
- name: Install doorduino notification service
|
||||
template:
|
||||
src: irc-doorduino.service
|
||||
dest: /etc/systemd/system/irc-doorduino.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart irc-doorduino
|
||||
|
||||
- name: Start irc-doorduino
|
||||
systemd:
|
||||
name: irc-doorduino
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue