We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, with the yum module:
yum
yum: name: '*' state: latest
It would be nice to be able to do the same with opkg:
opkg
opkg: name: '*' state: latest
Looking at the code, probably wouldn't be too bad to special case *, do opkg list-upgradable and feed that into install_packages.
*
opkg list-upgradable
install_packages
The text was updated successfully, but these errors were encountered:
I currently use
- name: Upgrade packages shell: "opkg list-upgradable | cut -f 1 -d ' ' | xargs -r opkg upgrade"
for this task.
Sorry, something went wrong.
Keeping in mind that openwrt themselves recommend you don't upgrade packages outside of the release upgrade cycles: https://openwrt.org/meta/infobox/upgrade_packages_warning
No branches or pull requests
For example, with the
yum
module:It would be nice to be able to do the same with
opkg
:Looking at the code, probably wouldn't be too bad to special case
*
, doopkg list-upgradable
and feed that intoinstall_packages
.The text was updated successfully, but these errors were encountered: