mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #2167 from holta/wordpress-scaffolding
Wordpress/Munin Scaffolding: tiny enhancements
This commit is contained in:
commit
7d22b87dae
2 changed files with 9 additions and 3 deletions
|
@ -98,3 +98,9 @@
|
|||
systemd:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
|
||||
- name: "Add 'osm_vector_maps_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
regexp: '^osm_vector_maps_installed'
|
||||
line: 'osm_vector_maps_installed: True'
|
||||
|
|
|
@ -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…
Reference in a new issue