diff --git a/tasks/wp_maintenance.yml b/tasks/wp_maintenance.yml index 949e41c..97429fe 100644 --- a/tasks/wp_maintenance.yml +++ b/tasks/wp_maintenance.yml @@ -1,11 +1,11 @@ --- - block: - 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 - block: - - name: + - name: Update thw WP core. command: wp core update {% if wordpress_auto_upgrade_minor_only %} --minor{% endif %} args: chdir: '{{ wordpress_doc_root }}'