Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/holms/ansible-fqdn
Sets Fully qualified domain name (FQDN)
https://github.com/holms/ansible-fqdn
Last synced: about 1 month ago
JSON representation
Sets Fully qualified domain name (FQDN)
- Host: GitHub
- URL: https://github.com/holms/ansible-fqdn
- Owner: holms
- License: mit
- Created: 2014-09-22T20:48:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T16:34:05.000Z (12 months ago)
- Last Synced: 2024-08-02T01:27:16.977Z (4 months ago)
- Language: PowerShell
- Size: 28.3 KB
- Stars: 99
- Watchers: 9
- Forks: 40
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - holms/ansible-fqdn - Sets Fully qualified domain name (FQDN) (PowerShell)
README
fqdn [![Build Status](https://travis-ci.org/holms/ansible-fqdn.svg?branch=master)](https://travis-ci.org/holms/ansible-fqdn)
====Sets Fully qualified domain name (FQDN)
Requirements
------------Ansible version 2.0+
## Platforms
* Ubuntu
* Debian
* Centos
* Redhat
* WindowsRole Variables
--------------| Variable name | Variable value | Default |
|---------------|----------------|---------|
|*hostname* | hostname (eg. vm1) | `inventory_hostname_short` |
|*fqdn* | domain name (eg. vm1.test.com) | `inventory_hostname` |
|*ip_address* | ip address (eg. 192.168.0.20) | `ansible_default_ipv4.address` |Example
-------```
- hosts: mx.mydomain.com:mx
user: rootroles:
- { role: fqdn, fqdn: "mx.mydomain.com", hostname: "mx" }
```License
-------MIT
Author Information
------------------Roman Gorodeckij ()
John Brooker ([email protected])