Skip to content

hnakamur/lxc-ansible-playbooks

Repository files navigation

lxc-ansible-playbooks

Ansible playbooks for setup lxc host and containers on Ubuntu 14.04 or CentOS 6 I tested these playbooks in two Vagrant boxes below.

  config.vm.box = "hnakamur/ubuntu-14.04-x64"
  config.vm.box = "hnakamur/centos6.5-x64"

What will be created

  1. Ansible is installed with the Vagrant shell provisioner.
  2. The lxc host is configured.
  3. Two lxc containers is created.

Nginx will be installed in the lxc hosts and containers. The nginx in the lxc host proxys to nginx in containers. You can access nginx in containers with urls:

Under the hood

About

Ansible playbooks for setup lxc host and containers on Ubuntu 14.04 or CentOS 6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published