]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Mar 2024 22:31:16 +0000 (18:31 -0400)
commit361cbd46b9c5431452c742edd3ca7f0280e4161b
treedb85892e99ad4e3a8cc9a4053dc87592e0939210
parent1ed66542ef27f5382d82b7cc60e76c2fe6d30fc9
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>
qa/tasks/cephadm.py