You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
466 B
YAML
18 lines
466 B
YAML
4 years ago
|
---
|
||
|
- name: Copy proxy config file
|
||
|
template:
|
||
|
src: "lgproxy.cfg.j2"
|
||
|
dest: "{{ bird_lg_install_path }}/lgproxy.cfg"
|
||
|
notify: restart proxy
|
||
|
|
||
|
- name: Add systemd service file for bird-lg-proxy
|
||
|
template:
|
||
|
src: "bird-lg-proxy.service.j2"
|
||
|
dest: "/etc/systemd/system/bird-lg-proxy.service"
|
||
|
|
||
|
- name: Ensure bird-lg-proxy systemd service is enabled and running
|
||
|
systemd:
|
||
|
name: "bird-lg-proxy"
|
||
|
daemon_reload: yes
|
||
|
enabled: yes
|
||
|
state: started
|