mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
add import_playbook as top-level playbook indicator
This commit is contained in:
parent
90bb43ce74
commit
42ff1cfd67
@ -13,7 +13,7 @@ from django.utils.encoding import smart_str
|
||||
__all__ = ['skip_directory', 'could_be_playbook', 'could_be_inventory']
|
||||
|
||||
|
||||
valid_playbook_re = re.compile(r'^\s*?-?\s*?(?:hosts|include):\s*?.*?$')
|
||||
valid_playbook_re = re.compile(r'^\s*?-?\s*?(?:hosts|include|import_playbook):\s*?.*?$')
|
||||
valid_inventory_re = re.compile(r'^[a-zA-Z0-9_.=\[\]]')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user