您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

35 行
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