You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
581B

  1. ---
  2. - name: jackaudio group
  3. user:
  4. name: jack
  5. system: true
  6. - name: jackaudio user
  7. user:
  8. name: jack
  9. group: jack
  10. groups:
  11. - audio
  12. system: true
  13. - name: jackaudio systemd service unit
  14. template:
  15. src: jack.service.j2
  16. dest: /etc/systemd/system/
  17. notify:
  18. - systemd daemon-reload
  19. - restart jackaudio
  20. - name: jackaudio config
  21. template:
  22. src: jack.conf.j2
  23. dest: /etc/jack.conf
  24. notify: restart jackaudio
  25. - name: make sure jackaudio is enabled and started
  26. systemd:
  27. name: jack.service
  28. state: started
  29. enabled: true