Searched refs:runner_mode (Results 1 – 13 of 13) sorted by relevance
/dports/sysutils/py-ansible-runner/ansible-runner-2.0.2/ansible_runner/config/ |
H A D | command.py | 44 def __init__(self, input_fd=None, output_fd=None, error_fd=None, runner_mode=None, **kwargs): argument 50 if runner_mode == 'pexpect' and not self.input_fd: 53 if runner_mode and runner_mode not in ['pexpect', 'subprocess']: 54 …ror("Invalid runner mode {0}, valid value is either 'pexpect' or 'subprocess'".format(runner_mode)) 57 self.runner_mode = runner_mode 71 self.runner_mode = 'subprocess' 73 self.runner_mode = 'pexpect' 79 if self.runner_mode is None: 82 self._prepare_env(runner_mode=self.runner_mode)
|
H A D | ansible_cfg.py | 46 def __init__(self, runner_mode=None, **kwargs): argument 48 self.runner_mode = runner_mode if runner_mode else 'subprocess' 49 if self.runner_mode not in ['pexpect', 'subprocess']: 50 …Invalid runner mode {0}, valid value is either 'pexpect' or 'subprocess'".format(self.runner_mode)) 69 self._prepare_env(runner_mode=self.runner_mode)
|
H A D | doc.py | 46 def __init__(self, runner_mode=None, **kwargs): argument 48 self.runner_mode = runner_mode if runner_mode else 'subprocess' 49 if self.runner_mode not in ['pexpect', 'subprocess']: 50 …Invalid runner mode {0}, valid value is either 'pexpect' or 'subprocess'".format(self.runner_mode)) 72 self._prepare_env(runner_mode=self.runner_mode) 102 self._prepare_env(runner_mode=self.runner_mode)
|
H A D | inventory.py | 45 def __init__(self, runner_mode=None, **kwargs): argument 47 self.runner_mode = runner_mode if runner_mode else 'subprocess' 48 if self.runner_mode not in ['pexpect', 'subprocess']: 49 …Invalid runner mode {0}, valid value is either 'pexpect' or 'subprocess'".format(self.runner_mode)) 82 self._prepare_env(runner_mode=self.runner_mode)
|
H A D | _base.py | 135 def _prepare_env(self, runner_mode='pexpect'): argument 140 self.runner_mode = runner_mode 150 if self.runner_mode == 'pexpect': 178 elif self.runner_mode == 'subprocess': 427 if self.runner_mode == 'pexpect' or hasattr(self, 'input_fd') and self.input_fd is not None:
|
H A D | runner.py | 76 self.runner_mode = "pexpect"
|
/dports/sysutils/py-ansible-runner/ansible-runner-2.0.2/test/unit/config/ |
H A D | test_command.py | 23 assert rc.runner_mode is None 28 CommandConfig(runner_mode='test') 40 assert rc.runner_mode == 'pexpect' 51 assert rc.runner_mode == 'subprocess' 62 assert rc.runner_mode == 'pexpect' 81 assert rc.runner_mode == 'pexpect'
|
H A D | test_doc.py | 24 assert rc.runner_mode == 'subprocess' 29 DocConfig(runner_mode='test') 59 assert rc.runner_mode == 'subprocess' 78 assert rc.runner_mode == 'subprocess' 110 assert rc.runner_mode == 'subprocess' 126 assert rc.runner_mode == 'subprocess'
|
H A D | test_ansible_cfg.py | 28 AnsibleCfgConfig(runner_mode='test') 38 assert rc.runner_mode == 'subprocess' 69 assert rc.runner_mode == 'subprocess'
|
H A D | test_inventory.py | 28 InventoryConfig(runner_mode='test') 41 assert rc.runner_mode == 'subprocess' 104 assert rc.runner_mode == 'subprocess'
|
H A D | test__base.py | 119 rc._prepare_env(runner_mode="subprocess") 125 rc._prepare_env(runner_mode="subprocess") 258 rc.runner_mode = 'pexpect' 285 rc.runner_mode = 'pexpect' 332 rc.runner_mode = 'pexpect'
|
/dports/sysutils/py-ansible-runner/ansible-runner-2.0.2/ansible_runner/ |
H A D | runner.py | 44 … self.runner_mode = self.config.runner_mode if hasattr(self.config, 'runner_mode') else 'pexpect' 159 …if self.runner_mode == 'pexpect' and not isinstance(self.config.expect_passwords, collections.Orde… 224 if self.runner_mode == 'subprocess':
|
/dports/sysutils/py-ansible-runner/ansible-runner-2.0.2/docs/ |
H A D | python_interface.rst | 124 When the ``runner_mode`` is set to ``subprocess`` the :class:`Runner <ansible_runner.runner.Runner>…
|