Skip to content

skrepr/ansible-role-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Ansible Role Ansible Quality Score

Requirements

  • SSH access to the server

Role Variables

None.

Dependencies

None.

Example Playbook

#!/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, commisioned by Skrepr