Ansible Playbook for Ubuntu
Ansible Playbook for Ubuntu Installation.
Requirements
This playbook require Ansible 2.0 or higher.
This playbook was designed for Ubuntu Server 14.04 LTS.
Quick Start
All-in-one (AIO) builds are a great way to perform an Ubuntu build for
- A development environment
- An overview of how all of the Ubuntu services fit together
- A simple lab deployment
Although AIO builds aren’t recommended for large production deployments, they’re great for smaller proof-of-concept deployments.
AIO with Customization
There are four main steps for running a customized AIO build:
- Install Ansible
- Initial roles, vars and hosts bootstrap
- Configuration (this step is optional)
- Run playbooks
Start by cloning the ansible-playbook-ubuntu repository and changing into the repository root directory:
$ git clone https://github.com/pantarei/ansible-playbook-ubuntu \
/opt/ansible-playbook-ubuntu
$ cd /opt/ansible-playbook-ubuntu
Next bootstrap Ansible by executing:
$ scripts/bootstrap-ansible.sh
Now we can bootstrap Ansible's roles, vars and hosts by executing:
$ scripts/bootstrap-aio.sh
By default the scripts deploy only general Ubuntu setup. At this point you may optionally adjuct which services are deployed within your AIO build. Look at the group_vars/all
and inventory/localhost
for more details. For example, if you'd like to upgrade your Ubuntu set the apt_upgrade
as full
at group_vars/all
:
apt_upgrade: full
Finally, run the plabooks by executing:
$ scripts/run-playbooks.sh
Dependencies
- hswong3i.apache2
- hswong3i.apache2_vhosts
- hswong3i.apt
- hswong3i.bamboo
- hswong3i.bitbucket
- hswong3i.confluence
- hswong3i.crowd
- hswong3i.drupal
- hswong3i.fisheye
- hswong3i.hostname
- hswong3i.java
- hswong3i.jira
- hswong3i.locales
- hswong3i.mysql
- hswong3i.mysql_connector_java
- hswong3i.mysql_vhosts
- hswong3i.ntp
- hswong3i.php
- hswong3i.php_vhosts
- hswong3i.postgresql
- hswong3i.postgresql_vhosts
- hswong3i.tzdata
- hswong3i.ufw
- hswong3i.usermin
- hswong3i.webmin
License
Author Information
- Wong Hoi Sing Edison