Role lxc_container_create for OpenStack-Ansible
Go to file
Major Hayden cb120f05bb Update and clean up run_tests.sh
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.

This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.

The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.

Change-Id: I247fd8d9b3c5b153cb6837b39a77f5c7ca8aeb29
Signed-off-by: Major Hayden <major@mhtx.net>
2017-01-06 16:49:25 +00:00
defaults Add ability to set a container base name prefix 2016-11-14 13:15:39 +00:00
doc Update repository with reference to role git location 2016-12-22 14:26:20 +00:00
examples [DOCS] Move playbook example to separate file 2016-08-12 09:29:13 -05:00
files Modify container network create for seamless additions 2016-08-12 17:01:59 +00:00
handlers Add retry to container start/stop handlers 2016-08-25 12:04:23 -05:00
meta Remove Trusty support from lxc_container_create role 2016-12-15 12:38:59 +00:00
releasenotes Add ability to set a container base name prefix 2016-11-14 13:15:39 +00:00
tasks Fix linting issues for ansible-lint 3.4.1 2016-11-02 01:43:24 +00:00
templates Add an option to generate fixed MAC addresses 2016-10-15 05:30:47 +00:00
tests Merge "Remove 'ignore_errors: true' in favor of 'failed_when: false'" 2016-10-17 13:06:23 +00:00
vars Remove Trusty support from lxc_container_create role 2016-12-15 12:38:59 +00:00
.gitignore Update testing bits for consistency 2016-09-17 17:09:10 -04:00
.gitreview New git dotfiles for independant repository 2015-11-26 00:43:02 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:14:56 -04:00
LICENSE IRR for lxc_container_create 2015-11-03 08:00:45 -06:00
README.rst Show team and repo badges on README 2016-11-25 16:03:14 +01:00
Vagrantfile Remove Trusty support from lxc_container_create role 2016-12-15 12:38:59 +00:00
bindep.txt Remove Trusty support from lxc_container_create role 2016-12-15 12:38:59 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:16:22 +01:00
run_tests.sh Update and clean up run_tests.sh 2017-01-06 16:49:25 +00:00
setup.cfg Update home page link in cfg file 2016-09-20 12:47:09 +05:30
setup.py Updated from global requirements 2016-07-15 03:57:27 +00:00
test-requirements.txt Updated from global requirements 2016-12-02 05:10:21 +00:00
tox.ini Delete deprecated Hacking in tox.ini 2016-12-04 10:34:05 +08:00

README.rst

Team and repository tags

image

OpenStack-Ansible LXC container create

Documentation for the project can be found at:

http://docs.openstack.org/developer/openstack-ansible-lxc_container_create/

The project home is at:

http://launchpad.net/openstack-ansible