1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update install.yml

This commit is contained in:
A Holt 2017-09-20 20:13:18 -04:00 committed by GitHub
parent d22e428a90
commit cab92435a9

View file

@ -1,9 +1,10 @@
- name: Get the WordPress software
get_url: url="{{ wordpress_download_base_url }}/{{ wordpress_src }}" dest={{ downloads_dir}}/
register: wp_download_output
when: internet_available
- name: Copy it to permanent location /library
unarchive: src={{ downloads_dir}}/{{ wordpress_src }} dest=/library
unarchive: src={{ wp_download_output.dest }} dest=/library
- name: Rename /library/wordpress* to /library/wordpress
shell: if [ ! -d {{ wp_abs_path }} ]; then mv {{ wp_abs_path }}* {{ wp_abs_path }}; fi