Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).