]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: allow passing stdin string to cephadm shell commands
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 24 Feb 2024 19:26:36 +0000 (14:26 -0500)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 15:01:30 +0000 (11:01 -0400)
commit2beca806fba676ead5bdc5fb82a1d3f67a9ea4db
treeca4afa994baac1e71816877c1773edf9dc191db0
parenteb12219967447c8e9e9291bf1392f16372b1c0da
qa/tasks: allow passing stdin string to cephadm shell commands

There are cases where I want to pass some large-ish strings to ceph
commands executed via cephadm shell. Allow items within the commands
list to be dicts containing a command (as before) and an optional
stdin variable. This change also supports possible future extensions as
well.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 2a917e23ca6b3d2a4b90a40a07a1b5ae299b3924)
qa/tasks/cephadm.py