create relayd role and enable it for proxy group
This commit is contained in:
parent
0a8c59335a
commit
180dae44a4
4 changed files with 28 additions and 0 deletions
16
roles/relayd/tasks/main.yml
Normal file
16
roles/relayd/tasks/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
|
||||
- name: copy relayd config
|
||||
template:
|
||||
dest: /etc/relayd.conf
|
||||
src: relayd.conf.j2
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart relayd
|
||||
|
||||
- name: enable relayd service
|
||||
service:
|
||||
name: relayd
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue