Role lxc_container_create for OpenStack-Ansible
Go to file
Logan V 4f4fca7507 Use wait_for_connection instead of wait_for to check container
After configuring networking in the container, we used a task to wait
for SSH to respond on the container, using the Ansible wait_for module
trying to connect to port 22.

When managing containers in Ansible using other connection plugins that
use LXC commands on the physical host to execute modules, there may not
be an SSH daemon running within the container. In these situations we
can accomplish the same check without SSH by using the wait_for_connection
module (new in ansible 2.3) to verify that Ansible has a working execution
path into the container, but not necessarily via SSH.

Change-Id: I81beda2590b5f5505b7de9ae94cef06bcbdf2f93
2017-04-27 09:57:27 -05:00
defaults Use wait_for_connection instead of wait_for to check container 2017-04-27 09:57:27 -05:00
doc Use https instead of http for git.openstack.org 2017-02-06 21:18:34 +08: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 Use wait_for_connection instead of wait_for to check container 2017-04-27 09:57:27 -05:00
tasks Use wait_for_connection instead of wait_for to check container 2017-04-27 09:57:27 -05:00
templates Consistent configuration of veth_pair prefix 2017-04-23 20:48:25 -05:00
tests Standardize test vars 2017-04-20 18:08:38 -07:00
vars Enhance configurability of LXC net interfaces 2017-03-22 11:48:04 -05: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 Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant 2017-02-07 08:24:58 +07:00
bindep.txt Install python2-pyOpenSSL package on CentOS 2017-03-03 12:49:14 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:16:22 +01:00
run_tests.sh Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant 2017-02-07 08:24:58 +07:00
setup.cfg Update home page link in cfg file 2016-09-20 12:47:09 +05:30
setup.py Updated from global requirements 2017-03-02 11:51:15 +00:00
test-requirements.txt Updated from global requirements 2017-02-11 17:48:20 +00:00
tox.ini Use https instead of http for git.openstack.org 2017-02-06 21:18:34 +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