diff --git a/roles/includes/webapps_archive.yml b/roles/includes/webapps_archive.yml index 21a05d4..5ff3f31 100644 --- a/roles/includes/webapps_archive.yml +++ b/roles/includes/webapps_archive.yml @@ -7,7 +7,7 @@ synchronize: src: "{{ root_dir }}/web" dest: "{{ root_dir }}/archives/{{ version }}/" - recursive: True + compress: False delete: True delegate_to: "{{ inventory_hostname }}" diff --git a/roles/includes/webapps_compress_archive.yml b/roles/includes/webapps_compress_archive.yml index 64e0649..437b3b0 100644 --- a/roles/includes/webapps_compress_archive.yml +++ b/roles/includes/webapps_compress_archive.yml @@ -1,9 +1,9 @@ --- - name: Compress previous version - command: tar cJf {{ root_dir }}/archives/{{ version }}.txz ./ + command: tar cf {{ root_dir }}/archives/{{ version }}.tar.zst --use-compress-program=zstd ./ environment: - XZ_OPT: -T0 + ZSTD_CLEVEL: 10 args: chdir: "{{ root_dir }}/archives/{{ version }}" warn: False diff --git a/roles/mysql_server/tasks/main.yml b/roles/mysql_server/tasks/main.yml index 2fafe57..b6837f7 100644 --- a/roles/mysql_server/tasks/main.yml +++ b/roles/mysql_server/tasks/main.yml @@ -100,7 +100,7 @@ state: "{{ (mysql_src_ip is defined and mysql_src_ip | length > 0) | ternary('present','absent') }}" rules: "-A INPUT -m state --state NEW -p tcp --dport {{ mysql_port | default('3306') }} -s {{ mysql_src_ip | join(',') }} -j ACCEPT" when: iptables_manage | default(True) - tags: mysql + tags: mysql,firewall - name: Create database admin mysql_user: name=sqladmin password={{ mysql_admin_pass }} host="%" priv="*.*:ALL,GRANT" state=present diff --git a/roles/phpmyadmin/tasks/main.yml b/roles/phpmyadmin/tasks/main.yml index e220fef..29fe43d 100644 --- a/roles/phpmyadmin/tasks/main.yml +++ b/roles/phpmyadmin/tasks/main.yml @@ -67,7 +67,7 @@ synchronize: src: "{{ pma_root_dir }}/tmp/phpMyAdmin-{{ pma_version }}-all-languages/" dest: "{{ pma_root_dir }}/web/" - recursive: True + compress: False delete: True delegate_to: "{{ inventory_hostname }}" when: pma_install_mode != 'none'