(self, policies, local_host=None, push=False, extra_vars=None, limit_groups=None, limit_hosts=None, relative_root=None)
The Executor runs a list of policies in either CHECK or APPLY modes
The Executor runs a list of policies in either CHECK or APPLY modes
The Executor runs a list of policies in either CHECK or APPLY modes
def __init__(self, policies, local_host=None, push=False, extra_vars=None, limit_groups=None, limit_hosts=None, relative_root=None):

        """
        The Executor runs a list of policies in either CHECK or APPLY modes
        """
  

        assert type(policies) == list
        self._policies = policies
        self._push = push
        self._limit_groups = limit_groups
        self._limit_hosts = limit_hosts
        if local_host is None:
            local_host = Host("127.0.0.1")
        self._local_host = local_host
        Context().set_extra_vars(extra_vars)
        Context().set_relative_root(relative_root)
        self.connection_manager = None
def __init__ ( self , policies , local_host = None , push = False , extra_vars = None , limit_groups = None , limit_hosts = None , relative_root = None ) : assert type ( policies ) == list self . _policies = policies self . _push = push self . _limit_groups = limit_groups self . _limit_hosts = limit_hosts if local_host is None : local_host = Host ( "127.0.0.1" ) self . _local_host = local_host Context ( ) . set_extra_vars ( extra_vars ) Context ( ) . set_relative_root ( relative_root ) self . connection_manager = None