main.yml 571 B

12345678910111213141516171819202122232425
  1. ---
  2. - name: Dependencies installed
  3. community.general.pkgng:
  4. name: npm-node16,jpeg-turbo,tiff,webp,lcms2,freetype2,yarn-node16,cairo,pango,gmake,pkgconf,pixman
  5. state: latest
  6. - name: Source folder exists
  7. file:
  8. path: /usr/local/src
  9. mode: 0755
  10. state: directory
  11. - name: scratch-www source deployed
  12. git:
  13. repo: https://github.com/LLK/scratch-www
  14. dest: /usr/local/src/scratch-www
  15. update: yes
  16. ignore_errors: true
  17. tags:
  18. - deploy
  19. - name: scratch-www deps installed
  20. shell:
  21. cmd: npm install
  22. chdir: /usr/local/src/scratch-www