add terransible project
This commit is contained in:
14
terraform/projects/terransible/deploy_tf.yml
Normal file
14
terraform/projects/terransible/deploy_tf.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Deploy a Terraform infrastructure
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- name: terraform apply
|
||||
cloud.terraform.terraform:
|
||||
project_path: /home/vez/homelab/terraform/projects/terransible
|
||||
state: present
|
||||
register: tf_return
|
||||
|
||||
- name: Ping
|
||||
hosts: servers
|
||||
tasks:
|
||||
- ping:
|
Reference in New Issue
Block a user