Comments (5)
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.
@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.
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.
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.
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)
- `Force update brew after installation.` task fails if `homebrew_user` is different than `ansible_user_id` HOT 1
- error trying to install cask HOT 1
- Update Homebrew Itself HOT 2
- Question: Can you please explain why we are not using the official install shell script? HOT 2
- Speedup brew and brew cask install/uninstall tasks HOT 2
- Install from Brewfile fails when mas Apps are included HOT 2
- Installing casks requiring sudo password? HOT 6
- When installing casks, anything with a dash errors. HOT 15
- Migrate from Travis CI to GitHub Actions for testing HOT 2
- Preparing for Ansible 2.10 Collections HOT 2
- `brew cask install` is deprecated in favour of `brew install --cask` HOT 6
- Error: Cannot install in Homebrew on ARM processor in Intel default prefix HOT 1
- homebrew_tap module fails when moving the homebrew_prefix and brew is not in the path HOT 3
- dot files repo only supports "master" branch HOT 1
- Running against macos 10.14.6 fails HOT 1
- installing is very slow. HOT 1
- Hanging at Ensure Homebrew parent directory has correct permissions HOT 1
- Install from Brewfile unable to find brew HOT 1
- execute local vs ssh HOT 1
- Deprecate this role in favor of the new geerlingguy.mac collection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-homebrew.