mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2026-02-11 03:47:04 +05:00
fix mode for template
This commit is contained in:
@@ -76,6 +76,7 @@
|
|||||||
template:
|
template:
|
||||||
src: "{{ ansible_template_dir }}openwrt-30-rknroute.j2"
|
src: "{{ ansible_template_dir }}openwrt-30-rknroute.j2"
|
||||||
dest: "/etc/hotplug.d/iface/30-rknroute"
|
dest: "/etc/hotplug.d/iface/30-rknroute"
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: Check string in rt_tables
|
- name: Check string in rt_tables
|
||||||
shell: grep "99 vpn" /etc/iproute2/rt_tables
|
shell: grep "99 vpn" /etc/iproute2/rt_tables
|
||||||
@@ -225,6 +226,7 @@
|
|||||||
template:
|
template:
|
||||||
src: "{{ ansible_template_dir }}openwrt-dnscrypt-proxy.j2"
|
src: "{{ ansible_template_dir }}openwrt-dnscrypt-proxy.j2"
|
||||||
dest: "/etc/config/dnscrypt-proxy"
|
dest: "/etc/config/dnscrypt-proxy"
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: edit dhcp config. resolvfile commented
|
- name: edit dhcp config. resolvfile commented
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user