system-config/playbooks/roles/set-hostname
Monty Taylor 68b50ca05b Rearrange set-hostnames and cloud-init removal
In launch-node, we run two playbooks that aren't part of base.
One sets the system's hostname and removes cloud-init, the other
runs unattended update.

We need to run the hostname setting in our functional tests so
that the hosts behave as expected, but running the cloud-init
removal is a little weird, since our test nodes already don't
have it.

Make it so that set-hostname actually just sets the hostname,
and then run it in run-base. For running puppet, we need the
host to have the correct hostname.

Move cloud-init removal to the base-server role. Also move
the autoremove into base-server, since it's probably a nice
way to get rid of excess things.

Change-Id: I53cb8c515444a7d73b839e799c5794b067429daa
2020-04-21 13:18:24 -05:00
..
tasks Rearrange set-hostnames and cloud-init removal 2020-04-21 13:18:24 -05:00
templates Add base playbooks and roles to bootstrap a new server 2018-08-01 14:57:44 -07:00
README.rst Rearrange set-hostnames and cloud-init removal 2020-04-21 13:18:24 -05:00

Set hostname

Statically set the hostname, hosts and mailname

Role Variables

  • None