mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
moving int() conversion to the play init
This commit is contained in:
parent
e91db5fcdc
commit
f31fbdff1f
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class Play(object):
|
|||
self.transport = ds.get('connection', self.playbook.transport)
|
||||
self.tags = ds.get('tags', None)
|
||||
self.gather_facts = ds.get('gather_facts', None)
|
||||
self.serial = utils.template_ds(basedir, ds.get('serial', 0), self.vars)
|
||||
self.serial = int(utils.template_ds(basedir, ds.get('serial', 0), self.vars))
|
||||
|
||||
if isinstance(self.remote_port, basestring):
|
||||
self.remote_port = utils.template(basedir, self.remote_port, self.vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue