Home
last modified time | relevance | path

Searched refs:sudoable (Results 1 – 25 of 117) sorted by relevance

12345

/dports/sysutils/py-mitogen/mitogen-0.2.9/ansible_mitogen/
H A Dmixins.py249 def _remote_chmod(self, paths, mode, sudoable=False): argument
255 paths, mode, sudoable)
263 def _remote_chown(self, paths, user, sudoable=False): argument
269 paths, user, sudoable)
278 def _remote_expand_user(self, path, sudoable=True): argument
288 LOG.debug('_remote_expand_user(%r, sudoable=%r)', path, sudoable)
292 if sudoable or not self._play_context.become:
300 return self._connection.get_chain(use_login=(not sudoable)).call(
400 def _low_level_execute_command(self, cmd, sudoable=True, in_data=None, argument
418 sudoable=sudoable,
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/plugins/action/
H A D__init__.py726 def _remote_chmod(self, paths, mode, sudoable=False): argument
731 res = self._low_level_execute_command(cmd, sudoable=sudoable)
734 def _remote_chown(self, paths, user, sudoable=False): argument
739 res = self._low_level_execute_command(cmd, sudoable=sudoable)
742 def _remote_chgrp(self, paths, group, sudoable=False): argument
747 res = self._low_level_execute_command(cmd, sudoable=sudoable)
755 res = self._low_level_execute_command(cmd, sudoable=sudoable)
853 data = self._low_level_execute_command(cmd, sudoable=False)
1059 sudoable = True
1113 res = self._low_level_execute_command(cmd, sudoable=sudoable, in_data=in_data)
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/plugins/action/
H A D__init__.py150 result = self._low_level_execute_command(cmd=cmd, sudoable=True)
358 result = self._low_level_execute_command(cmd, sudoable=False)
555 def _remote_chmod(self, paths, mode, sudoable=False): argument
560 res = self._low_level_execute_command(cmd, sudoable=sudoable)
563 def _remote_chown(self, paths, user, sudoable=False): argument
568 res = self._low_level_execute_command(cmd, sudoable=sudoable)
576 res = self._low_level_execute_command(cmd, sudoable=sudoable)
674 data = self._low_level_execute_command(cmd, sudoable=False)
879 sudoable = True
933 res = self._low_level_execute_command(cmd, sudoable=sudoable, in_data=in_data)
[all …]
H A Dwin_reboot.py67 … reboot_result = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
78 sudoable=self.DEFAULT_SUDOABLE)
81 … result2 = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/plugins/action/
H A D__init__.py151 result = self._low_level_execute_command(cmd=cmd, sudoable=True)
393 result = self._low_level_execute_command(cmd, sudoable=False)
590 def _remote_chmod(self, paths, mode, sudoable=False): argument
595 res = self._low_level_execute_command(cmd, sudoable=sudoable)
598 def _remote_chown(self, paths, user, sudoable=False): argument
603 res = self._low_level_execute_command(cmd, sudoable=sudoable)
611 res = self._low_level_execute_command(cmd, sudoable=sudoable)
709 data = self._low_level_execute_command(cmd, sudoable=False)
915 sudoable = True
969 res = self._low_level_execute_command(cmd, sudoable=sudoable, in_data=in_data)
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/plugins/connection/
H A Dssh.py714 def _examine_output(self, source, state, b_chunk, sudoable): argument
738 elif sudoable and self.become.check_incorrect_password(b_line):
741 elif sudoable and self.become.check_missing_password(b_line):
760 def _bare_run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1050 def _run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1053 return self._bare_run(cmd, in_data, sudoable=sudoable, checkrc=checkrc)
1156 def exec_command(self, cmd, in_data=None, sudoable=True): argument
1159 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
1167 sudoable = False
1186 if not in_data and sudoable and use_tty:
[all …]
H A Dpersistent.py55 def exec_command(self, cmd, in_data=None, sudoable=True): argument
58 out = connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
H A Dsaltstack.py60 def exec_command(self, cmd, sudoable=False, in_data=None): argument
62 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/plugins/connection/
H A Dssh.py787 def _examine_output(self, source, state, b_chunk, sudoable): argument
811 elif sudoable and self.become.check_incorrect_password(b_line):
814 elif sudoable and self.become.check_missing_password(b_line):
833 def _bare_run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1129 def _run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1132 return self._bare_run(cmd, in_data, sudoable=sudoable, checkrc=checkrc)
1236 def exec_command(self, cmd, in_data=None, sudoable=True): argument
1239 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
1247 sudoable = False
1266 if not in_data and sudoable and use_tty:
[all …]
H A Dlocal.py64 def exec_command(self, cmd, in_data=None, sudoable=True): argument
67 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
87 … if sudoable and self.become and self.become.expect_prompt() and not self.get_option('pipelining'):
113 if self.become and self.become.expect_prompt() and sudoable:
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/plugins/connection/
H A Dssh.py731 def _examine_output(self, source, state, b_chunk, sudoable): argument
755 elif sudoable and self.become.check_incorrect_password(b_line):
758 elif sudoable and self.become.check_missing_password(b_line):
777 def _bare_run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1074 def _run(self, cmd, in_data, sudoable=True, checkrc=True): argument
1077 return self._bare_run(cmd, in_data, sudoable=sudoable, checkrc=checkrc)
1180 def exec_command(self, cmd, in_data=None, sudoable=True): argument
1183 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
1191 sudoable = False
1210 if not in_data and sudoable and use_tty:
[all …]
H A Dlocal.py64 def exec_command(self, cmd, in_data=None, sudoable=True): argument
67 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
87 … if sudoable and self.become and self.become.expect_prompt() and not self.get_option('pipelining'):
113 if self.become and self.become.expect_prompt() and sudoable:
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/delegate_to/connection_plugins/
H A Dfakelocal.py57 def exec_command(self, cmd, in_data=None, sudoable=True): argument
60 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/integration/targets/delegate_to/connection_plugins/
H A Dfakelocal.py57 def exec_command(self, cmd, in_data=None, sudoable=True):
60 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/integration/targets/delegate_to/connection_plugins/
H A Dfakelocal.py57 def exec_command(self, cmd, in_data=None, sudoable=True): argument
60 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/netcommon/plugins/connection/
H A Dpersistent.py44 def exec_command(self, cmd, in_data=None, sudoable=True): argument
50 out = connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/network-integration/collections/ansible_collections/ansible/netcommon/plugins/connection/
H A Dpersistent.py55 def exec_command(self, cmd, in_data=None, sudoable=True): argument
61 out = connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/network-integration/collections/ansible_collections/ansible/netcommon/plugins/connection/
H A Dpersistent.py55 def exec_command(self, cmd, in_data=None, sudoable=True): argument
61 out = connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/windows-integration/plugins/action/
H A Dwin_reboot.py67 … reboot_result = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
78 sudoable=self.DEFAULT_SUDOABLE)
81 … result2 = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/windows-integration/plugins/action/
H A Dwin_reboot.py67 … reboot_result = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
78 sudoable=self.DEFAULT_SUDOABLE)
81 … result2 = self._low_level_execute_command(reboot_command, sudoable=self.DEFAULT_SUDOABLE)
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/connection/
H A Dsaltstack.py54 def exec_command(self, cmd, in_data=None, sudoable=False): argument
56 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/docker/plugins/connection/
H A Dnsenter.py90 def exec_command(self, cmd, in_data=None, sudoable=True): argument
91 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
123 if sudoable and self.become and self.become.expect_prompt():
149 if self.become and self.become.expect_prompt() and sudoable:
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/aws/plugins/connection/
H A Daws_ssm.py359 def exec_command(self, cmd, in_data=None, sudoable=True): argument
362 super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
376 cmd = self._wrap_command(cmd, sudoable, mark_start, mark_end)
431 def _wrap_command(self, cmd, sudoable, mark_start, mark_end): argument
439 if sudoable:
570 … (returncode, stdout, stderr) = self.exec_command(put_command, in_data=None, sudoable=False)
576 … (returncode, stdout, stderr) = self.exec_command(get_command, in_data=None, sudoable=False)
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/connection_delegation/connection_plugins/
H A Ddelegation_connection.py35 def exec_command(self, cmd, in_data=None, sudoable=True): argument
36 super(Connection, self).exec_command(cmd, in_data, sudoable)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/integration/targets/connection_delegation/connection_plugins/
H A Ddelegation_connection.py35 def exec_command(self, cmd, in_data=None, sudoable=True): argument
36 super(Connection, self).exec_command(cmd, in_data, sudoable)

12345