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