Skip to content
New issue

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

provide state: latest in manala_apt_packages #209

Open
raleonardo opened this issue Jun 7, 2018 · 5 comments
Open

provide state: latest in manala_apt_packages #209

raleonardo opened this issue Jun 7, 2018 · 5 comments

Comments

@raleonardo
Copy link

provide state: latest in manala_apt_packages

@nervo
Copy link
Member

nervo commented Jun 8, 2018

Hm, i'm afraid this is not possible with our current implementation, as packages are bunk installed, so that individual states could not be handled (see: https://github.com/manala/ansible-roles/blob/master/manala.apt/tasks/packages.yml#L16)

Maybe if you have some idea ?..

@raleonardo
Copy link
Author

Thanks for the comment! I understand that packages listed for present are installed in bulk.
I added another task there matching wantstate=latest and calling apt with state=latest.

@nervo
Copy link
Member

nervo commented Jun 13, 2018

@raleonardo what about a global flag ? something like manala_apt_packages_latest: true|false
Do you want only some packages in latest state, or all of them ?

@raleonardo
Copy link
Author

raleonardo commented Jun 15, 2018 via email

@raleonardo
Copy link
Author

hi, found this old thread.
Seems to be solved here, no?
roles/apt/tasks/packages.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants