terrible

cloudboss/terrible/cloudinit

Terraform Module HCL CLOUDINIT
Install
module "terrible" {
source = "cloudboss/terrible/cloudinit"
version = "0.1.0"
}
plain text: /constructs/tfmod-cloudboss-terrible-cloudinit/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-cloudinit-terrible terrible is a Terraform module to configure cloud-init to run Ansible on first boot. Instead of the typical Ansible model where changes are pushed to machines over ssh, this configures machines to apply Ansible roles to themselves. There is no centralized configuration management, Ansible Tower, or any server needed except for a place to host Ansible roles. The recommended method is to package the roles into versioned tarballs and store them in Artifactory, Nexus, or a cloud storage bucket. Git repositories can also be used. By default, a machine configured with terrible will: Include a playbook generated from roles and variables passed to Terraform. Create a Python virtualenv and install Python dependencies, including Ansible, into it. Download and install the

Inputs (10)
NameTypeDescriptionDefault
ansible_playbook_rolesanyThe list of Ansible roles and, optionally, their variables to be included in the required
ansible_directorystringThis is the directory where Ansible is installed. If `create_ansible_directory` "/opt/ansible"
ansible_environmentmap(string)Environment variables to be defined when running `ansible-playbook`.{}
ansible_requirementslist(map(string))A list of Ansible roles to be installed into /etc/ansible/roles by the `ansible-[]
ansible_variablesanyAnsible variables to be defined when running `ansible-playbook`.{}
python_requirementslist(string)Python dependencies, including Ansible, in the format expected by `pip`. It is h[]
ansible_configanyVariables for configuring Ansible in /etc/ansible/ansible.cfg.{}
create_ansible_directoryboolWhether or not to create a virtualenv in which to install Ansible. This requirestrue
pythonstringThe name of the python command."python3"
python_repositorystringA private PyPi repository for retrieving Python packages. If left blank, package""
Outputs (1)
cloud_config
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud CLOUDINIT
★ Stars4
Forks1
Total downloads783
Inputs10
Outputs1
LicenseMIT
Namespacecloudboss
Updated