Role lxc_hosts for OpenStack-Ansible
Go to file
Logan V 9ad190a7c8 Fix locales on Ubuntu
The new Ubuntu base image we use does not ship with any locales
or locale configuration. A fix[1] attempted to remedy this by
copying the default locale configuration from the host, but it
is not a valid fix since the locale from the host is not present
or generated in the container cache. This causes things to break
on the system when valid locales are used, such as database
systems[2].

Instead, to prepare locales in Ubuntu[3], we should install the
locales package and provide a list of valid locales to prep
the base image. It is not necessary to copy /etc/default/locale
from the system. The first locale provided will be used as
the system's base locale by running 'update-locale' which
builds /etc/default/locale.

[1] e62de979cb
[2] http://paste.openstack.org/show/719241/
[3] https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu#No_locale_set

Change-Id: Iaa5351777d7db464e8a897fdf33c0f440bfa601b
2018-04-14 17:43:48 -05:00
defaults Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00
doc Updated from global requirements 2018-03-15 07:30:19 +00:00
examples [DOCS] Create separate example playbook file 2016-08-11 20:21:22 -05:00
files Create an LXC create template for machinectl 2017-10-05 00:01:40 -05:00
handlers Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
meta Update minimum Ansible version 2018-02-15 10:22:29 -06:00
releasenotes Split the container and host variable files 2018-03-21 23:53:12 +00:00
tasks Split the container and host variable files 2018-03-21 23:53:12 +00:00
templates Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00
tests Remove tests-repo-clone.sh 2018-03-28 10:11:44 +01:00
vars Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00
zuul.d Remove required-projects from job definition 2018-03-27 17:29:42 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 18:28:00 +01:00
.gitreview New git dotfiles for independant repository 2015-11-25 20:56:11 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:34 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:16:58 -04:00
LICENSE IRR for lxc_host 2015-11-03 04:22:57 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:47:07 +01:00
README.rst Update the outdated links 2018-02-26 16:04:48 +08:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-03-27 18:28:00 +01:00
setup.cfg Update URL home-page in documents according to document migration 2017-07-14 03:21:39 +00:00
setup.py Updated from global requirements 2017-03-02 11:51:17 +00:00
test-requirements.txt Updated from global requirements 2018-03-13 07:11:49 +00:00
tox.ini Remove tests-repo-clone.sh 2018-03-28 10:11:44 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-01-22 16:53:49 +00:00

Team and repository tags

image

OpenStack-Ansible LXC hosts

Ansible role that configures a host for running LXC containers.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-lxc_hosts/latest

The project home is at:

https://launchpad.net/openstack-ansible