3proxy/tasks/main.yml

24 lines
427 B
YAML
Raw Normal View History

2022-04-23 23:08:24 +03:00
---
2022-04-23 23:08:24 +03:00
- name: 3proxy | Install from aur
2022-04-24 00:37:29 +03:00
aur:
name: 3proxy
use: makepkg
skip_installed: yes
2022-04-23 23:08:24 +03:00
become: no
- name: 3proxy | Deploy configuration file
template:
src: 3proxy.cfg.j2
dest: /etc/3proxy/3proxy.cfg
mode: 0600
2022-04-23 23:08:24 +03:00
owner: threeproxy
group: threeproxy
notify: 3proxy | Reload configuration
- name: 3proxy | Enable and start
systemd:
name: 3proxy
enabled: yes
state: started