create role terraform_vm
This commit is contained in:
8
ansible/roles/terraform_vm/tasks/main.yml
Normal file
8
ansible/roles/terraform_vm/tasks/main.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Create a VM
|
||||
cloud.terraform.terraform:
|
||||
project_path: "{{ terraform_vm_project_path }}"
|
||||
state: "{{ terraform_vm_state }}"
|
||||
|
||||
- name: Refresh inventory
|
||||
ansible.builtin.meta: refresh_inventory
|
Reference in New Issue
Block a user