Ansible_workstation/roles/mopidy-server/tasks/main.yml

29 lines
523 B
YAML

---
# tasks file for mopidy-server
- name: install gpg
apt:
name: gpg
state: present
update_cache: yes
become: yes
- name: Add an apt.modidy.com key
ansible.builtin.apt_key:
url: "https://apt.mopidy.com/mopidy.gpg"
state: present
become: yes
- name: Add apt.modidy.com repo
get_url:
url: https://apt.mopidy.com/buster.list
dest: /etc/apt/sources.list.d/mopidy.list
become: yes
- name: Install mopidy
apt:
name: mopidy
state: present
update_cache: yes
become: yes