client: set lpoptions based on ansible_hostname instead inventory_
Compare changes
- Thomas Schneider authored
This breaks in AStA where the inventory hostnames are FQDNs.
+ 3
− 3
{%- if inventory_hostname | regex_replace('[0-9]$', '') == "hoern" or inventory_hostname == "portal" -%}