mrlesmithjr.change-hostname

Role Name

Changes the hostname on a node to match the inventory hostname.

Build Status

Build Status

Requirements

None

Role Variables

---
# defaults file for ansible-change-hostname

# Defines if the node should reboot after changing the hostname
change_hostname_reboot: true

Dependencies

None

Example Playbook

- hosts: all
  become: true
  vars:
  roles:
    - role: ansible-change-hostname
  tasks:

License

BSD

Author Information

Larry Smith Jr.

About

Changes the hostname on a node to match the inventory hostname.

Install
ansible-galaxy install mrlesmithjr.change-hostname
GitHub repository
License
Unknown
Downloads
732
Owner
Sharing practical insights on virtualization, cloud, automation, and DevOps to help others build, automate, and innovate with confidence.