solutionDrive.packer
Role Name
Installing Packer on macOS
Requirements
None
Role Variables
packer_install_version: "1.2.2"
This is the version of Packer that will be installed.
packer_download_destination: "/tmp/packer_{{ packer_install_version }}.zip"
This is the path where Packer will be downloaded.
packer_unarchive_destination: "/tmp/packer/"
This is the path where the downloaded file will be extracted.
packer_execution_path: "/usr/local/bin/packer"
This is the path where the extracted file will be moved to make it executable.
packer_releases_url: "https://releases.hashicorp.com/packer/{{ packer_install_version }}/packer_{{ packer_install_version }}_darwin_amd64.zip"
This is the URL to download Packer.
packer_plugin_download_path: "/tmp"
This is the folder where plugins will be downloaded.
packer_plugin_installation_path: "~/.packer.d/plugins"
This is the folder where the plugins will be installed.
packer_plugins:
- name: "Name-of-the-plugin-file-after-installation"
url: "download-url-of-the-plugin"
filename: "filename-of-the-downloaded-file/archive"
Dependencies
None
Example Playbook
Here is an example of how to use this role:
- hosts: 127.0.0.1
connection: local
roles:
- { role: solutionDrive.packer }
License
MIT/BSD
Author Information
This role was created by solutionDrive
Informazioni sul progetto
Role for installing packer on mac os
Installa
ansible-galaxy install solutionDrive.packer
Licenza
Unknown
Download
153
Proprietario