Commit Graph

9 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov bc258b4e19 Deprecate OpenStack-Ansible nspawn repositories
Since nspawn support has been removed with [1] we now
start repositories deprecation process.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/782569

Depends-On: https://review.opendev.org/c/openstack/project-config/+/797723
Change-Id: Ic80477b87a3ddc74ac1712f6bd4c3aba284fa1cb
2021-06-23 20:24:41 +03:00
ShangXiao de324b2319 Fix typos in the yml files
Change-Id: I489f7c180feb31b67fbb6d37b5ee5bc410e3a585
2019-11-04 16:40:54 +08:00
lijunjie ed8a54347d Fix the misspelling of "container"
Change-Id: I5b0ba4e516af2facb145f9f228aa168de75402dd
2019-01-23 16:28:58 +08:00
Kevin Carter 465ef2c09f Cleanup mounts in containers
Cleanup mount docs, remove redundant config, and set the default backup
mount. These change bring nspawn inline with our LXC capabilities. To
ensure the LXC and nspawn capabilities are on level footing, the read
only bind mount was removed.

Change-Id: I62e2c4ed2b3c7af879e58fca1b22c7dda93fc518
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-09-14 23:39:04 +00:00
Kevin Carter d01150301e
Add missing user defined interface support
Macvlan interfaces can have a user defined interface within the host
config. This change ensures that the capability, which is documented in
the nspawn_host role, is actually functional.

Change-Id: I083042a791d9213b9b1872a239dc18dc6c7ae46e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-21 15:51:32 -05:00
melissaml 5d428d6f7f fix a typo in main.yml
Change-Id: I33bb9fb9b7f5ca6181af8ef07a4360abba711bd8
2018-05-23 21:12:51 +08:00
Kevin Carter 32f3ffdcbc
Update role to gate using all supported distros
The changes here remove the boiler plate code we had in favor of using
all of our common roles. This also updates the nspawn role using some of
the learnings we've had from our recent LXC changes and ensures we're
not breaking any compatibility we had with our various distros.

Add option to run a full config update if required

> As a deployer I need the ability to make a sweeping change to container
  configs if required. At present the nspawn container create role will
  attempt to preserve the configs and update only what's required, which
  is desirable when maintaining uptime. This change provides the option
  `nspawn_container_preserve_config` which, if set to "false" will
  template the container configs instead of trying to preserve it.

Document everything in config

Change-Id: Ie969c10578e1102767ad8991c9d6171b547aef87
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-14 21:33:05 -05:00
Kevin Carter 52abd5e8bb
add network ops
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-16 21:24:04 -06:00
Kevin Carter 627d5107cc
First commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-06 22:37:24 -06:00