solutionDrive.packer

Nom du rôle

Installer Packer sur macOS

Exigences

Aucune

Variables du rôle

packer_install_version: "1.2.2"

Version qui doit être installée.

packer_download_destination: "/tmp/packer_{{ packer_install_version }}.zip"

Chemin qui sera utilisé pour télécharger Packer.

packer_unarchive_destination: "/tmp/packer/"

Chemin qui sera utilisé pour extraire l'archive téléchargée.

packer_execution_path: "/usr/local/bin/packer"

Chemin qui sera utilisé pour déplacer le fichier extrait et le rendre exécutable.

packer_releases_url: "https://releases.hashicorp.com/packer/{{ packer_install_version }}/packer_{{ packer_install_version }}_darwin_amd64.zip"

URL pour télécharger Packer.

packer_plugin_download_path: "/tmp"

Dossier pour télécharger les plugins configurés.

packer_plugin_installation_path: "~/.packer.d/plugins"

Dossier où les plugins doivent être installés.

packer_plugins:
  - name: "Nom-du-fichier-plugin-après-installation"
    url:  "url-de- téléchargement-du-plugin"
    filename: "nom-du-fichier-téléchargé/archive"

Dépendances

Aucune

Exemple de Playbook

Inclure un exemple de la façon d'utiliser votre rôle (par exemple, avec des variables passées en tant que paramètres) est toujours agréable pour les utilisateurs aussi :

- hosts: 127.0.0.1
  connection: local
  roles:
     - { role: solutionDrive.packer }

Licence

MIT/BSD

Informations sur l'auteur

Ce rôle a été créé par solutionDrive

À propos du projet

Role for installing packer on mac os

Installer
ansible-galaxy install solutionDrive.packer
Licence
Unknown
Téléchargements
153
Propriétaire