## Requirements | Name | Version | |------|---------| | [ansible](#requirement\_ansible) | ~>1.0.4 | | [libvirt](#requirement\_libvirt) | 0.6.14 | ## Providers | Name | Version | |------|---------| | [ansible](#provider\_ansible) | ~>1.0.4 | | [libvirt](#provider\_libvirt) | 0.6.14 | ## Modules | Name | Source | Version | |------|--------|---------| | [system\_flavor](#module\_system\_flavor) | ../../modules/virt_flavor | n/a | | [system\_os](#module\_system\_os) | ../../modules/virt_os | n/a | | [volume\_cloudinit](#module\_volume\_cloudinit) | ../virt_cloudinit | n/a | | [volume\_os](#module\_volume\_os) | ../virt_volume | n/a | | [volumes\_extra](#module\_volumes\_extra) | ../virt_volumes | n/a | ## Resources | Name | Type | |------|------| | [ansible_host.ansible_def](https://registry.terraform.io/providers/nbering/ansible/latest/docs/resources/host) | resource | | [libvirt_domain.instdef](https://registry.terraform.io/providers/dmacvicar/libvirt/0.6.14/docs/resources/domain) | resource | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [authorized\_key](#input\_authorized\_key) | Default user authorized key | `string` | `""` | no | | [disk\_gb](#input\_disk\_gb) | Size in gb of the root disk | `number` | `2` | no | | [disks](#input\_disks) | Ephemeral disks list | `list` | `[]` | no | | [domain](#input\_domain) | Instance domain | `string` | `""` | no | | [flavor](#input\_flavor) | Instance flavor | `string` | `"x-small"` | no | | [images\_pool](#input\_images\_pool) | Default image pool | `string` | `"default"` | no | | [instance\_pool](#input\_instance\_pool) | Volume pool for instance disks | `string` | `"default"` | no | | [memory](#input\_memory) | Instance memory | `string` | `"2048"` | no | | [metadata](#input\_metadata) | Metadata do add in state | `any` | `{}` | no | | [name](#input\_name) | Instance name | `string` | n/a | yes | | [name\_fqdn](#input\_name\_fqdn) | Define instance name with fqdn | `bool` | `false` | no | | [name\_prefix](#input\_name\_prefix) | Define instance name with project prefix | `bool` | `true` | no | | [networks](#input\_networks) | Network list | `list` | `[]` | no | | [number](#input\_number) | Number of instances | `number` | `1` | no | | [password\_hash](#input\_password\_hash) | Default user password hash (ie: $1$SaltSalt$GhE887kYCerthShgxern00) | `string` | `""` | no | | [prefix](#input\_prefix) | String to prefix each instances | `string` | `""` | no | | [user](#input\_user) | Default user login | `string` | `"cloud"` | no | | [vcpu](#input\_vcpu) | Number of vcpu | `number` | `2` | no | | [volumes](#input\_volumes) | Persistant volume list | `list` | `[]` | no | | [wait\_for\_lease](#input\_wait\_for\_lease) | Wait for network ip assignment | `bool` | `false` | no | ## Outputs | Name | Description | |------|-------------| | [instance](#output\_instance) | n/a | | [system\_flavor](#output\_system\_flavor) | n/a | | [system\_os](#output\_system\_os) | Tag infos | | [volume\_os](#output\_volume\_os) | output "volume\_cloudinit" { value = module.volume\_cloudinit } | | [volumes\_extra](#output\_volumes\_extra) | n/a |