You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Jonathon Klobucar b150f18382 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.
10 years ago
..
errors Relocate use of ERROR to display class, to avoid doubling up 10 years ago
executor Fix for serial when percent amount is less than one host (#15396) 10 years ago
inventory Changing up how host (in)equality is checked 10 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Break apart a looped dependency to show a warning when parsing playbooks 10 years ago
module_utils Removing a test causing problems on Py3 which is not critical for 2.0 10 years ago
parsing New unit tests for #13630 fix 10 years ago
playbook Fix ansible_sudo_pass inventory variable so that it overrides setting of sudo password from the command line 10 years ago
plugins Cleaning up tests which don't apply to 2.0 10 years ago
template Cleaning up FIXMEs 10 years ago
utils Python 3: shlex.split() wants unicode 10 years ago
vars Fix include param precedence in variable manager 10 years ago
__init__.py Making the switch to v2 11 years ago