Skip to content
Snippets Groups Projects
Commit 92cd6ac2 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

desktop: Fix lpoptions for new printer driver

Also, remove AStA handling, they don’t use it any more anyway.
parent d0cff60e
No related branches found
No related tags found
1 merge request!8desktop: Fix lpoptions for new printer driver
Pipeline #4754 passed
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
{%- if ansible_hostname | regex_replace('[0-9]$', '') == "hoern" or ansible_hostname == "portal" -%}
Default Hoern_Kopierer Duplex=DuplexNoTumble
{%- elif ansible_hostname | regex_replace('[0-9]$', '') == "lxc" -%}
Dest Kopierer_Briefpapier ColorModel=Gray KCRotate=On
Default Kopierer_BW ColorModel=Gray
{%- else -%}
{%- set number = ansible_hostname | regex_replace('^[a-z]*', '') -%}
Default Kopierer ColorModel=Gray Duplex=DuplexNoTumble OutputBin=MBDWN0{{ number }}
Default Kopierer ColorModel=Gray Duplex=DuplexNoTumble OutputBin=Mailbox{{ number }}
{%- endif -%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment