Dependency Installation Generates an Error During Terraform Install #15
Open
Description
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:
- Clone the project from master
- 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)