main.yml 677 B

12345678910111213141516171819202122232425
  1. - name: Dependencies installed
  2. community.general.pkgng:
  3. name: py311-pip,py311-cryptography,postgresql13-client,jpeg-turbo,tiff,webp,lcms2,freetype2,cairo,pango,libxml2,libxslt
  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