Added outputs
This commit is contained in:
14
outputs.tf
14
outputs.tf
@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user