Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dudecalledbro/ansible-role-hostname
Ansible Role - Hostname
https://github.com/dudecalledbro/ansible-role-hostname
ansible ansible-galaxy molecule role
Last synced: about 1 month ago
JSON representation
Ansible Role - Hostname
- Host: GitHub
- URL: https://github.com/dudecalledbro/ansible-role-hostname
- Owner: DudeCalledBro
- License: mit
- Created: 2024-09-05T17:45:50.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T20:02:25.000Z (3 months ago)
- Last Synced: 2024-11-11T22:48:57.761Z (about 1 month ago)
- Topics: ansible, ansible-galaxy, molecule, role
- Language: YAML
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Hostname
[![CI](https://github.com/DudeCalledBro/ansible-role-hostname/actions/workflows/molecule.yml/badge.svg)](https://github.com/DudeCalledBro/ansible-role-hostname/actions/workflows/molecule.yml)
Setup system hostname with ansible.
## Prerequisites
- Ensure you have Ansible installed (e.g. `pip3 install ansible`)
- **Development**: Install the pip packages listed in [requirements.txt](requirements.txt)## Role Variables
The default values for the variables are set in [defaults/main.yml](defaults/main.yml)
```yaml
- hosts: all
roles:
- role: dudecalledbro.hostname
```## License
Copyright © 2024 Niclas Spreng
Licensed under the [MIT license](LICENSE).