ansible

Aristocrat-B2B/ansible/nutanix

Terraform Module HCL NUTANIX
Install
module "ansible" {
source = "Aristocrat-B2B/ansible/nutanix"
version = "2.0.0"
}
plain text: /constructs/tfmod-aristocrat-b2b-ansible-nutanix/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-nutanix-ansible A terraform module to run Ansible against a Nutanix VM The ansible module is meant to be used with Aristocrat-B2B/virtualmachine/nutanix Usage example ``hcl module "testvm" { source = "Aristocrat-B2B/virtualmachine/nutanix" version = "2.0.0" subnet_name = var.subnet_name nutanix_cluster_name = var.nutanix_cluster_name" vm_name = ["ansible-testvm-node-1", "ansible-testvm-node-2"] vm_memory = 4096 cpu = { "num_vcpus_per_socket" : 4, "num_sockets" : 1 } additional_disk_enabled = false image_name = "test-image.qcow2" static_ip_enabled = false ssh_user = var.ssh_user ssh_password = var.ssh_password } module "testvm_ansible" { depends_on = [module.testvm] source = "Aristocrat-B2B/ansible/nutanix" version = "2.0.0" module_name = "testvm" host_entries = module.testvm.host

Inputs (11)
NameTypeDescriptionDefault
ansible_pathstringPath to Ansible Code Directory required
messagestringActivity Message required
ssh_passwordstringSSH Password required
module_namestringName of VM Creation Module required
ssh_userstringSSH Username required
host_entriesmap(any)Map which describes hosts where ansible should be executed. Format: { host_name:{}
group_vars_tplboolEnable/Disable Group Var Templating( Template Extension - tpl)false
environment_variablesmap(any)A Map of Environment Variables Required for Ansible Group_Vars Template in form {}
group_vars_namestringName of Group Var Template(Do not provide extension)""
run_ansiblebooltrue
lock_nutanix_userboolDefines whether default nutanix user will be locked and the new one createdtrue
Resources (1)
null_resource
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud NUTANIX
★ Stars0
Forks1
Total downloads11.7k
Inputs11
Resources1
LicenseMPL-2.0
NamespaceAristocrat-B2B
Updated