Merge branch 'master' of adellam/ansible-role-wordpress into master

This commit is contained in:
Andrea Dell'Amico 2020-02-07 18:39:08 +01:00 committed by Gitea
commit d4b5f0fea7
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
--- ---
- block: - block:
- name: Create a directory to store the logs of the wp maintenance commands - name: Create a directory to store the logs of the wp maintenance commands
file: /var/log/wordpress_maintenance state=directory owner={{ wordpress_system_user }} mode=0755 file: dest=/var/log/wordpress_maintenance state=directory owner={{ wordpress_system_user }} mode=0755
tags: wordpress tags: wordpress
- block: - block:
- name: - name: Update thw WP core.
command: wp core update {% if wordpress_auto_upgrade_minor_only %} --minor{% endif %} command: wp core update {% if wordpress_auto_upgrade_minor_only %} --minor{% endif %}
args: args:
chdir: '{{ wordpress_doc_root }}' chdir: '{{ wordpress_doc_root }}'