pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.
ssh.command(
name="Create file by running echo from host one to host two",
hostname="two.example.com",
command="echo "one was here" > /tmp/one.txt",
user="vagrant",
)
Describe the bug
example code for
ssh.command
is invalid pythonTo Reproduce
read https://docs.pyinfra.com/en/2.x/operations/ssh.html#ssh-command
Meta