Skip to content

adherzog/ansible-role-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

hostname

Set the hostname.

Role Variables

  • hostname: '{{ inventory_hostname }}'

    Specifies the hostname to set on the server. Defaults to the inventory_hostname, specified in the inventory.

Example Playbook

- hosts: servers
  roles:
     - hostname

License

BSD

Author Information

Adam Herzog adam@adamherzog.com

About

Ansible role for setting the hostname

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published