Feat: init refact with test

This commit is contained in:
2022-01-05 11:25:33 +01:00
parent ce2f3b872e
commit 448d5096d0
260 changed files with 1606 additions and 13294 deletions

View File

@@ -0,0 +1,28 @@
---
# 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