11 lines
333 B
YAML
11 lines
333 B
YAML
---
|
|
- name: Deploy a Terraform infrastructure
|
|
cloud.terraform.terraform:
|
|
project_path: "{{ terraform_vm_project_path }}"
|
|
state: "{{ terraform_vm_state }}"
|
|
complex_vars: true
|
|
variables:
|
|
vm_attr: "{{ terraform_vars_vm_attr | default(omit)}}"
|
|
|
|
- name: Refresh inventory
|
|
ansible.builtin.meta: refresh_inventory |