1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/executor
Jonathon Klobucar 7bee994e1c Fix for serial when percent amount is less than one host (#15396)
Ansible when there was a percentage that was calculated to be less than
1.0 would run all hosts as the value for a rolling update.

The error is due to the fact that Python will round a
float that is under 1.0 to 0, which will trigger the case of
0 hosts. The 0 host case tells ansible to run all hosts.

The fix will see if the percentage calculation after int
conversion is 0 and will else to 1 host.
2016-04-13 10:49:38 -04:00
..
process moved last utils.debug to display.debug 2016-04-08 16:00:36 -04:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
module_common.py Add "excommunicate" debug option 2016-04-07 08:12:25 -07:00
play_iterator.py Fix --start-at-task which was broken by the setup task revamp 2016-03-25 11:32:19 -04:00
playbook_executor.py Fix for serial when percent amount is less than one host (#15396) 2016-04-13 10:49:38 -04:00
stats.py Making the switch to v2 2015-05-03 21:47:26 -05:00
task_executor.py Modification to 347b282 to prevent running the lookup with empty terms 2016-04-03 11:31:18 -04:00
task_queue_manager.py show callback exception on debug 2016-04-01 15:04:30 -04:00
task_result.py Break apart a looped dependency to show a warning when parsing playbooks 2015-10-27 12:39:42 -07:00