diff --git a/CHANGELOG.md b/CHANGELOG.md
index 57cd287..17feec6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,18 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
-[Unreleased]
-------------
+[0.2.0] - 2018-01-06
+--------------------
### Added
- Added empty `ansible.cfg` file.
- Added a `README.md` for ad-hoc Ansible provisioning.
### Changed
-- Added the "virtual" directive to the Apache Fast CGI alias config.
+- Upgraded the PHP version to 7.2.
0.1.0 - 2017-07-12
------------------
### Added
- Initial release.
-[Unreleased]: https://github.com/jbenner-radham/wordpress-vagrant-box/compare/v0.1.0...HEAD
+[0.2.0]: https://github.com/jbenner-radham/wordpress-vagrant-box/compare/v0.1.0...v0.2.0
diff --git a/ansible/README.md b/ansible/README.md
index c82a10f..fa6bcdc 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -5,8 +5,9 @@ Provisioning a remote instance directly via [Ansible][ANSIBLE].
Usage
-----
From the command line run:
+
```sh
-ansible-playbook --user=$USER --ask-pass playbook.yml
+ansible-playbook --user=$USER --ask-pass playbook.yml --extra-vars='ansible_python_interpreter=/usr/bin/python3'
```
[ANSIBLE]: https://www.ansible.com/
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg
index 460145a..5bf4a21 100644
--- a/ansible/ansible.cfg
+++ b/ansible/ansible.cfg
@@ -1,2 +1,4 @@
# Set any ansible.cfg overrides in this file.
# See: https://docs.ansible.com/ansible/intro_configuration.html#explanation-of-values-by-section
+
+#inventory = /etc/ansible/hosts
diff --git a/ansible/roles/apache/templates/vhost.conf.j2 b/ansible/roles/apache/templates/vhost.conf.j2
index 76f35f9..ed12343 100644
--- a/ansible/roles/apache/templates/vhost.conf.j2
+++ b/ansible/roles/apache/templates/vhost.conf.j2
@@ -46,13 +46,13 @@
#Include conf-available/serve-cgi-bin.conf
- AddHandler php7.1-fcgi .php
- Action php7.1-fcgi /php7.1-fcgi
- Alias /php7.1-fcgi /usr/lib/cgi-bin/php7.1-fcgi
- FastCgiExternalServer /usr/lib/cgi-bin/php7.1-fcgi -socket /var/run/php/php7.1-fpm.sock -pass-header Authorization
+ AddHandler php7.2-fcgi .php
+ Action php7.2-fcgi /php7.2-fcgi
+ Alias /php7.2-fcgi /usr/lib/cgi-bin/php7.2-fcgi
+ FastCgiExternalServer /usr/lib/cgi-bin/php7.2-fcgi -socket /var/run/php/php7.2-fpm.sock -pass-header Authorization
- # NOTE: using `/usr/lib/cgi-bin/php7.1-fcgi` here does not work, it doesn't exist in the filesystem!
+ # NOTE: using `/usr/lib/cgi-bin/php7.2-fcgi` here does not work, it doesn't exist in the filesystem!
Require all granted
diff --git a/ansible/roles/php/handlers/main.yml b/ansible/roles/php/handlers/main.yml
index 4672066..ab96988 100644
--- a/ansible/roles/php/handlers/main.yml
+++ b/ansible/roles/php/handlers/main.yml
@@ -1,4 +1,4 @@
---
-- name: Restart PHP-FPM
- service: name=php7.1-fpm
+- name: Restart PHP-FPM
+ service: name=php7.2-fpm
state=restarted
diff --git a/ansible/roles/php/tasks/main.yml b/ansible/roles/php/tasks/main.yml
index e2a721f..f1597b5 100644
--- a/ansible/roles/php/tasks/main.yml
+++ b/ansible/roles/php/tasks/main.yml
@@ -9,7 +9,7 @@
- name: Install PHP
apt:
- name: php7.1-fpm
+ name: php7.2-fpm
update_cache: yes
cache_valid_time: 3600
@@ -17,10 +17,10 @@
apt:
name: '{{ item }}'
with_items:
- - php7.1-curl
- - php7.1-mysql
- - php7.1-xml # RSS feed on the front page requires this for operation.
- - php7.1-xmlrpc # Required for WP JetPack.
+ - php7.2-curl
+ - php7.2-mysql
+ - php7.2-xml # RSS feed on the front page requires this for operation.
+ - php7.2-xmlrpc # Required for WP JetPack.
- name: Enable PHP Modules
command: phpenmod {{ item }}