adding dummy sql, moving non essential tasks to own file, importing these to run.yml

master
parent bc66f41ba8
commit 039ded0b8e
  1. 0
      prepare_db.sql
  2. 3
      run.yml
  3. 18
      tasks/essential.yml
  4. 24
      tasks/shopware.yml

@ -3,4 +3,5 @@
become: yes
tasks:
- import_tasks: tasks/essential.yml
- import_tasks: tasks/essential.yml
- import_tasks: tasks/shopware.yml

@ -30,21 +30,3 @@
apt: name={{ item }} state=latest update_cache=yes
loop: [ 'apt-transport-https', 'ca-certificates', 'curl', 'software-properties-common', 'python3-pip', 'virtualenv', 'python3-setuptools']
- name: Shopware Dependencies
package:
name:
- unzip
- nginx
- php7.4-fpm
- php7.4-mysql
- php7.4-json
- php7.4-curl
- php7.4-gd
- php7.4-xml
- php7.4-zip
- php7.4-opcache
- php7.4-mbstring
- php7.4-intl
- php7.4-cli
- mariadb-server
state: latest

@ -0,0 +1,24 @@
- name: Shopware Dependencies
package:
name:
- unzip
- nginx
- php7.4-fpm
- php7.4-mysql
- php7.4-json
- php7.4-curl
- php7.4-gd
- php7.4-xml
- php7.4-zip
- php7.4-opcache
- php7.4-mbstring
- php7.4-intl
- php7.4-cli
- mariadb-server
state: latest
- name: Copy SQL file
copy:
src: ../prepare_db.sql
dest: /data/prepare_db.sql
Loading…
Cancel
Save