diff options
author | klshxsh <@klshxsh> | 2015-10-09 21:34:37 +0100 |
---|---|---|
committer | klshxsh <@klshxsh> | 2015-10-09 21:34:37 +0100 |
commit | 4a5e52b2d2e59ba61144baaf93a33b1c44b0ae3f (patch) | |
tree | 3333ab949b9b9b25700317b98677ce5246657f30 | |
parent | 17c75df0aee0533ef2e8fca218a662e858f7d5ff (diff) | |
download | ansible-4a5e52b2d2e59ba61144baaf93a33b1c44b0ae3f.tar.gz |
The serial keyword can be specified as a percentage, e.g '30%' or a number e.g. '3'; therefore it needs to be a string to allow both types
-rw-r--r-- | lib/ansible/playbook/play.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 9d1959c1e5..a017ac4a71 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -87,7 +87,7 @@ class Play(Base, Taggable, Become): _any_errors_fatal = FieldAttribute(isa='bool', default=False, always_post_validate=True) _force_handlers = FieldAttribute(isa='bool', always_post_validate=True) _max_fail_percentage = FieldAttribute(isa='percent', always_post_validate=True) - _serial = FieldAttribute(isa='int', default=0, always_post_validate=True) + _serial = FieldAttribute(isa='string', default='0', always_post_validate=True) _strategy = FieldAttribute(isa='string', default='linear', always_post_validate=True) # ================================================================================= |