26 lines
658 B
YAML
26 lines
658 B
YAML
#!/usr/bin/ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
- name: Install and configure software for M22 Kraken management
|
|
block:
|
|
- name: Install APT packages
|
|
# Build-time dep
|
|
apt: name=libusb-1.0-0-dev
|
|
- name: Install pip3 packages
|
|
pip:
|
|
executable: "/usr/bin/pip3"
|
|
state: latest
|
|
name:
|
|
- liquidctl
|
|
- name: Template out services
|
|
template:
|
|
src: rgb-kraken.service
|
|
dest: /etc/systemd/system/rgb-kraken.service
|
|
- name: Start and enable services
|
|
systemd:
|
|
daemon_reload: yes
|
|
name: rgb-kraken.service
|
|
state: started
|
|
enabled: yes
|
|
become: yes
|