Commit dff8123d authored by Dave Johnson's avatar Dave Johnson Committed by GitHub
Browse files

Merge pull request #173 from ctam/fixing-issue-172

Added task to reload ansible_facts after installing libselinux-python.
parents 73e97d45 f3000bab
......@@ -2,6 +2,9 @@
- name: Install libselinux-python
yum: name=libselinux-python state=present
- name: Reload ansible_facts
setup:
- name: Copy the EPEL repository definition
copy: src=epel.repo dest=/etc/yum.repos.d/epel.repo
......
......@@ -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 setype=httpd_sys_content_t
- name: Start php-fpm Service
service: name=php-fpm state=started enabled=yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment