xoxys.cups/defaults/main.yml

43 lines
989 B
YAML
Raw Normal View History

2019-02-10 16:33:10 +01:00
---
2019-02-10 16:56:05 +01:00
cups_version: 2.2.10
2019-08-13 22:05:48 +02:00
2019-08-21 09:23:06 +02:00
# Install dependencies or custom driver packages
2019-08-13 22:05:48 +02:00
cups_packages_extra: []
2019-08-21 09:23:06 +02:00
## Example
# cups_selinux_fcontext:
# - { target: '/opt/brother', setype: 'bin_t' }
cups_selinux_fcontext: []
## Example
# cups_selinux_restorecon:
# - -R /opt/brother
cups_selinux_restorecon: []
2019-02-12 23:31:40 +01:00
cups_admin_username: cupsadm
cups_admin_password: secure
2019-02-10 18:21:25 +01:00
cups_bind_url:
2019-02-10 19:00:51 +01:00
- localhost:631
2019-02-10 18:21:25 +01:00
2019-02-10 18:33:57 +01:00
cups_listen_address: print.example.org
2019-02-10 18:21:25 +01:00
cups_log_level: warn
cups_server_admin: admin@example.com
2019-02-13 00:22:25 +01:00
cups_remote_admin_enabled: False
2019-02-21 21:27:21 +01:00
cups_system_groups:
- sys
- root
2019-02-13 00:10:26 +01:00
2019-02-10 18:33:57 +01:00
cups_iptables_enabled: False
2019-02-13 00:10:26 +01:00
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