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

@ -0,0 +1,14 @@
output "playbook_return" {
description = "stdout of the playbook"
value = ansible_playbook.playbook.ansible_playbook_stdout
}
output "playbook_path" {
description = "path of the playbook"
value = ansible_playbook.playbook.playbook
}
output "host_address" {
description = "IP address or hostname used to connect to the host."
value = "ansible_host.host.name"
}