remove iptables integration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e80ac1d4eb
commit
d84874d46b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user