Closed sukengine closed 11 months ago
How to reproduce:
terraform { required_providers { ansible = { version = "~> 1.1.0"
source = "ansible/ansible"
}
} }
resource "ansible_playbook" "playbook" { playbook = "playbook.yml" name = "192.168.100.11" replayable = true
}
output "ansible_output" { value = ansible_playbook.playbook.ansible_playbook_stdout }
Duplicated
Problem: ansible_playbook resource gather all inventories include the previous inventory files.
Fix: remove function call to "providerutils.GetAllInventories(inventoryFileNamePrefix)" on provider/resource_playbook.go, line 473-474