main.yml 636 B

12345678910111213141516171819
  1. ---
  2. - name: crater deps installed
  3. community.general.pkgng:
  4. name: "git php74-composer php74-intl php74-dom php74-tokenizer php74-xmlwriter php74-xml php74-zip php74-fileinfo php74-pcntl php74-posix php74-simplexml php74-pdo php74-iconv php74-curl php74-bcmath php74-pgsql php74-pdo_pgsql php74-session"
  5. state: latest
  6. - name: Crater source unpacked
  7. unarchive:
  8. src: https://craterapp.com/downloads/file/4.2.0
  9. dest: /usr/local/src/crater
  10. remote_src: yes
  11. - name: Crater conf file installed
  12. template:
  13. src: app.env.j2
  14. dest: /usr/local/src/crater/.env
  15. owner: www
  16. mode: 0666
  17. notify: Nginx restarted