summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2017-06-12 12:25:19 +0530
committerJohn R Barker <john@johnrbarker.com>2017-06-12 07:55:19 +0100
commitb89cb956092e6f28d16010dc887ee2dc46e7855b (patch)
tree0162132b7c833888bc16a32c6d5e251245aedd03 /contrib
parent460d932aa8e8fbdc0c72057e2e43f6e98d1d590c (diff)
downloadansible-b89cb956092e6f28d16010dc887ee2dc46e7855b.tar.gz
Fix spelling mistakes (comments only) (#25564)
Original Author : klemens <ka7@github.com> Taking over previous PR as per https://github.com/ansible/ansible/pull/23644#issuecomment-307334525 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/inventory/apstra_aos.py2
-rwxr-xr-xcontrib/inventory/ec2.py6
-rw-r--r--contrib/inventory/nagios_livestatus.ini2
3 files changed, 5 insertions, 5 deletions
diff --git a/contrib/inventory/apstra_aos.py b/contrib/inventory/apstra_aos.py
index 9d2b12c798..52445a3372 100755
--- a/contrib/inventory/apstra_aos.py
+++ b/contrib/inventory/apstra_aos.py
@@ -27,7 +27,7 @@ of hosts, groups the hosts are in, and even variables to assign to each host.
To use this:
- copy this file over /etc/ansible/hosts and chmod +x the file.
- - Copy both files (.py and .ini) in your prefered directory
+ - Copy both files (.py and .ini) in your preferred directory
More information about Ansible Dynamic Inventory here
http://unix.stackexchange.com/questions/205479/in-ansible-dynamic-inventory-json-can-i-render-hostvars-based-on-the-hostname
diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py
index 0f4bf2a8fd..589cef4919 100755
--- a/contrib/inventory/ec2.py
+++ b/contrib/inventory/ec2.py
@@ -12,7 +12,7 @@ variables needed for Boto have already been set:
export AWS_ACCESS_KEY_ID='AK123'
export AWS_SECRET_ACCESS_KEY='abc123'
-optional region environement variable if region is 'auto'
+optional region environment variable if region is 'auto'
This script also assumes there is an ec2.ini file alongside it. To specify a
different path to ec2.ini, define the EC2_INI_PATH environment variable:
@@ -723,7 +723,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache clusters (with
nodes' info) in a particular region.'''
- # ElastiCache boto module doesn't provide a get_all_intances method,
+ # ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try:
@@ -759,7 +759,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache replication groups
in a particular region.'''
- # ElastiCache boto module doesn't provide a get_all_intances method,
+ # ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try:
diff --git a/contrib/inventory/nagios_livestatus.ini b/contrib/inventory/nagios_livestatus.ini
index 3ff7408cd7..320f11f35c 100644
--- a/contrib/inventory/nagios_livestatus.ini
+++ b/contrib/inventory/nagios_livestatus.ini
@@ -19,7 +19,7 @@
# default field group for host: groups
# Uncomment to override:
# group_field=state
-# default fields retrieved: address, alias, display_name, childs, parents
+# default fields retrieved: address, alias, display_name, children, parents
# To override, uncomment the following line
# fields_to_retrieve=address,alias,display_name
#