summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/connection/buildah.py
Commit message (Collapse)AuthorAgeFilesLines
* Port ansible doc for plugins to use DOCUMENTATION variablesToshio Kuratomi2017-09-111-7/+5
| | | | | | | * Using docstrings conflicts with the standard use of docstrings * PYTHON_OPTIMIZE=2 will omit docstrings. Using docstrings makes future changes to the plugin and module code subject to the requirement that we ensure it won't be run with optimization.
* conn,buildah: don't pass bytes to shlex.split (#27896)Tomas Tomecek2017-09-091-3/+3
| | | * conn,buildah: don't pass bytes to shlex.split on python3
* fixes to config/setting retrievalBrian Coca2017-09-091-34/+23
| | | | | | | | | | | | | | | | | | | | | | - better variable precedence management - universal plugin option handling - also updated comments for future directions - leverage fragments for plugins - removed fact namespacing - added 'firendly name' field - updated missing descriptions - removed some unused yaml entries, updated others to reflect possible future - documented more plugins - allow reading docs using alias - short licenses - corrected args for 'all plugins' - fixed -a option for ansible-doc - updated vars plugins to allow docs - fixed 'gathering' - only set options IF connection - added path list and renamed pathspec mostly the diff is , vs : as separator - readded removed config entries that were deprecated but had no message ... and deprecated again - now deprecated entries give warning when set
* Ansible Config part2 (#27448)Brian Coca2017-08-151-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ansible Config part2 - made dump_me nicer, added note this is not prod - moved internal key removal function to vars - carry tracebacks in errors we can now show tracebacks for plugins on vvv - show inventory plugin tracebacks on vvv - minor fixes to cg groups plugin - draft config from plugin docs - made search path warning 'saner' (top level dirs only) - correctly display config entries and others - removed unneeded code - commented out some conn plugin specific from base.yml - also deprecated sudo/su - updated ssh conn docs - shared get option method for connection plugins - note about needing eval for defaults - tailored yaml ext - updated strategy entry - for connection pliugins, options load on plugin load - allow for long types in definitions - better display in ansible-doc - cleaned up/updated source docs and base.yml - added many descriptions - deprecated include toggles as include is - draft backwards compat get_config - fixes to ansible-config, added --only-changed - some code reoorg - small license headers - show default in doc type - pushed module utils details to 5vs - work w/o config file - PEPE ATE! - moved loader to it's own file - fixed rhn_register test - fixed boto requirement in make tests - I ate Pepe - fixed dynamic eval of defaults - better doc code skip ipaddr filter tests when missing netaddr removed devnull string from config better becoem resolution * killed extra space with extreeme prejudice cause its an affront against all that is holy that 2 spaces touch each other! shippable timing out on some images, but merging as it passes most
* add connection plugin for buildah (#26170)Tomas Tomecek2017-07-111-0/+171
* add connection plugin for buildah Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * fixup * create a method to invoke buildah * mount container filesystem persistently so we can access it during put and fetch * use copyfile function for copying files Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * revert tests Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * fixup Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * progress (this will be squashed into a single commit before merge) * add docs for the conn plugin * fix issue invoking the integration tests * add a way to invoke commands inside the container as a different user Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * fix shellcheck warning Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>