removed previously deprecated ';' host separator
This commit is contained in:
parent
0aaee0272a
commit
a3028783d4
2 changed files with 1 additions and 4 deletions
|
@ -95,6 +95,7 @@ Ansible Changes By Release
|
||||||
* loop_control now has a pause option to allow pausing for N seconds between loop iterations of a task.
|
* loop_control now has a pause option to allow pausing for N seconds between loop iterations of a task.
|
||||||
* New privilege escalation become method `ksu`
|
* New privilege escalation become method `ksu`
|
||||||
* `raw` now returns `changed: true` to be consistent with shell/command/script modules. Add `changed_when: false` to `raw` tasks to restore the pre-2.2 behavior if necessary.
|
* `raw` now returns `changed: true` to be consistent with shell/command/script modules. Add `changed_when: false` to `raw` tasks to restore the pre-2.2 behavior if necessary.
|
||||||
|
* removed previously deprecated ';' as host list separator.
|
||||||
|
|
||||||
## 2.1.2 "The Song Remains the Same"
|
## 2.1.2 "The Song Remains the Same"
|
||||||
|
|
||||||
|
|
|
@ -248,10 +248,6 @@ class Inventory(object):
|
||||||
if isinstance(pattern, list):
|
if isinstance(pattern, list):
|
||||||
return list(itertools.chain(*map(cls.split_host_pattern, pattern)))
|
return list(itertools.chain(*map(cls.split_host_pattern, pattern)))
|
||||||
|
|
||||||
if ';' in pattern:
|
|
||||||
patterns = re.split('\s*;\s*', pattern)
|
|
||||||
display.deprecated("Use ',' or ':' instead of ';' to separate host patterns")
|
|
||||||
|
|
||||||
# If it's got commas in it, we'll treat it as a straightforward
|
# If it's got commas in it, we'll treat it as a straightforward
|
||||||
# comma-separated list of patterns.
|
# comma-separated list of patterns.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue