Last active
July 22, 2021 18:34
-
-
Save flrichar/f0843f60d588138bd2eec968f9bccc78 to your computer and use it in GitHub Desktop.
ansible terraform installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| ## It's so nice when the kids get along | |
| - hosts: localhost | |
| become: yes | |
| vars_files: | |
| - vars/become.yaml | |
| vars: | |
| tfversion: 1.0.3 // look over there, elvis | |
| tasks: | |
| - name: install terraform {{ tfversion }} | |
| unarchive: | |
| src: https://releases.hashicorp.com/terraform/{{ tfversion}}/terraform_{{ tfversion }}_linux_amd64.zip | |
| dest: /usr/local/bin | |
| remote_src: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment