Skip to content

un-smurf/ansible-role-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Hostname

ansible-lint GitHub release (latest by date) License: MIT

Set the Hostname

Requirements

No special requirements

Dependencies

None.

Install

ansible-galaxy role install git+https://github.com/un-smurf/ansible-role-hostname,main,un-smurf.hostname

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

hostname_hostname: "server1.example.com"

Set the hostname to a FQDN

Example Playbook

- hosts: servers

vars_files:
	vars/main.yml

  roles:
    - un-smurf.hostname

Inside vars/main.yml:

hostname_hostname: "server1.example.com"

License

MIT

Author Information

This role was created in 2024 by un-smurf.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published