remove iptables integration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-10-28 19:58:32 +01:00
parent e80ac1d4eb
commit d84874d46b
2 changed files with 0 additions and 25 deletions

View File

@ -29,16 +29,3 @@ cups_remote_admin_enabled: False
cups_system_groups:
- root
- "{{ cups_admin_group }}"
cups_iptables_enabled: False
cups_open_ports:
- name: allow_cups_ipp
rules: |
-A INPUT -m state --state NEW -p tcp --dport 631 -j ACCEPT
-A OUTPUT -m state --state NEW -p tcp --dport 631 -j ACCEPT
state: present
- name: allow_cups_dnssd
rules: |
-A OUTPUT -m state --state NEW -p tcp --dport 5353 -j ACCEPT
-A OUTPUT -m state --state NEW -p udp --dport 5353 -j ACCEPT
state: present

View File

@ -31,17 +31,5 @@
module_arguments: "{{ item.arguments | default(omit) }}"
new_module_path: "{{ item.new_module }}"
loop: "{{ __pam_config }}"
- name: Open ports in iptables
iptables_raw:
name: "{{ item.name }}"
rules: "{{ item.rules }}"
state: "{{ item.state }}"
weight: "{{ item.weight | default(omit) }}"
table: "{{ item.table | default(omit) }}"
loop: "{{ cups_open_ports }}"
loop_control:
label: "{{ item.name }}"
when: cups_iptables_enabled
become: True
become_user: root