mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
/etc/iiab/iiab.ini -> {{ iiab_ini_file }}
This commit is contained in:
parent
b973906dc3
commit
b5efe25edb
42 changed files with 52 additions and 52 deletions
|
|
@ -192,7 +192,7 @@
|
|||
tags:
|
||||
- network
|
||||
|
||||
- name: Add 'computed_network' variable values to /etc/iiab/iiab.ini
|
||||
- name: Add 'computed_network' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: computed_network
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
dhcp_service2: "dnsmasq disabled"
|
||||
when: dnsmasq_install and iiab_network_mode == "Appliance"
|
||||
|
||||
- name: Add 'network' variable values (from computed_services.yml) to /etc/iiab/iiab.ini
|
||||
- name: Add 'network' variable values (from computed_services.yml) to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: network
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
gui_wan_iface: "{{ device_gw }}"
|
||||
when: user_wan_iface == "auto" and device_gw != "none" and discovered_wan_iface == "none"
|
||||
|
||||
- name: Add 'detected_network' variable values to /etc/iiab/iiab.ini
|
||||
- name: Add 'detected_network' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: detected_network
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@
|
|||
with_items:
|
||||
- { 0: 'gateway/iiab-gen-iptables', 1: '/usr/bin/iiab-gen-iptables' }
|
||||
|
||||
- name: Add 'squid' to list of services at /etc/iiab/iiab.ini
|
||||
- name: Add 'squid' to list of services at {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: squid
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
- option: enabled
|
||||
value: "{{ squid_enabled }}"
|
||||
|
||||
- name: Add 'dansguardian' to list of services at /etc/iiab/iiab.ini
|
||||
- name: Add 'dansguardian' to list of services at {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: dansguardian
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
- option: enabled
|
||||
value: "{{ dansguardian_enabled }}"
|
||||
|
||||
- name: Add 'wondershaper' to list of services at /etc/iiab/iiab.ini
|
||||
- name: Add 'wondershaper' to list of services at {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: wondershaper
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@
|
|||
when: dansguardian_install
|
||||
|
||||
# {{ proxy }} is normally "squid", but is "squid3" on raspbian-8 & debian-8
|
||||
- name: Add '{{ proxy }}' to list of services at /etc/iiab/iiab.ini
|
||||
- name: Add '{{ proxy }}' to list of services at {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: "{{ proxy }}"
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
- option: enabled
|
||||
value: "{{ squid_enabled }}"
|
||||
|
||||
- name: Add 'dansguardian' variable values to /etc/iiab/iiab.ini
|
||||
- name: Add 'dansguardian' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: dansguardian
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
group: root
|
||||
state: link
|
||||
|
||||
- name: Add 'wondershaper' variable values to /etc/iiab/iiab.ini
|
||||
- name: Add 'wondershaper' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
dest: "{{ iiab_ini_file }}"
|
||||
section: wondershaper
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ IPTABLES_DATA=/etc/sysconfig/iptables
|
|||
{% endif %}
|
||||
LANIF=$IIAB_LAN_DEVICE
|
||||
WANIF=$IIAB_WAN_DEVICE
|
||||
MODE=`grep iiab_network_mode_applied /etc/iiab/iiab.ini | gawk '{print $3}'`
|
||||
MODE=`grep iiab_network_mode_applied {{ iiab_ini_file }} | gawk '{print $3}'`
|
||||
|
||||
clear_fw() {
|
||||
$IPTABLES -F
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue