Skip to content

Commit

Permalink
Merge pull request ansible#167 from sadsfae/master
Browse files Browse the repository at this point in the history
Update WP version to 4.6, make firewalld rules non-fatal
  • Loading branch information
Dave Johnson authored Nov 1, 2016
2 parents d2fe3ac + 9feee82 commit 87718c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wordpress-nginx_rhel7/group_vars/all
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Variables listed here are applicable to all host groups
wp_version: 4.3
wp_sha256sum: 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4
wp_version: 4.6
wp_sha256sum: c1856cf969b1e73025ba2c681491908c3a4a6c5a2333f4531bf9bfb90f634380

# MySQL settings
mysqlservice: mysqld
Expand Down
3 changes: 2 additions & 1 deletion wordpress-nginx_rhel7/roles/mariadb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
service: name=mariadb state=started enabled=yes

- name: insert firewalld rule
firewalld: port={{ mysql_port }}/tcp permanent=true state=enabled immediate=yes
firewalld: port={{ mysql_port }}/tcp permanent=true state=enabled immediate=yes
ignore_errors: yes
1 change: 1 addition & 0 deletions wordpress-nginx_rhel7/roles/nginx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- name: insert firewalld rule for nginx
firewalld: port={{ nginx_port }}/tcp permanent=true state=enabled immediate=yes
ignore_errors: yes

- name: http service state
service: name=nginx state=started enabled=yes

0 comments on commit 87718c7

Please sign in to comment.