2019-02-10 15:33:10 +00:00
|
|
|
---
|
2019-02-10 15:56:05 +00:00
|
|
|
cups_version: 2.2.10
|
2019-08-13 20:05:48 +00:00
|
|
|
|
2019-08-21 07:23:06 +00:00
|
|
|
# Install dependencies or custom driver packages
|
2019-08-13 20:05:48 +00:00
|
|
|
cups_packages_extra: []
|
|
|
|
|
2019-08-21 07:23:06 +00: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-08-21 07:54:57 +00:00
|
|
|
cups_admin_group: printadmin
|
|
|
|
cups_admin_users:
|
|
|
|
- { name: 'cupsadm', password: 'secure' }
|
2019-02-10 17:21:25 +00:00
|
|
|
|
|
|
|
cups_bind_url:
|
2019-02-10 18:00:51 +00:00
|
|
|
- localhost:631
|
2019-02-10 17:21:25 +00:00
|
|
|
|
2019-02-10 17:33:57 +00:00
|
|
|
cups_listen_address: print.example.org
|
2019-02-10 17:21:25 +00:00
|
|
|
|
|
|
|
cups_log_level: warn
|
|
|
|
cups_server_admin: admin@example.com
|
2019-02-12 23:22:25 +00:00
|
|
|
cups_remote_admin_enabled: False
|
2019-02-21 20:27:21 +00:00
|
|
|
cups_system_groups:
|
|
|
|
- root
|
2019-08-21 07:54:57 +00:00
|
|
|
- "{{ cups_admin_group }}"
|
2019-02-12 23:10:26 +00:00
|
|
|
|
2019-02-10 17:33:57 +00:00
|
|
|
cups_iptables_enabled: False
|
2019-02-12 23:10:26 +00: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
|