]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: add a template filter to map a role name to a remote
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 26 Feb 2024 21:17:22 +0000 (16:17 -0500)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 15:01:30 +0000 (11:01 -0400)
commit636f55b2e7d92c0b03f8127c305c0a11da9d4052
tree5dae98b8e1bb6352627c0cde44ca495192477792
parent13d68cc0552d3c3fecb02b1aa3fc55699da10a14
qa/tasks: add a template filter to map a role name to a remote

Add a `role_to_remote` template filter function that has the ability to
map a role name to a remote. Attributes of the remote can then be
used to get the actual node ip or name.

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