mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #96 from jhoekx/playbook-defaults
Correct default user and port in playbook.
This commit is contained in:
commit
ba7d0b8cec
1 changed files with 2 additions and 2 deletions
|
@ -472,8 +472,8 @@ class PlayBook(object):
|
||||||
vars_files = pg.get('vars_files', {})
|
vars_files = pg.get('vars_files', {})
|
||||||
tasks = pg.get('tasks', [])
|
tasks = pg.get('tasks', [])
|
||||||
handlers = pg.get('handlers', [])
|
handlers = pg.get('handlers', [])
|
||||||
user = pg.get('user', C.DEFAULT_REMOTE_USER)
|
user = pg.get('user', self.remote_user)
|
||||||
port = pg.get('port', C.DEFAULT_REMOTE_PORT)
|
port = pg.get('port', self.remote_port)
|
||||||
sudo = pg.get('sudo', False)
|
sudo = pg.get('sudo', False)
|
||||||
|
|
||||||
self.callbacks.on_play_start(pattern)
|
self.callbacks.on_play_start(pattern)
|
||||||
|
|
Loading…
Reference in a new issue