From a3028783d4a7feaeec39ffab7d8b048c7a6aad07 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 9 Sep 2016 17:31:25 -0400 Subject: [PATCH] removed previously deprecated ';' host separator --- CHANGELOG.md | 1 + lib/ansible/inventory/__init__.py | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a281c20e14e..5e3cf2883dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. * 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. +* removed previously deprecated ';' as host list separator. ## 2.1.2 "The Song Remains the Same" diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index eb498bc2382..e68e5c7e521 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -248,10 +248,6 @@ class Inventory(object): if isinstance(pattern, list): 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 # comma-separated list of patterns.