mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-30 00:28:00 +01:00
32 lines
582 B
YAML
32 lines
582 B
YAML
|
---
|
||
|
#
|
||
|
# Configures OpenTracker.
|
||
|
#
|
||
|
|
||
|
- name: Create config directory
|
||
|
file:
|
||
|
path: "{{ opentracker.conf }}"
|
||
|
state: directory
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Copy config file
|
||
|
template:
|
||
|
src: config
|
||
|
dest: "{{ opentracker.conf }}/config"
|
||
|
mode: 0644
|
||
|
notify: Restart OpenTracker
|
||
|
|
||
|
- name: Copy whitelist file
|
||
|
copy:
|
||
|
src: whitelist
|
||
|
dest: "{{ opentracker.conf }}/whitelist"
|
||
|
mode: 0644
|
||
|
notify: Restart OpenTracker
|
||
|
|
||
|
- name: Install service
|
||
|
template:
|
||
|
src: service
|
||
|
dest: /etc/systemd/system/opentracker.service
|
||
|
mode: 0644
|
||
|
notify: Restart OpenTracker
|