the terransible project can deploy on one or multiple nodes
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Create a VM with Terraform
|
||||
ansible.builtin.import_role:
|
||||
- ansible.builtin.import_role:
|
||||
name: terraform_vm
|
||||
vars:
|
||||
terraform_vm_project_path: /home/vez/homelab/terraform/projects/terransible
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Create a VM
|
||||
- name: Deploy a Terraform infrastructure
|
||||
cloud.terraform.terraform:
|
||||
project_path: "{{ terraform_vm_project_path }}"
|
||||
state: "{{ terraform_vm_state }}"
|
||||
|
Reference in New Issue
Block a user