manala.cloud_init

#######################################################################################################

:exclamation: DEPRECATION :exclamation:

This repository and the role associated are deprecated in favor of the Manala Ansible Collection

You will find informations on its usage on the collection repository

#######################################################################################################

Ansible Role: Cloud_init Build Status

:exclamation: Report issues and send Pull Requests in the main Ansible Role repository :exclamation:

This role will deal with the configuration of Cloud-init.

It's part of the Manala Ansible stack but can be used as a stand alone component.

Requirements

None.

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install manala.cloud_init

Using ansible galaxy requirements file:

- src: manala.cloud_init

Role Variables

Name Default Type Description
manala_cloud_init_install_packages ~ String Dependency packages to install
manala_cloud_init_install_packages_default ['cloud-init'] String Default dependency packages to install
manala_cloud_init_configs_exclusive false String Configs exclusivity
manala_cloud_init_configs_dir '/etc/cloud/cloud.cfg.d' String Configs directory path
manala_cloud_init_configs_template 'configs/empty.j2' Array Configs template path
manala_cloud_init_configs [] Array Configs collection

Configuration example

manala_cloud_init_configs:
  - file: 99_hostname.cfg
    config:
      - fqdn: delicious.manala.io
      - hostname: delicious

Example playbook

- hosts: all
  roles:
    - { role: manala.cloud_init }

Licence

MIT

Author information

Manala (http://www.manala.io/)

About

Configure cloud-init

Install
ansible-galaxy install manala.cloud_init
GitHub repository
License
Unknown
Downloads
2k
Owner
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.