Merge "Fix undefined wp variables"

This commit is contained in:
Jenkins 2016-10-21 22:00:12 +00:00 committed by Gerrit Code Review
commit 2e0619c1fd
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@
- name: Download wordpress
get_url:
url: "{{ app_env.wp_latest or 'https://wordpress.org/latest.tar.gz' }}"
url: "{{ app_env.wp_latest | default('https://wordpress.org/latest.tar.gz') }}"
dest: /var/www/latest.tar.gz
- name: Unpack latest wordpress
@ -92,7 +92,7 @@
- name: Install wordpress command line tool
get_url:
url: "{{ app_env.wp_cli or 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar' }}
url: "{{ app_env.wp_cli | default('https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar') }}"
dest: /usr/local/bin/wp
mode: "a+x"
force: no

View File

@ -26,7 +26,7 @@
- name: Download wordpress importer plugin
get_url:
url: "{{ app_env.wp_importer or 'http://downloads.wordpress.org/plugin/wordpress-importer.0.6.3.zip' }}"
url: "{{ app_env.wp_importer | default('http://downloads.wordpress.org/plugin/wordpress-importer.0.6.3.zip') }}"
dest: /tmp/wordpress-importer.zip
force: yes