Fix a broken task.

This commit is contained in:
Andrea Dell'Amico 2020-02-07 18:38:53 +01:00
parent fc0ddc11ea
commit 0e0aa627a5
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 }}'