26 lines
590 B
YAML
26 lines
590 B
YAML
---
|
|||
|
|
- name: reload nftables
|
||
|
|
ansible.builtin.command: nft -f /etc/nftables.conf
|
||
|
|
|
||
|
|
- name: restart dnsmasq
|
||
|
|
ansible.builtin.service:
|
||
|
|
name: dnsmasq
|
||
|
|
state: restarted
|
||
|
|
|
||
|
|
- name: run xray-lists systemd timer unit
|
||
|
|
ansible.builtin.systemd_service:
|
||
|
|
name: xray-lists.timer
|
||
|
|
state: started
|
||
|
|
enabled: true
|
||
|
|
daemon_reload: true
|
||
|
|
|
||
|
|
- name: update xray-lists
|
||
|
|
ansible.builtin.systemd_service:
|
||
|
|
name: xray-lists.service
|
||
|
|
state: started
|
||
|
|
|
||
|
|
- name: restart xray-lists timer
|
||
|
|
ansible.builtin.systemd_service:
|
||
|
|
name: xray-lists.timer
|
||
|
|
state: restarted
|
||
|
|
daemon_reload: true
|