05b84528d1
The LXC container create role has not been updated to use some of our more well throughout patterns and layouts. This change updates the role so that its following our normal role conventions and simplifying task execution. New tags have been added to follow the basic tag pattern found in all other roles. The two tags now supported are lxc-config, and lxc-create. The creation backends have been seperated out into dynamically included files. This will reduce our "skips" which will improve execution time and assist developers in understanding what is happening when a container is created. Stubbs for BTRFS and ZFS container types have been added so future work can continue on those two store options without impacting our normal workflow. All task files have been updated to use the "lxc_" prefix which follows the pattern found in everyone of our roles. This change modifies the lxc container create role to consume the machinectl template when the `lxc_container_backing_store` is set to "machinectl". This new container store type will allow us to better manage containers and the images we use to run systems. As mentioned in the release note within the lxc_hosts role, this change has no upgrade impact as existing containers will continue to use the storage they already have. This change adds several tox functional sections to support our different backend storage options. This change will allow us to create jenkens jobs specific to the various backends to validate they work as we expect them to. (cherry picked from commit I8e140a4c820e7f2b19c472ed1bc72191cd284f06) (cherry picked from commit I852b7a3e1ef82a40b58d10af1a72291b421ae2f8) (cherry picked from commit I1deb4633059567b43ed4d2c9ee85bf9e163ea659) (cherry picked from commit I73576f4ca00985cefba788eba560a71be5d57b57) (cherry picked from commit I258ac6496775233cad8e07db13e80df3d578d63c) (cherry picked from commit I8fa1676b26c0007f88a8cca1583c2e8d4fdaf7bf) Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> Depends-On: Ia022a9e8bc7eefa4dcdc1c83c75cd4ad454a78ee Change-Id: I8e140a4c820e7f2b19c472ed1bc72191cd284f06 |
||
---|---|---|
.. | ||
main.yml | ||
openstack-ansible.yml |