From 4b347415fac3c44ee4955d6f457aee3d3625ff4e Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 23 Feb 2021 21:12:20 +0530 Subject: [PATCH] inventory: misc typo fixes (#73695) * Misc typo fixes Signed-off-by: Abhijeet Kasurde --- lib/ansible/inventory/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/inventory/manager.py b/lib/ansible/inventory/manager.py index 71745b0b289..aabc75ccb0b 100644 --- a/lib/ansible/inventory/manager.py +++ b/lib/ansible/inventory/manager.py @@ -311,7 +311,7 @@ class InventoryManager(object): self._inventory.processed_sources.append(self._inventory.current_source) else: # only warn/error if NOT using the default or using it and the file is present - # TODO: handle 'non file' inventorya and detect vs hardcode default + # TODO: handle 'non file' inventory and detect vs hardcode default if source != '/etc/ansible/hosts' or os.path.exists(source): if failures: @@ -321,7 +321,7 @@ class InventoryManager(object): if 'tb' in fail: display.vvv(to_text(fail['tb'])) - # final erorr/warning on inventory source failure + # final error/warning on inventory source failure if C.INVENTORY_ANY_UNPARSED_IS_FAILED: raise AnsibleError(u'Completely failed to parse inventory source %s' % (source)) else: