diff --git a/configs.yml b/configs.yml index 83b2a43..de1947e 100644 --- a/configs.yml +++ b/configs.yml @@ -283,10 +283,6 @@ latex: - dotfiles/latexmkrc - ~/.latexmkrc -lilypond: - - install: - - lilypond - powershell: - clone: url: https://aur.archlinux.org/powershell-bin.git diff --git a/playbook.yml b/playbook.yml index 25c1c9f..36d140b 100644 --- a/playbook.yml +++ b/playbook.yml @@ -28,3 +28,5 @@ tags: tor - role: sudoers tags: sudoers + - role: lilypond + tags: lilypond diff --git a/roles/lilypond/tasks/main.yml b/roles/lilypond/tasks/main.yml new file mode 100644 index 0000000..9fdbe5e --- /dev/null +++ b/roles/lilypond/tasks/main.yml @@ -0,0 +1,15 @@ +--- + +- name: Install lilypond (Archlinux) + become: true + pacman: + name: + - lilypond + when: ansible_distribution == 'Archlinux' + +- name: Install lilypond (Debian) + become: true + apt: + name: + - lilypond + when: ansible_distribution == 'Debian'