agaric-coop/box/provisioning/roles/drupalvm.hostname/defaults/main.yml

6 lines
221 B
YAML
Raw Permalink Normal View History

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