mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Cleaner wordpress/tasks/install.yml
This commit is contained in:
parent
dac5e532fe
commit
cd2ec0333b
1 changed files with 3 additions and 3 deletions
|
@ -36,10 +36,10 @@
|
|||
msg: "{{ downloads_dir }}/wordpress.tar.gz is REQUIRED in order to install WordPress."
|
||||
when: not wp_link.stat.exists
|
||||
|
||||
- name: "Unpack /opt/iiab/downloads/wordpress.tar.gz to permanent location /library/wordpress - owner: root, group: {{ apache_user }}, mode: 0664, keep_newer: yes"
|
||||
- name: "Unpack {{ downloads_dir }}/wordpress.tar.gz to permanent location {{ wp_install_path }}/wordpress - owner: root, group: {{ apache_user }}, mode: '0664', keep_newer: yes"
|
||||
unarchive:
|
||||
src: "{{ downloads_dir }}/wordpress.tar.gz"
|
||||
dest: "{{ wp_install_path }}"
|
||||
src: "{{ downloads_dir }}/wordpress.tar.gz" # /opt/iiab/downloads
|
||||
dest: "{{ wp_install_path }}" # /library
|
||||
owner: root # 2020-01-17: confirmed that wordpress.tar.gz (otherwise) unpacks as nobody:nogroup, with all files as '0644', and all dirs as '0755'
|
||||
group: "{{ apache_user }}" # DO WE REALLY STILL WANT THIS FOR NGINX?
|
||||
mode: '0664' # PHP/Apache/NGINX apparently need g+rw (group write access, not just read) similar to '0775' for directory traversing below
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue