mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #3 from georgejhunt/wordpress
change group permissions on wordpress to enable write, add line to wp…
This commit is contained in:
commit
547ac7358d
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
recurse=yes
|
recurse=yes
|
||||||
owner=root
|
owner=root
|
||||||
group={{ apache_data }}
|
group={{ apache_data }}
|
||||||
mode=0640
|
mode=0664
|
||||||
state=directory
|
state=directory
|
||||||
|
|
||||||
- name: Make directories 755 so can traverse
|
- name: Make directories 755 so can traverse
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
dest={{ wp_abs_path }}/wp-config.php
|
dest={{ wp_abs_path }}/wp-config.php
|
||||||
owner=root
|
owner=root
|
||||||
group={{ apache_data }}
|
group={{ apache_data }}
|
||||||
mode=0640
|
mode=0660
|
||||||
|
|
||||||
- name: Copy WordPress httpd conf file
|
- name: Copy WordPress httpd conf file
|
||||||
template: src=wordpress.conf.j2
|
template: src=wordpress.conf.j2
|
||||||
|
|
|
@ -91,3 +91,5 @@ if ( !defined('ABSPATH') )
|
||||||
|
|
||||||
/** Sets up WordPress vars and included files. */
|
/** Sets up WordPress vars and included files. */
|
||||||
require_once(ABSPATH . 'wp-settings.php');
|
require_once(ABSPATH . 'wp-settings.php');
|
||||||
|
define('FS_METHOD','direct');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue