Code Monkey home page Code Monkey logo

Comments (3)

lbajolet-hashicorp avatar lbajolet-hashicorp commented on July 28, 2024

Hi @jrobison-sb,

From the looks of it in the comment you linked, the issue got closed with a fix back in 2022, are you using a version of Packer/Ansible plugin that is older than this? Judging by the releases, it was included in v1.0.3 of the plugin, could you make sure you're running this version or above?
What's the version of Packer you're using also? If you're using a version before 1.10.0, there's a change you're using an embedded plugin from that version of Packer, so the version of the plugin could be correlated with Packer itself in this case.

from packer-plugin-ansible.

jrobison-sb avatar jrobison-sb commented on July 28, 2024

Hi @lbajolet-hashicorp, thanks for your reply.

The affected automation which prompted this issue uses hashicorp/packer:1.7.9.

Is it your understanding that the latest version of ansible-local can already install roles and collections at the same time from the same requirements.yml?

from packer-plugin-ansible.

lbajolet-hashicorp avatar lbajolet-hashicorp commented on July 28, 2024

Hi @jrobison-sb,

Pretty sure 1.7.9 was embedding a plugin version before 1.0.3 given the release dates, I would suggest you update and try again.

To be clear, I cannot ensure this will fix your problem, and also disclaimer: I'm not super comfortable with Ansible, I don't know the difference between roles and collections, but judging from the linked threads and the commit history, it looks like this got fixed with packer-plugin-ansible 1.0.3 (c.f. commit c64d013).

I would advise you don't continue relying on embedded plugins as they've been removed from more recent versions of Packer (a first part with 1.9.0, and the rest with 1.10.0), we are updating our docs regarding installing plugins to make them more comprehensible, but if you are unfamiliar with how Packer manages plugins, I suggest you read the documentation on that subject.

Hope that helps

from packer-plugin-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.