hostname

Example:

# Set the hostname of the target machine to 'dev.frkl.io'.
- hostname:
    hostname: dev.frkl.io

Description

Set system’s hostname according to the platforms recommended practices.

Also add the new hostnames to the line containing '127.0.0.1' in /etc/hosts.

Resources

Variables

Name Type Default Description

hostname

string --

The hostname. Required

Examples

Example 1

Set the hostname of the target machine to 'dev.frkl.io'.

Code
- hostname:
    hostname: dev.frkl.io

Command-line

frecklecute hostname --help

Usage: frecklecute hostname [OPTIONS] HOSTNAME

  Set system’s hostname according to the platforms recommended practices.

  Also add the new hostnames to the line containing '127.0.0.1' in
  /etc/hosts.

Options:
  --help  Show this message and exit.