xoxys.cups/defaults/main.yml

43 lines
989 B
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_username: cupsadm
cups_admin_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:
- sys
- root
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