rezizter.ansible_fqdn

fqdn Build Status

Sets the Fully Qualified Domain Name (FQDN)

Requirements

Ansible version 2.0 or higher.

Platforms

  • Ubuntu
  • Debian
  • AlmaLinux 8
  • RockyLinux 8
  • Windows

Credits

This is a modified version of [Holms.fqdn]

Role Variables

Variable Name Description Default Value
hostname The hostname (e.g., vm1) inventory_hostname_short
fqdn The full domain name (e.g., vm1.test.com) inventory_hostname
ip_address The IP address (e.g., 192.168.0.20) ansible_default_ipv4.address

Example

- hosts: mx.mydomain.com:mx
  user: root

  roles:
    - { role: fqdn, fqdn: "mx.mydomain.com", hostname: "mx" }

License

MIT

Informazioni sul progetto

fqdn role for Ansible

Installa
ansible-galaxy install rezizter.ansible_fqdn
Licenza
mit
Download
73
Proprietario