Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 409 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 409 Bytes

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