hashicorp: installs OS packages (ex: vagrant RPM / deb).
For binary / archive installer - see localbin role.
https://galaxy.ansible.com/crivetimihai/hashicorp
ansible-galaxy install crivetimihai.hashicorp
- For RHEL, a Red Hat subscription or functional local repository.
hashicorp_vagrant_version: "2.2.6"
- For Red Hat, subscription-manager.
---
- name: Install hashicorp on localhost
hosts:
- localhost
connection: local
tasks:
- name: hashicorp is configured
import_role:
name: crivetimihai.hashicorp
vars:
hashicorp_vagrant_version: "2.2.6"
tags: hashicorp
MIT