mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-11 17:44:29 +05:00
Fixed for 24
This commit is contained in:
@@ -78,7 +78,9 @@
|
|||||||
key: dhcp.@dnsmasq[0]
|
key: dhcp.@dnsmasq[0]
|
||||||
value:
|
value:
|
||||||
confdir: "/tmp/dnsmasq.d"
|
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
|
# Getdomains script configure
|
||||||
|
|
||||||
@@ -672,6 +674,13 @@
|
|||||||
notify:
|
notify:
|
||||||
- Restart firewall
|
- Restart firewall
|
||||||
|
|
||||||
|
- name: uci commit dhcp
|
||||||
|
uci:
|
||||||
|
command: commit
|
||||||
|
config: dhcp
|
||||||
|
notify:
|
||||||
|
- Restart dnsmasq
|
||||||
|
|
||||||
- name: uci commit network
|
- name: uci commit network
|
||||||
uci:
|
uci:
|
||||||
command: commit
|
command: commit
|
||||||
|
|||||||
Reference in New Issue
Block a user