From 337f8175b1fa00bf83a5aa9f4ba7a6ce357b6330 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 8 Aug 2024 17:43:48 -0400 Subject: [PATCH] raw regex --- lib/ansible/plugins/inventory/auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/inventory/auto.py b/lib/ansible/plugins/inventory/auto.py index 128e7df90ab..d7dde803a7f 100644 --- a/lib/ansible/plugins/inventory/auto.py +++ b/lib/ansible/plugins/inventory/auto.py @@ -32,7 +32,7 @@ from ansible.plugins.loader import inventory_loader class InventoryModule(BaseInventoryPlugin): NAME = 'auto' - TOKEN = re.compile('@(\w+):.+') + TOKEN = re.compile(r'@(\w+):.+') def verify_file(self, path): if os.path.exists(path):