fuel-web/nailgun/nailgun/policy/__init__.py
Alexander Rozdymakha e434546d68 Added support of regexp patterns for groups in deployment_tasks.yaml
Regular expressions (perl format) should be used to specify wildcard.
'/' used on the end of group name to distinguish regexp from simple string.

groups: '/.*/' # any group
groups: '/^(?!controller$)/' # all groups except controller
groups: '/(?=controller)(?=^((?!^primary).)*$)/' # all controller,
        except primary-controller
groups: '/mongo|compute/' # mongo or compute

DocImpact
Closes-Bug: #1480930

Change-Id: I1f279fbd585775fc7b5af1ecbbaa24be21d831c9
2015-12-16 14:42:42 +02:00

0 lines
Python