diff --git a/prepare_db.sql b/prepare_db.sql new file mode 100644 index 0000000..e69de29 diff --git a/run.yml b/run.yml index 2cc8aa9..0b04e56 100644 --- a/run.yml +++ b/run.yml @@ -3,4 +3,5 @@ become: yes tasks: - - import_tasks: tasks/essential.yml \ No newline at end of file + - import_tasks: tasks/essential.yml + - import_tasks: tasks/shopware.yml \ No newline at end of file diff --git a/tasks/essential.yml b/tasks/essential.yml index c83e13b..bc601d5 100644 --- a/tasks/essential.yml +++ b/tasks/essential.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 \ No newline at end of file diff --git a/tasks/shopware.yml b/tasks/shopware.yml new file mode 100644 index 0000000..5c9aeb0 --- /dev/null +++ b/tasks/shopware.yml @@ -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 +