machina-installer/playbooks/spotify-install.yml

14 lines
486 B
YAML

- hosts: "{{ hostlist }}"
tasks:
- name: Pre-install Spotify requirements
become: true
dnf:
name: lpf-spotify-client
state: latest
- name: Approve the Spotify LPF module
command: sh -c 'echo y | env PAGER=/bin/cat lpf approve spotify-client'
- name: Build the Spotify LPF module
command: sh -c 'echo y | lpf build spotify-client'
- name: Install the Spotify LPF module
command: sh -c 'echo y | lpf install spotify-client'