From 8ecc6be85c91a112de446c19e09a2bb71c3e2b94 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 27 Sep 2018 16:21:48 +0530 Subject: [PATCH] Misc typo fix (#46199) jinaj2 to jinja2 Signed-off-by: Abhijeet Kasurde --- lib/ansible/plugins/filter/mathstuff.py | 2 +- lib/ansible/plugins/inventory/aws_rds.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/filter/mathstuff.py b/lib/ansible/plugins/filter/mathstuff.py index 58ffa144a82..c6ce1df30ae 100644 --- a/lib/ansible/plugins/filter/mathstuff.py +++ b/lib/ansible/plugins/filter/mathstuff.py @@ -60,7 +60,7 @@ def unique(environment, a, case_sensitive=False, attribute=None): raise AnsibleFilterError("Jinja2's unique filter failed and we cannot fall back to Ansible's version " "as it does not support the parameters supplied", orig_exc=e) else: - display.warning('Falling back to Ansible unique filter as Jinaj2 one failed: %s' % to_text(e)) + display.warning('Falling back to Ansible unique filter as Jinja2 one failed: %s' % to_text(e)) error = e if not HAS_UNIQUE or error: diff --git a/lib/ansible/plugins/inventory/aws_rds.py b/lib/ansible/plugins/inventory/aws_rds.py index 8c76ba6d807..45867164153 100644 --- a/lib/ansible/plugins/inventory/aws_rds.py +++ b/lib/ansible/plugins/inventory/aws_rds.py @@ -262,7 +262,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable): strict = self.get_option('strict') # Composed variables self._set_composite_vars(self.get_option('compose'), host, hostname, strict=strict) - # Complex groups based on jinaj2 conditionals, hosts that meet the conditional are added to group + # Complex groups based on jinja2 conditionals, hosts that meet the conditional are added to group self._add_host_to_composed_groups(self.get_option('groups'), host, hostname, strict=strict) # Create groups based on variable values and add the corresponding hosts to it self._add_host_to_keyed_groups(self.get_option('keyed_groups'), host, hostname, strict=strict)