mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #1649 from dagwieers/template-port
Allow the remote port to be templated per play
This commit is contained in:
commit
6b69b37eb0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class Play(object):
|
|||
self._tasks = ds.get('tasks', [])
|
||||
self._handlers = ds.get('handlers', [])
|
||||
self.remote_user = utils.template(basedir, ds.get('user', self.playbook.remote_user), self.vars)
|
||||
self.remote_port = ds.get('port', self.playbook.remote_port)
|
||||
self.remote_port = utils.template(basedir, ds.get('port', self.playbook.remote_port), self.vars)
|
||||
self.sudo = ds.get('sudo', self.playbook.sudo)
|
||||
self.sudo_user = utils.template(basedir, ds.get('sudo_user', self.playbook.sudo_user), self.vars)
|
||||
self.transport = ds.get('connection', self.playbook.transport)
|
||||
|
|
Loading…
Reference in a new issue