community.general/lib/ansible
Sviatoslav Sydorenko 2ce1009c04
Fix portage mod usage of jobs and load-average opt
In short, it enables portage module to emit emerge
command with --jobs and --load-average options
with and without argument.

To emit emerge with such CLI argument without
a value, the user must set the corresponding
module option to 0.

By default, if these arguments are missing from
playbook they are omitted.

Misc changes:

* Use to_native to ensure crosspython compat

* Adjust jobs and LA options to accept 0 as reset

* Add docstring to emerge_packages

* Explicitly note in doc that False will work as 0

PR  #36355 by @webknjaz
2018-02-20 13:04:10 +01:00
..
cli Fix ansible-console always asking for vault passwords 2018-02-15 15:40:51 -05:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config better sudo/su deprecation on config entries (#36074) 2018-02-14 20:26:10 -05:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor fix loop_control templating (#36124) 2018-02-14 15:52:19 -05:00
galaxy galaxy remove incorrect check for role path before extraction (#35259) 2018-01-30 10:40:25 -06:00
inventory remove new tmp var for localhost 2018-02-07 16:16:10 -05:00
module_utils aci_rest: Fix error handling and improve documentation (#36295) 2018-02-19 12:01:14 +01:00
modules Fix portage mod usage of jobs and load-average opt 2018-02-20 13:04:10 +01:00
parsing Only template each hostvars var on-demand (fixes #33259) 2018-02-15 10:09:04 -05:00
playbook fix loop_control templating (#36124) 2018-02-14 15:52:19 -05:00
plugins [cloud] If inventory file isn't able to be parsed by aws_ec2, raise an AnsibleParserError (#36387) 2018-02-19 17:12:56 -05:00
template Only template each hostvars var on-demand (fixes #33259) 2018-02-15 10:09:04 -05:00
utils Fix digital ocean issues (#36347) 2018-02-17 22:48:52 +05:30
vars vars.clean: remove unused method inject_facts (#34838) 2018-02-15 07:43:44 -08:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py Fix version in lib/ansible/release.py 2018-02-09 04:47:31 -08:00