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

Dependency Installation Generates an Error During Terraform Install #15

Open
randomparity opened this issue Apr 23, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@randomparity
Copy link

Describe the bug
Running the command ./tads install-dependencies generates the following error:

TASK [Install Terraform (linux)] ***************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project from master
  2. Install dependencies

Expected behavior
Dependencies are installed without error.

Environment (please complete the following information):

  • OS/distro: Ubuntu 22.04.2 LTS
  • Ansible version: 2.14.4
  • Terraform version: N/A
  • Cloud provider: N/A
  • Vagrant version: N/A

Additional context
Appears to be related to this StackOverflow question.

Following changes fixes the issue:

diff --git a/ansible/install-dependencies.yml b/ansible/install-dependencies.yml
index 619743d..6b828a5 100644
--- a/ansible/install-dependencies.yml
+++ b/ansible/install-dependencies.yml
@@ -47,7 +47,7 @@
         TERRAFORM_VERSION: 0.12.12
       args:
         creates: ~/.local/bin/terraform
-        warn: False
+          # warn: False
       when: ansible_facts['os_family'] != "Darwin"

     - name: Install Terraform Homebrew Tap (Mac)
@randomparity randomparity added the bug Something isn't working label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants