Update to 2020-04-20 11:00

master
Daniel Berteaud 4 years ago
parent adfb9b5c8a
commit 4326c70979
  1. 2
      roles/glpi/templates/dump_db.j2
  2. 2
      roles/sudo/templates/fws.j2
  3. 7
      roles/wordpress/tasks/install.yml

@ -4,4 +4,4 @@
--password={{ glpi_mysql_pass | quote }} \
--host={{ glpi_mysql_server | quote }} \
--quick --single-transaction \
--add-drop-table {{ glpi_mysql_db | quote }} | lz4 -c > {{ glpi_root_dir }}/db_dumps/{{ glpi_mysql_db }}.sql.lz4
--add-drop-table {{ glpi_mysql_db | quote }} | zstd -T0 -c > {{ glpi_root_dir }}/db_dumps/{{ glpi_mysql_db }}.sql.zstd

@ -1,3 +1,3 @@
{% for group in sudo_admin_groups %}
%{{ group }} ALL=(root) ALL
%{{ group }} ALL=(ALL) ALL
{% endfor %}

@ -69,3 +69,10 @@
command: "{{ wp_root_dir }}/perms.sh"
when: wp_install_mode != 'none' or wp_perms_script.changed
tags: wp
- name: Deploy pre/post backup hooks
template: src={{ item }}-backup.sh.j2 dest=/etc/backup/{{ item }}.d/wordpress_{{ wp_id }} mode=750
loop:
- pre
- post
tags: wp

Loading…
Cancel
Save