https://github.com/indix/ansible-hostname
Ansible role to set hostname
https://github.com/indix/ansible-hostname
Last synced: 3 months ago
JSON representation
Ansible role to set hostname
- Host: GitHub
- URL: https://github.com/indix/ansible-hostname
- Owner: indix
- Created: 2017-03-06T06:01:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T07:04:22.000Z (almost 9 years ago)
- Last Synced: 2025-09-13T19:43:07.175Z (4 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#base_hostname
Host customizations are done in this playbook.
1. Hostname is set based on the value of the "host" variable. Update it to set this value.
Gather facts in the play which provisions this role, as this role requires ansible facts for OS info and ip of the machine.