Sets Fully qualified domain name (FQDN)
Ansible version 1.6+
- Ubuntu
- Debian
- Centos
- Redhat
Variable name | Variable value |
---|---|
hostname | new hostname (not FQDN, before first dot) |
fqdn | new domain name |
- hosts: mx.mydomain.com:mx
user: root
roles:
- { role: fqdn, fqdn: "mx.mydomain.com", hostname: "mx" }
MIT
Roman Gorodeckij ([email protected])