removed previously deprecated ';' host separator

This commit is contained in:
Brian Coca 2016-09-09 17:31:25 -04:00
parent 0aaee0272a
commit a3028783d4
2 changed files with 1 additions and 4 deletions

View file

@ -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"

View file

@ -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.