community.general/lib/ansible/plugins
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
..
action Removes default kwarg in iosxr_argument_spec for timeout (#21569) 2017-02-17 15:59:24 +01:00
cache bad/missing fact plugin is a warning (#19350) 2016-12-14 14:25:19 -05:00
callback Remove the end of the task_data.path which causes #21461 2017-02-15 17:35:16 -08:00
connection add systemd-nspawn connection driver 2017-02-17 12:39:48 -05:00
filter Fix hash filter for non-ascii strings and Python3 2017-02-15 10:50:10 -08:00
lookup Make password lookup treat /dev/null as a special case 2017-02-15 12:15:09 -08:00
shell Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
strategy Relocate creation of Templar in process_pending_results 2017-02-17 00:26:09 -06:00
terminal clean up of terminal plugins (#21549) 2017-02-17 10:00:23 -05:00
test restored 'results' filters 2016-10-13 13:21:40 -04:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Module utils default path (#20913) 2017-02-02 17:48:53 -08:00