main.yml 878 B

12345678910111213141516171819202122232425262728293031
  1. - name: Dependencies installed
  2. community.general.pkgng:
  3. name: py311-pip,py311-cryptography,py311-sqlite3,postgresql17-client,jpeg-turbo,tiff,webp,lcms2,freetype2,cairo,pango,libxml2,libxslt,git-tiny
  4. state: latest
  5. - name: Vrobbler installed
  6. pip:
  7. name: vrobbler
  8. - name: Vrobbler conf installed
  9. template:
  10. src: vrobbler.conf.j2
  11. dest: /usr/local/etc/vrobbler.conf
  12. - name: Vrobbler nginx location file installed
  13. copy:
  14. src: nginx-vrobbler.conf
  15. dest: /usr/local/etc/nginx/vrobbler.conf
  16. notify: Nginx restarted
  17. - name: Vrobbler immortal file installed
  18. copy:
  19. src: immortal-vrobbler.yml
  20. dest: /usr/local/etc/immortal/vrobbler.yml
  21. notify: Immortal restarted
  22. - name: Vrobbler Celery immortal file installed
  23. copy:
  24. src: immortal-vrobbler-celery.yml
  25. dest: /usr/local/etc/immortal/vrobbler-celery.yml
  26. notify: Immortal restarted