xoxys.cups/defaults/main.yml
Robert Kaussow 2059c109d0
All checks were successful
continuous-integration/drone/push Build is passing
fix group and user handling
2019-08-21 09:54:57 +02:00

44 lines
1.0 KiB
YAML

---
cups_version: 2.2.10
# Install dependencies or custom driver packages
cups_packages_extra: []
## Example
# cups_selinux_fcontext:
# - { target: '/opt/brother', setype: 'bin_t' }
cups_selinux_fcontext: []
## Example
# cups_selinux_restorecon:
# - -R /opt/brother
cups_selinux_restorecon: []
cups_admin_group: printadmin
cups_admin_users:
- { name: 'cupsadm', password: 'secure' }
cups_bind_url:
- localhost:631
cups_listen_address: print.example.org
cups_log_level: warn
cups_server_admin: admin@example.com
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