Skip to content

Commit 21d985b

Browse files
committed
Add back missing negative
1 parent 1bc9904 commit 21d985b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible_base/resource_registry/rest_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
def _check_rbac_installed():
1616
"""Check if ansible_base.rbac is installed and raise RuntimeError if not."""
17-
if is_rbac_installed():
17+
if not is_rbac_installed():
1818
raise RuntimeError("This operation requires ansible_base.rbac to be installed")
1919

2020

0 commit comments

Comments
 (0)