1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

install iptables in 2-common

This commit is contained in:
Jerry Vonau 2017-11-05 14:19:23 -06:00
parent e8bb95a33a
commit 5132062bf7
3 changed files with 4 additions and 13 deletions

View file

@ -11,12 +11,7 @@
- include_tasks: xo.yml
when: xo_model != "none" or osbuilder is defined
# set FQDN for IIAB
#- include_tasks: hostname.yml
# tags:
# - network
# - domain
# - hostname
- include_tasks: roles/network/tasks/iptables.yml
- include_tasks: centos.yml
when: ansible_distribution == "CentOS"

View file

@ -47,10 +47,10 @@
group='root'
mode={{ item.2 }}
with_items:
- { 0: 'gateway/iptables-config', 1: '/etc/sysconfig/iptables-config', 2: '0644' }
- { 0: 'gateway/check-LAN', 1: '/usr/bin/check-LAN', 2: '0755' }
- { 0: 'roles/network/templates/gateway/iptables-config', 1: '/etc/sysconfig/iptables-config', 2: '0644' }
- { 0: 'roles/network/templates/gateway/check-LAN', 1: '/usr/bin/check-LAN', 2: '0755' }
- name: Install Debian config
template: src=gateway/iptables dest=/etc/network/if-pre-up.d/iptables
template: src=roles/network/templates/gateway/iptables dest=/etc/network/if-pre-up.d/iptables
mode=0755
when: is_debuntu

View file

@ -25,10 +25,6 @@
- hostname
- domain
- include_tasks: iptables.yml
tags:
- network
#### start services
- include_tasks: avahi.yml
tags: