Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        



skrepr



Ansible Role Hostname



Releases
LICENSE
CI
Issues
PR
Commits
Stars
Forks

# 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: true

roles:
- 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)