Skip to content

provisioning_hostname

The cake function provisioning_hostname executes the Ansible role-hostname, which sets the servers hostname in /etc/hosts and /etc/hostname.

Information

Key Value
Playbook path plays/provisioning/hostname.yml
Role https://github.com/Blunix-GmbH/ansible-role-hostname
Tags https://github.com/Blunix-GmbH/ansible-role-hostname/-/tags
Defaults https://github.com/Blunix-GmbH/ansible-role-hostname/blob/master/defaults/main.yml
Config files Description
/etc/hostname Defines hostname of the server
/etc/hosts Defines FQDNs of the server

Example

cake -f provisioning_hostname -i pub

No manual inventory/ modifications required.