Skip to content

Commit b92510e

Browse files
committed
removed condition to check wp installed
1 parent e72d329 commit b92510e

File tree

1 file changed

+0
-7
lines changed
  • ansible/etc-ansible-config/roles/wordpress/tasks

1 file changed

+0
-7
lines changed

ansible/etc-ansible-config/roles/wordpress/tasks/main.yml

-7
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@
4141
group: www-data
4242
mode: '0755'
4343

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-
5144
- name: Use WP_CLI to install WordPress
5245
shell: sudo -E -u www-data /usr/local/bin/wp/wp-cli.phar core download --version={{wp_version}}
5346
when: wp_installed.rc != 0

0 commit comments

Comments
 (0)