Skip to content

Commit

Permalink
Get the latest version of dockutil as described here: kcrawford/docku…
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Apr 1, 2022
1 parent 092bba4 commit b3c4545
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tasks/post/various-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
state: absent
become: false

- name: Get latest dockutil version
shell: curl --silent "https://api.github.com/repos/kcrawford/dockutil/releases/latest" | jq -r .assets[].browser_download_url | grep pkg
register: dockutil-dl

- name: Downloasd dokutil pkg
get_url:
url: https://github.com/kcrawford/dockutil/releases/download/3.0.2/dockutil-3.0.2.pkg
url: "{{ dockutil-dl.stdout }}"
dest: /tmp/dockutil.pkg
become: false

Expand Down

0 comments on commit b3c4545

Please sign in to comment.