Giter VIP home page Giter VIP logo

Comments (5)

elliotweiser avatar elliotweiser commented on June 30, 2024 1

If I understood this correctly... it's not that looping won't be possible anymore. It's that squash_actions won't be used to condense the loop into a single action. You should still be able to loop over these packages with custom install options for each package. It just won't happen in a single brew install command.

To clarify, if you want to bypass this deprecation warning, consider investigating squash_actions until Ansible 2.11 is released.

Maybe the homebrew module needs to be removed from this list 🤷‍♂️

from ansible-role-homebrew.

elliotweiser avatar elliotweiser commented on June 30, 2024 1

@geerlingguy Even attempting to override squash_actions triggers the deprecation warning. They want us to upgrade to use loop instead of with_X constructs. This will remove the deprecation warnings as a side-effect. See #112 for the fix.

from ansible-role-homebrew.

geerlingguy avatar geerlingguy commented on June 30, 2024

Yeah... that's why I haven't fixed it in this role yet, because I'm not sure hwo to easily do that when changing the structure. Maybe call the task in a loop, but that feels all kinds of wrong.

from ansible-role-homebrew.

geerlingguy avatar geerlingguy commented on June 30, 2024

So I guess... this would still work after 2.11? I was thinking something might break, but reading further, maybe it won't. And if not, for this role at least, I'm willing to live with the deprecation warning for a few versions.

from ansible-role-homebrew.

elliotweiser avatar elliotweiser commented on June 30, 2024

I needed to rebuild my system, but I'll PR a config change to the ANSIBLE_SQUASH_ACTIONS setting to at least confirm that this warning can be safely ignored.

from ansible-role-homebrew.

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.