Update to 2021-09-16 17:00

master
Daniel Berteaud 3 years ago
parent d6c89842b2
commit 484dcfd2b6
  1. 2
      roles/includes/webapps_archive.yml
  2. 4
      roles/includes/webapps_compress_archive.yml
  3. 2
      roles/mysql_server/tasks/main.yml
  4. 2
      roles/phpmyadmin/tasks/main.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 }}"

@ -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

@ -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

@ -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'

Loading…
Cancel
Save