Compare commits

...

2 Commits

  1. 2
      group_vars/all/vars.yml
  2. 2
      hosts
  3. 32
      tasks/shopware.yml

@ -1,4 +1,4 @@
username: rpolito
username: polito
shopware_root_username: root
shopware_root_pass: rootpass
shopware_db_username: shopware

@ -1,2 +1,2 @@
[home]
swserver ansible_host=192.168.0.223 ansible_user=rpolito ansible_connection=ssh ansible_ssh_private_key_file=/home/rpolito/.ssh/id_rsa
swserver ansible_host=192.168.0.187 ansible_user={{username}} ansible_connection=ssh ansible_ssh_private_key_file=/home/rpolito/.ssh/id_rsa

@ -3,17 +3,17 @@
name:
- unzip
- nginx
- php8.0
- php8.0-mysql
- php8.0-json
- php8.0-curl
- php8.0-gd
- php8.0-xml
- php8.0-zip
- php8.0-opcache
- php8.0-mbstring
- php8.0-intl
- php8.0-cli
- php8.1
- php8.1-mysql
- php8.1-json
- php8.1-curl
- php8.1-gd
- php8.1-xml
- php8.1-zip
- php8.1-opcache
- php8.1-mbstring
- php8.1-intl
- php8.1-cli
- mariadb-server
- python3-pymysql
state: latest
@ -72,30 +72,30 @@
#configure php
- name: Setting PHP memory limit
lineinfile:
dest: /etc/php/8.0/fpm/php.ini
dest: /etc/php/8.1/fpm/php.ini
regexp: "^memory_limit = 128M$"
line: "memory_limit = 512M"
- name: Setting PHP POST MAX SIZE
lineinfile:
dest: /etc/php/8.0/fpm/php.ini
dest: /etc/php/8.1/fpm/php.ini
regexp: "^post_max_size = 8M$"
line: "post_max_size = 32M"
- name: Setting Upload Max Filesize
lineinfile:
dest: /etc/php/8.0/fpm/php.ini
dest: /etc/php/8.1/fpm/php.ini
regexp: "^upload_max_filesize = 2M$"
line: "upload_max_filesize = 32M"
- name: Restart php 8
ansible.builtin.service:
name: php8.0-fpm
name: php8.1-fpm
state: restarted
- name: Make sure service is started and enabled
systemd:
name: php8.0-fpm
name: php8.1-fpm
state: started
enabled: yes

Loading…
Cancel
Save