fqdn
FQDN
A role for managing the fqdn/hostname.
Requirements
- Hosts should be bootstrapped for ansible usage (have python,...)
- Root privileges, eg
become: yes
Role Variables
Variable | Description | Default value |
---|---|---|
fqdn_full |
Fully qualified domain name | inventory_hostname |
fqdn_short |
Short hostname | inventory_hostname_short |
Dependencies
None.
Example Playbook
---
- hosts: test
roles:
- { role: GROG.fqdn, become: yes }
Contributing
All assistance, changes or ideas welcome!
Author
By G. Roggemans
License
MIT