Added outputs

This commit is contained in:
Justine Pelletreau
2026-02-23 18:29:16 +01:00
parent 27bbe4b275
commit bbaddef217
5 changed files with 32 additions and 0 deletions

View File

@ -15,6 +15,10 @@ resource "ansible_host" "host" {
resource "ansible_group" "group" {
name = "thegroup"
children = [var.ansible_hostname]
variables = {
ansible_ssh_user = var.ansible_ssh_user
ansible_ssh_private_key_file = var.ansible_key_file
}
}
resource "ansible_playbook" "playbook" {