|
|
@ -29,7 +29,7 @@ class Play(object):
|
|
|
|
'hosts', 'name', 'vars', 'vars_prompt', 'vars_files',
|
|
|
|
'hosts', 'name', 'vars', 'vars_prompt', 'vars_files',
|
|
|
|
'handlers', 'remote_user', 'remote_port',
|
|
|
|
'handlers', 'remote_user', 'remote_port',
|
|
|
|
'sudo', 'sudo_user', 'transport', 'playbook',
|
|
|
|
'sudo', 'sudo_user', 'transport', 'playbook',
|
|
|
|
'tags', '_ds', '_handlers', '_tasks'
|
|
|
|
'tags', 'gather_facts', '_ds', '_handlers', '_tasks'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
# *************************************************
|
|
|
|
# *************************************************
|
|
|
@ -63,6 +63,8 @@ class Play(object):
|
|
|
|
self.sudo_user = ds.get('sudo_user', self.playbook.sudo_user)
|
|
|
|
self.sudo_user = ds.get('sudo_user', self.playbook.sudo_user)
|
|
|
|
self.transport = ds.get('connection', self.playbook.transport)
|
|
|
|
self.transport = ds.get('connection', self.playbook.transport)
|
|
|
|
self.tags = ds.get('tags', None)
|
|
|
|
self.tags = ds.get('tags', None)
|
|
|
|
|
|
|
|
self.gather_facts = ds.get('gather_facts', True)
|
|
|
|
|
|
|
|
print "self.gather_facts: %s" % self.gather_facts
|
|
|
|
|
|
|
|
|
|
|
|
self._update_vars_files_for_host(None)
|
|
|
|
self._update_vars_files_for_host(None)
|
|
|
|
|
|
|
|
|
|
|
|