pyinfra 3.0b3__py2.py3-none-any.whl → 3.0b4__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyinfra/connectors/ssh.py CHANGED
@@ -122,14 +122,18 @@ class SSHConnector(BaseConnector):
122
122
  .. code:: python
123
123
 
124
124
  hosts = (
125
- [
126
- "my-host-1.net",
127
- "my-host-2.net",
128
- ],
129
- {
130
- "ssh_username": "ssh-user",
131
- },
125
+ ["my-host-1.net", "my-host-2.net"],
126
+ {"ssh_username": "ssh-user"},
132
127
  )
128
+
129
+ Multiple hosts with different SSH usernames:
130
+
131
+ .. code:: python
132
+
133
+ hosts = [
134
+ ("my-host-1.net", {"ssh_username": "ssh-user"}),
135
+ ("my-host-2.net", {"ssh_username": "other-user"}),
136
+ ]
133
137
  """
134
138
 
135
139
  handles_execution = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyinfra
3
- Version: 3.0b3
3
+ Version: 3.0b4
4
4
  Summary: pyinfra automates/provisions/manages/deploys infrastructure.
5
5
  Home-page: https://pyinfra.com
6
6
  Author: Nick / Fizzadar
@@ -27,7 +27,7 @@ pyinfra/connectors/chroot.py,sha256=Xd72I8T58KIwKOoc0LXCw91AoEIaiHfRLDcDVTHGJ0o,
27
27
  pyinfra/connectors/docker.py,sha256=2UNHhXS4hpLo7I19ixDeSd7JR8SNo43VgqsaUIZQZJ4,8741
28
28
  pyinfra/connectors/dockerssh.py,sha256=VWHY--jqs3yf-RuPUZXav4vLeON9SzoVC9CUyOJo1rg,8919
29
29
  pyinfra/connectors/local.py,sha256=vYOBQS_5rf-dVaPeG4dJlLwBHqkxAzLjj3aDEgbAsx8,6900
30
- pyinfra/connectors/ssh.py,sha256=ESCZwehJ0Ve6gkjbqGTJrNEGZlu3ItjKLMkmCWq-Z3Y,20989
30
+ pyinfra/connectors/ssh.py,sha256=kUtp86GlIteM_bqXtoPtdQE1--AmxzAtBOXv5oK0IOI,21136
31
31
  pyinfra/connectors/ssh_util.py,sha256=CN_5AdTA3RpiWCnXTrRBjez1NsN59hITDzQmXIkZvoE,3683
32
32
  pyinfra/connectors/terraform.py,sha256=G7lK168Fz0jNFetc_7_bPT-RnoaRDksJat0R26fqkUk,3617
33
33
  pyinfra/connectors/util.py,sha256=0bvoMsGMD-Tbfaer8NUhWJjBnaNKdmE83PDg48BYjcU,11374
@@ -159,9 +159,9 @@ tests/test_connectors/test_sshuserclient.py,sha256=2PQNLPhNL6lBACc6tQuXmPoog-9L6
159
159
  tests/test_connectors/test_terraform.py,sha256=Z5MhgDeRDFumu-GlbjMD0ZRkecwBIPP8C8ZVg-mq7C8,3743
160
160
  tests/test_connectors/test_util.py,sha256=hQir0WyjH0LEF6xvIyHNyqdI5pkJX6qUR9287MgO2bY,4647
161
161
  tests/test_connectors/test_vagrant.py,sha256=27qRB7ftjEPaj4ejBNZ-rR4Ou1AD1VyVcf2XjwZPG3M,3640
162
- pyinfra-3.0b3.dist-info/LICENSE.md,sha256=gwC95tUll0gwB32tHNkTAasN7Sb6vjWzXa305NwClbI,1076
163
- pyinfra-3.0b3.dist-info/METADATA,sha256=vrU3Af4J_l5fK66Ajl_i5zXpSs7r5LetayqwCEydkb4,8322
164
- pyinfra-3.0b3.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
165
- pyinfra-3.0b3.dist-info/entry_points.txt,sha256=BraEFyquy05M8ch33HZXOHoH_m2BTqejL3xX3NrpzOM,471
166
- pyinfra-3.0b3.dist-info/top_level.txt,sha256=2K6D1mK35JTSEBgOfEPV-N-uA2SDErxGiE0J-HUMMVI,26
167
- pyinfra-3.0b3.dist-info/RECORD,,
162
+ pyinfra-3.0b4.dist-info/LICENSE.md,sha256=gwC95tUll0gwB32tHNkTAasN7Sb6vjWzXa305NwClbI,1076
163
+ pyinfra-3.0b4.dist-info/METADATA,sha256=L9PyC6qdNCq30gCNvpPpl41jLlqacs9n-IlbHHO-lwc,8322
164
+ pyinfra-3.0b4.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
165
+ pyinfra-3.0b4.dist-info/entry_points.txt,sha256=BraEFyquy05M8ch33HZXOHoH_m2BTqejL3xX3NrpzOM,471
166
+ pyinfra-3.0b4.dist-info/top_level.txt,sha256=2K6D1mK35JTSEBgOfEPV-N-uA2SDErxGiE0J-HUMMVI,26
167
+ pyinfra-3.0b4.dist-info/RECORD,,