Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skrepr/ansible-role-hostname
This Ansible role is used for changing the hostname on your server.
https://github.com/skrepr/ansible-role-hostname
ansible ansible-role
Last synced: 28 days ago
JSON representation
This Ansible role is used for changing the hostname on your server.
- Host: GitHub
- URL: https://github.com/skrepr/ansible-role-hostname
- Owner: skrepr
- License: mit
- Created: 2021-09-09T05:41:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-08T07:00:22.000Z (almost 3 years ago)
- Last Synced: 2024-11-10T18:48:44.387Z (3 months ago)
- Topics: ansible, ansible-role
- Homepage: https://galaxy.ansible.com/skrepr/hostname
- Size: 26.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
Ansible Role Hostname
# About
This Ansible role is used for changing the hostname on your server.
It works by taking your `{{ inventory_hostname }}` and using it for changing the hostname.
[![Ansible Role](https://img.shields.io/ansible/role/56457)](https://galaxy.ansible.com/skrepr/hostname)
[![Ansible Role](https://img.shields.io/ansible/role/d/56457)](https://galaxy.ansible.com/skrepr/hostname)
[![Ansible Quality Score](https://img.shields.io/ansible/quality/56457)](https://galaxy.ansible.com/skrepr/hostname)## Requirements
- SSH access to the server
## Role Variables
None.
## Dependencies
None.
## Example Playbook
```yaml
#!/usr/bin/env ansible-playbook- hosts: production
become: trueroles:
- skrepr.hostname
```## License
MIT / BSD
## Author Information
This role was created in 2021 by [Jeroen van der Meulen](https://github.com/jeroenvandermeulen), commisioned by [Skrepr](https://skrepr.com)