5 lines
221 B
YAML
5 lines
221 B
YAML
---
|
|
hostname_fqdn: "{{ inventory_hostname }}"
|
|
hostname_short: "{{ hostname_fqdn|regex_replace('^([^.]+).*$', '\\1') }}"
|
|
|
|
hostname_unsafe_writes: "{{ (ansible_virtualization_type == 'docker')|ternary('yes', 'no')|bool }}"
|