Skip to content

Instantly share code, notes, and snippets.

Created November 4, 2016 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/46c85f4fb34dfb2d7062cdad9780dc45 to your computer and use it in GitHub Desktop.
Save anonymous/46c85f4fb34dfb2d7062cdad9780dc45 to your computer and use it in GitHub Desktop.
patch:
pkg.uptodate:
- name: pkg.upgrade
- refresh: True
- kwargs: dist_upgrade=True
cleanup:
module.run:
- name: pkg.autoremove
@iggy
Copy link

iggy commented Nov 4, 2016

  pkg.uptodate:
    - name: pkg.upgrade
    - refresh: True
    - dist_upgrade: True

@iggy
Copy link

iggy commented Nov 4, 2016

  pkg.uptodate:
    - name: pkg.upgrade
    - refresh: True
    - kwargs:
        dist_upgrade: True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment