mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Complete streamlining of vars handling in playbooks and how those are templated to avoid
repeat template calls at playbook intialization time.
This commit is contained in:
@@ -138,7 +138,6 @@ class Runner(object):
|
||||
self.inventory = utils.default(inventory, lambda: ansible.inventory.Inventory(host_list))
|
||||
|
||||
self.module_vars = utils.default(module_vars, lambda: {})
|
||||
self.sudo_user = sudo_user
|
||||
self.connector = connection.Connection(self)
|
||||
self.conditional = conditional
|
||||
self.module_name = module_name
|
||||
@@ -152,6 +151,7 @@ class Runner(object):
|
||||
self.private_key_file = private_key_file
|
||||
self.background = background
|
||||
self.sudo = sudo
|
||||
self.sudo_user = sudo_user
|
||||
self.sudo_pass = sudo_pass
|
||||
self.is_playbook = is_playbook
|
||||
self.environment = environment
|
||||
@@ -175,7 +175,7 @@ class Runner(object):
|
||||
|
||||
# ensure we are using unique tmp paths
|
||||
random.seed()
|
||||
|
||||
|
||||
# *****************************************************
|
||||
|
||||
def _complex_args_hack(self, complex_args, module_args):
|
||||
|
||||
Reference in New Issue
Block a user