ansible/test/units
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
..
errors Relocate use of ERROR to display class, to avoid doubling up 2016-01-19 12:10:39 -05:00
executor Fix for serial when percent amount is less than one host (#15396) 2016-04-13 10:49:38 -04:00
inventory Changing up how host (in)equality is checked 2015-12-04 12:57:46 -05:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock Break apart a looped dependency to show a warning when parsing playbooks 2015-10-27 12:39:42 -07:00
module_utils Ziploader 2016-04-05 11:06:17 -07:00
parsing New unit tests for #13630 fix 2016-03-28 15:54:07 -04:00
playbook Fix ansible_sudo_pass inventory variable so that it overrides setting of sudo password from the command line 2016-03-21 10:20:40 -07:00
plugins Ziploader 2016-04-05 11:06:17 -07:00
template Cleaning up FIXMEs 2015-10-22 16:03:50 -04:00
utils Python 3: shlex.split() wants unicode 2015-09-24 12:36:05 +03:00
vars Adds 'ansible_check_mode' boolean magic variable 2016-04-08 00:26:02 +02:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00