Install GPMDP using Ansible

Just a quick playbook to install/update GPMDP using Ansible.

- name: Fetch the download_url from API
  uri:
    url: https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/assets/3731260
    return_content: yes
  register: gpmdp
  tags:
    - gpmdp
- name: Install GPMDP
  apt:
    deb: "{{ gpmdp | json_query('json.browser_download_url') }}"
  tags:
    - gpmdp

 

Leave a comment

Your email address will not be published. Required fields are marked *