dandyrow.linux.cloud_init role – Install and configure cloud-init

Note

This role is part of the dandyrow.linux collection (version 2.6.0).

To install it use: ansible-galaxy collection install dandyrow.linux.

To use it in a playbook, specify: dandyrow.linux.cloud_init.

Entry point main – Install and configure cloud-init

Synopsis

  • Install and configure cloud-init.

Parameters

Parameter

Comments

create_default_user

boolean

If true, cloud-init will create the default user when it runs.

Default user is defined by your distro’s cloud-init package.

Choices:

  • false

  • true ← (default)

datasource_list

string

List of datasources for cloud-init to query.

List of datasources can be found here: https://cloudinit.readthedocs.io/en/latest/reference/datasources.html

disable_root

boolean

If true, ssh login as root will be disabled.

Choices:

  • false

  • true ← (default)

preserve_hostname

boolean

If true, hostname will not be changed by cloud-init.

Choices:

  • false ← (default)

  • true

Authors

  • Daniel Lowry (github.com/dandyrow)