]> git.apps.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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Mar 2024 22:30:58 +0000 (18:30 -0400)
commit2a917e23ca6b3d2a4b90a40a07a1b5ae299b3924
treed077d22856d77ed1d9f432258a0bf003ba47cdf6
parenta99dc99589a0b81792abab1d14db6aad3ef9f2b8
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>
qa/tasks/cephadm.py