Documentation / Roles / Misc / cups

cups

Source Code Build Status License: MIT

Setup cups printserver.


Default Variables

cups_admin_group

Default value

cups_admin_group: printadmin

cups_admin_users

Default value

cups_admin_users:
  - name: cupsadm
    password: secure

cups_bind_url

Default value

cups_bind_url:
  - localhost:631

cups_log_level

Default value

cups_log_level: warn

cups_packages_extra

Install dependencies or custom driver packages

Default value

cups_packages_extra: []

cups_remote_admin_enabled

Default value

cups_remote_admin_enabled: false

cups_selinux_fcontext

Default value

cups_selinux_fcontext: []

Example usage

cups_selinux_fcontext:
  - target: /opt/brother
    setype: bin_t

cups_selinux_restorecon

Default value

cups_selinux_restorecon: []

Example usage

["-R /opt/brother"]

cups_server_admin

Default value

cups_server_admin: admin@example.com

cups_server_alias

Default value

cups_server_alias: '{{ cups_server_name }}'

cups_server_name

Default value

cups_server_name: print.example.org

cups_system_groups

Default value

cups_system_groups:
  - root
  - '{{ cups_admin_group }}'

cups_version

Default value

cups_version: 2.3.1

Dependencies

None.