community.general/lib/ansible
Lars Kellogg-Stedman 3597ca082b add systemd-nspawn connection driver
This commit adds a connection driver built on top of systemd-nspawn.
This is similar to the existing `chroot` driver, except that nspawn
offers a variety of additional services. For example, it takes care of
automatically mounting `/proc` and `/sys` inside the chroot environment,
which will make a variety of tools work correctly that would otherwise
fail.

You can take advantage of other system-nspawn features to perform more
complicated tasks.  For example, on my x86_64 system I have a Raspberry
Pi disk image mounted on `/rpi`.  I can't use `chroot` with this because
the binaries contained in the image are for the wrong architecture.
However, I can use the systemd-nspawn `--bind` option to automatically
insert the appropriate qemu-arm binary into the container using an
inventory file like this:

    pi ansible_host=/rpi ansible_nspawn_extra_args='--bind /usr/bin/qemu-arm --bind /lib64'

See http://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
for more information about systemd-nspawn itself.
2017-02-17 12:39:48 -05:00
..
cli add systemd-nspawn connection driver 2017-02-17 12:39:48 -05:00
compat Fix typo when choosing KqueueSelector 2017-02-06 08:46:58 -08:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors adds feature to all modules to be run locally (#18763) 2016-12-15 15:47:29 -05:00
executor Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
galaxy PEP 8 E111 & E114 cleanup. (#20838) 2017-01-30 15:01:47 -08:00
inventory Use a custom id generator over uuid4 2017-02-10 14:38:38 -06:00
module_utils Restore validate_certs being a bool type 2017-02-17 09:17:05 -08:00
modules Correct example 2017-02-17 17:31:05 +00:00
parsing Vault encrypt string cli (#21024) 2017-02-17 10:12:14 -05:00
playbook Update any_errors_fatal field attributes in block/task to match play 2017-02-17 10:25:27 -06:00
plugins add systemd-nspawn connection driver 2017-02-17 12:39:48 -05:00
template Also clean template data even if marked unsafe 2017-02-10 10:08:55 -06:00
utils updated docs to match 2017-02-17 12:04:24 -05:00
vars Fix bug introduced in 0df3767 regarding undefined entries in HostVars 2017-02-15 16:22:31 -06:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py add systemd-nspawn connection driver 2017-02-17 12:39:48 -05:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00