Fixed for 24

This commit is contained in:
itdoginfo
2024-12-16 10:23:45 +03:00
parent 02f5e5e5c8
commit dfab862088

View File

@@ -78,7 +78,9 @@
key: dhcp.@dnsmasq[0]
value:
confdir: "/tmp/dnsmasq.d"
when: dnsmasq_confdir.stdout != "/tmp/dnsmasq.d" and openwrt_major_release >= 24
when: ansible_distribution_major_version >= 24
notify:
- Restart dnsmasq
# Getdomains script configure
@@ -672,6 +674,13 @@
notify:
- Restart firewall
- name: uci commit dhcp
uci:
command: commit
config: dhcp
notify:
- Restart dnsmasq
- name: uci commit network
uci:
command: commit