2022-04-23 23:08:24 +03:00
|
|
|
---
|
2022-03-08 03:48:56 +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
|
2022-04-24 00:43:53 +03:00
|
|
|
state: present
|
2022-04-24 00:37:29 +03:00
|
|
|
use: makepkg
|
2022-04-23 23:08:24 +03:00
|
|
|
become: no
|
2022-03-08 03:48:56 +03:00
|
|
|
|
|
|
|
- name: 3proxy | Deploy configuration file
|
|
|
|
template:
|
2022-04-24 00:50:16 +03:00
|
|
|
src: "{{ threeproxy_config_template }}"
|
2022-03-08 03:48:56 +03:00
|
|
|
dest: /etc/3proxy/3proxy.cfg
|
|
|
|
mode: 0600
|
2022-04-23 23:08:24 +03:00
|
|
|
owner: threeproxy
|
|
|
|
group: threeproxy
|
2022-03-08 03:48:56 +03:00
|
|
|
notify: 3proxy | Reload configuration
|
|
|
|
|
|
|
|
- name: 3proxy | Enable and start
|
|
|
|
systemd:
|
|
|
|
name: 3proxy
|
|
|
|
enabled: yes
|
|
|
|
state: started
|