hashicorp/packer-plugin-ansible

[provisioner/ansible] roles_path is not taken into account

Offen

#29 geöffnet am 16.04.2021

 (0 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Go (39 Forks)auto 404
enhancementgood first issueprovisioner/ansible-remote

Repository-Metriken

Stars
 (64 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This issue was originally opened by @nWmCZ as hashicorp/packer#7993. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.

Parameter roles_path is not taken into account with ansible provisioner on azure-arm

  • Packer version 1.4.3
  • Host platform MacOS 10.14.6 / azure-arm
  • Ansible 2.8.3

Gist related content (forgive me, I don't know how to quote it yet) https://gist.github.com/nWmCZ/70441b91ee64f3cef0fc14b1e8ec09b5

EDIT: Already found workaround:

"ansible_env_vars": [ ["ANSIBLE_ROLES_PATH=/git/roles"] ]

Contributor Guide