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:
parent
d22e428a90
commit
cab92435a9
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue