The official Apache2 package for Ubuntu has some pretty barebone default settings:
- "Could not reliably determine the server's fully qualified domain name" warning.
sites-enabled/
directory not included.- A dull "It works!" index page.
rewrite
module disabled.- No favicon.ico
This Ansible Galaxy role addresses the above, plus installing the MySQL and PHP5 packages, providing a more sensible LAMP stack installation.
Ubuntu 12.04 "Precise Pangolin" or later, including elementaryOS 0.2 "Luna".
$ ansible-galaxy install vivaserver.lamp
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- vivaserver.lamp
MIT
(c)2014 Cristian R. Arroyo