Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is terraform pre-req to run ibm ansible collection / playbook #96

Open
indirakalagara opened this issue Mar 7, 2022 · 1 comment
Open

Comments

@indirakalagara
Copy link

Customer is having issues running the ansible playbook without installing terraform. Once terraform is installed, the playbook proceeded further.

Document https://galaxy.ansible.com/ibm/cloudcollection doesn't mention terraform as pre-req. However the ansible modules are using terraform resources.

Request team to provide the inputs and update the docs with specific version required for both terraform and IBM provider.

@Anil-CM
Copy link
Contributor

Anil-CM commented Mar 7, 2022

@indirakalagara, ansible collection doesn't need terraform installation as pre-req. When user installs the collection and runs a playbook for the first time, the terraform binary and and provider binaries are downloaded and the same used for consecutive playbooks.

Here is the part of code, which does this operation - https://github.com/IBM-Cloud/ansible-collection-ibm/blob/master/plugins/module_utils/ibmcloud.py#L705 and https://github.com/IBM-Cloud/ansible-collection-ibm/blob/master/plugins/module_utils/ibmcloud.py#L719

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants