summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-09-09 17:31:25 -0400
committerBrian Coca <brian.coca+git@gmail.com>2016-09-09 17:32:53 -0400
commita3028783d4a7feaeec39ffab7d8b048c7a6aad07 (patch)
treea7afb240b3acb6868207457bfc1cb6ccb798c97a
parent0aaee0272a07fa1cb5081290ec624975ba5b8aa2 (diff)
downloadansible-a3028783d4a7feaeec39ffab7d8b048c7a6aad07.tar.gz
removed previously deprecated ';' host separator
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/ansible/inventory/__init__.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a281c20e14..5e3cf2883d 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 eb498bc238..e68e5c7e52 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.