Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Mohamed Alibi
ansible-examples
Commits
80d3d623
Commit
80d3d623
authored
Oct 27, 2016
by
Carson Tam
Browse files
Also need to set the right SEType for Wordpress directory.
parent
925a7fb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wordpress-nginx/roles/wordpress/tasks/main.yml
wordpress-nginx/roles/wordpress/tasks/main.yml
+2
-2
No files found.
wordpress-nginx/roles/wordpress/tasks/main.yml
View file @
80d3d623
...
...
@@ -16,7 +16,7 @@
local_action
:
command curl https://api.wordpress.org/secret-key/1.1/salt/
register
:
"
wp_salt"
become
:
no
become_method
:
sudo
become_method
:
sudo
-
name
:
Create WordPress database
mysql_db
:
name={{ wp_db_name }} state=present
...
...
@@ -28,7 +28,7 @@
template
:
src=wp-config.php dest=/srv/wordpress/
-
name
:
Change ownership of WordPress installation
file
:
path=/srv/wordpress/ owner=wordpress group=wordpress state=directory recurse=yes
file
:
path=/srv/wordpress/ owner=wordpress group=wordpress state=directory recurse=yes
s setype=httpd_sys_content_t
-
name
:
Start php-fpm Service
service
:
name=php-fpm state=started enabled=yes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment