We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e72d329 commit b92510eCopy full SHA for b92510e
ansible/etc-ansible-config/roles/wordpress/tasks/main.yml
@@ -41,13 +41,6 @@
41
group: www-data
42
mode: '0755'
43
44
-- name: check wordpress installed
45
- shell: sudo -u www-data /usr/local/bin/wp/wp-cli.phar --no-color --quiet core is-installed
46
- args:
47
- chdir: /var/www/dev
48
- register: wp_installed
49
- ignore_errors: yes
50
-
51
- name: Use WP_CLI to install WordPress
52
shell: sudo -E -u www-data /usr/local/bin/wp/wp-cli.phar core download --version={{wp_version}}
53
when: wp_installed.rc != 0
0 commit comments