The Ansible role sets fqdn, which fell in Ansible inventory. It works with Linux and Windows.
ansible-galaxy install arillso.fqdn
None
None
None
- hosts: all
roles:
- arillso.fqdn
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2020, Arillso