24 lines
443 B
YAML
24 lines
443 B
YAML
---
|
|
|
|
- name: 3proxy | Install from aur
|
|
aur:
|
|
name: 3proxy
|
|
state: present
|
|
use: makepkg
|
|
become: no
|
|
|
|
- name: 3proxy | Deploy configuration file
|
|
template:
|
|
src: "{{ threeproxy_config_template }}"
|
|
dest: /etc/3proxy/3proxy.cfg
|
|
mode: 0600
|
|
owner: threeproxy
|
|
group: threeproxy
|
|
notify: 3proxy | Reload configuration
|
|
|
|
- name: 3proxy | Enable and start
|
|
systemd:
|
|
name: 3proxy
|
|
enabled: yes
|
|
state: started
|