2.0.0
What's Changed
- Use Ansible local facts for OS-specific variables by @medanthelinium in #7
Previously, the PHP version variable was constructed dynamically depending on which PHP version is installed on the target system:
https://github.com/punktDe/ansible-proserver-php/blob/master/tasks/phpversion.yaml#L7-L20
Unfortunately, if this task was not ran explicitly (e.g. because of --start-at-task), the php_version variable would remain empty.
Moreover, with the recent change in the PHP service name on FreeBSD, we also need to construct the variable representing the PHP service dynamically, depending on the blueprint version.
Using ansible_local facts instead of a set_fact task ensures that the necessary variables are generated on the target system instead, and are available at any point in the playbook via ansible_local.php
Full Changelog: 1.1.0...2.0.0