Justine Pelletreau bbaddef217 Added outputs
2026-02-23 18:29:16 +01:00
2026-02-23 17:56:36 +01:00
2026-02-23 18:29:16 +01:00
2026-02-23 17:56:36 +01:00
2026-02-23 18:29:16 +01:00
2026-02-23 18:29:16 +01:00
2026-02-23 18:29:16 +01:00
2026-02-23 18:29:16 +01:00

Playbook run

Use with terraform or opentofu.

Allows running a playbook using terraform or opentofu.

Put your vars inside a terraform.tfvars such as :

ansible_hostname   = "blabla.domain.tld"
ansible_playbook_path = "/path/to/playbook.yml"
ansible_key_file = "/home/user/ssh/my_key"
ansible_ssh_user = "ssh-username"

Then run :

tofu init
tofu plan
tofu apply
Description
Run a playbook using terraform
Readme 40 KiB
Languages
HCL 100%