- ---
-
- - name: jackaudio group
- user:
- name: jack
- system: true
-
- - name: jackaudio user
- user:
- name: jack
- group: jack
- groups:
- - audio
- system: true
-
- - name: jackaudio systemd service unit
- template:
- src: jack.service.j2
- dest: /etc/systemd/system/
- notify:
- - systemd daemon-reload
- - restart jackaudio
-
- - name: jackaudio config
- template:
- src: jack.conf.j2
- dest: /etc/jack.conf
- notify: restart jackaudio
-
- - name: make sure jackaudio is enabled and started
- systemd:
- name: jack.service
- state: started
- enabled: true
|