summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-12-04 22:23:35 +0000
committerVeres Lajos <vlajos@gmail.com>2014-12-04 22:23:35 +0000
commitbf5d8ee678601d6c3cef09c4f735ea0a9e61e70c (patch)
tree8104ce17cad40a54ca26f84d041da03b61dc104d
parentae17b993d995675d2495aa4628a085541ab37de0 (diff)
downloadansible-bf5d8ee678601d6c3cef09c4f735ea0a9e61e70c.tar.gz
typofixes - https://github.com/vlajos/misspell_fixer
-rw-r--r--docsite/rst/developing_modules.rst2
-rw-r--r--docsite/rst/developing_test_pr.rst2
-rw-r--r--docsite/rst/guide_aws.rst2
-rw-r--r--examples/ansible.cfg2
-rwxr-xr-xhacking/test-module4
-rw-r--r--lib/ansible/module_utils/facts.py2
-rw-r--r--lib/ansible/runner/__init__.py2
-rw-r--r--test/integration/roles/test_copy/tasks/main.yml2
-rw-r--r--test/integration/roles/test_file/tasks/main.yml4
-rw-r--r--test/integration/roles/test_lineinfile/tasks/main.yml2
-rw-r--r--test/integration/roles/test_mysql_db/tasks/state_dump_import.yml2
-rw-r--r--test/integration/roles/test_mysql_user/tasks/main.yml8
-rw-r--r--test/integration/roles/test_win_stat/tasks/main.yml2
-rw-r--r--test/units/TestModuleUtilsBasic.py2
-rw-r--r--test/units/TestUtils.py2
-rw-r--r--ticket_stubs/great_idea.md2
-rw-r--r--ticket_stubs/module_repo.md2
-rw-r--r--ticket_stubs/no_thanks.md2
-rw-r--r--ticket_stubs/pr_duplicate.md2
-rw-r--r--ticket_stubs/thanks.md2
-rw-r--r--v2/ansible/compat/__init__.py2
-rw-r--r--v2/ansible/errors/__init__.py4
-rw-r--r--v2/ansible/parsing/yaml/__init__.py4
-rw-r--r--v2/ansible/playbook/play.py2
24 files changed, 31 insertions, 31 deletions
diff --git a/docsite/rst/developing_modules.rst b/docsite/rst/developing_modules.rst
index 1e5e017e8e..decd5b305c 100644
--- a/docsite/rst/developing_modules.rst
+++ b/docsite/rst/developing_modules.rst
@@ -453,7 +453,7 @@ gives them slightly higher development priority (though they'll work in exactly
Deprecating and making module aliases
``````````````````````````````````````
-Starting in 1.8 you can deprecate modules by renaming them with a preceeding _, i.e. old_cloud.py to
+Starting in 1.8 you can deprecate modules by renaming them with a preceding _, i.e. old_cloud.py to
_old_cloud.py, This will keep the module available but hide it from the primary docs and listing.
You can also rename modules and keep an alias to the old name by using a symlink that starts with _.
diff --git a/docsite/rst/developing_test_pr.rst b/docsite/rst/developing_test_pr.rst
index 76b0a53eef..ee4520bf6c 100644
--- a/docsite/rst/developing_test_pr.rst
+++ b/docsite/rst/developing_test_pr.rst
@@ -29,7 +29,7 @@ and then commenting on that particular issue on GitHub. Here's how:
or Docker for this, but they are optional. It is also useful to have virtual machines of different Linux or
other flavors, since some features (apt vs. yum, for example) are specific to those OS versions.
-First, you will need to configure your testing environment with the neccessary tools required to run our test
+First, you will need to configure your testing environment with the necessary tools required to run our test
suites. You will need at least::
git
diff --git a/docsite/rst/guide_aws.rst b/docsite/rst/guide_aws.rst
index e1bb2e5c83..7f05833550 100644
--- a/docsite/rst/guide_aws.rst
+++ b/docsite/rst/guide_aws.rst
@@ -149,7 +149,7 @@ it will be automatically discoverable via a dynamic group like so::
tasks:
- ping
-Using this philosophy can be a great way to keep systems seperated by the function they perform.
+Using this philosophy can be a great way to keep systems separated by the function they perform.
In this example, if we wanted to define variables that are automatically applied to each machine tagged with the 'class' of 'webserver', 'group_vars'
in ansible can be used. See :doc:`splitting_out_vars`.
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index b3e862da51..a89fa47664 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -147,7 +147,7 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins
# avoid issues.
#http_user_agent = ansible-agent
-# if set to a persistant type (not 'memory', for example 'redis') fact values
+# if set to a persistent type (not 'memory', for example 'redis') fact values
# from previous runs in Ansible will be stored. This may be useful when
# wanting to use, for example, IP information from one group of servers
# without having to talk to them in the same playbook run to get their
diff --git a/hacking/test-module b/hacking/test-module
index b6fe1f5cdb..c226f32e88 100755
--- a/hacking/test-module
+++ b/hacking/test-module
@@ -58,7 +58,7 @@ def parse():
parser.add_option('-D', '--debugger', dest='debugger',
help="path to python debugger (e.g. /usr/bin/pdb)")
parser.add_option('-I', '--interpreter', dest='interpreter',
- help="path to interpeter to use for this module (e.g. ansible_python_interpreter=/usr/bin/python)",
+ help="path to interpreter to use for this module (e.g. ansible_python_interpreter=/usr/bin/python)",
metavar='INTERPRETER_TYPE=INTERPRETER_PATH')
parser.add_option('-c', '--check', dest='check', action='store_true',
help="run the module in check mode")
@@ -104,7 +104,7 @@ def boilerplate_module(modfile, args, interpreter, check):
inject = {}
if interpreter:
if '=' not in interpreter:
- print 'interpeter must by in the form of ansible_python_interpreter=/usr/bin/python'
+ print 'interpreter must by in the form of ansible_python_interpreter=/usr/bin/python'
sys.exit(1)
interpreter_type, interpreter_path = interpreter.split('=')
if not interpreter_type.startswith('ansible_'):
diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py
index 5ceeb405d5..38082fe854 100644
--- a/lib/ansible/module_utils/facts.py
+++ b/lib/ansible/module_utils/facts.py
@@ -1355,7 +1355,7 @@ class HPUX(Hardware):
self.facts['memtotal_mb'] = int(data) / 1024
except AttributeError:
#For systems where memory details aren't sent to syslog or the log has rotated, use parsed
- #adb output. Unfortunatley /dev/kmem doesn't have world-read, so this only works as root.
+ #adb output. Unfortunately /dev/kmem doesn't have world-read, so this only works as root.
if os.access("/dev/kmem", os.R_OK):
rc, out, err = module.run_command("echo 'phys_mem_pages/D' | adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2}'", use_unsafe_shell=True)
if not err:
diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py
index 8da794ba6f..1065f9c682 100644
--- a/lib/ansible/runner/__init__.py
+++ b/lib/ansible/runner/__init__.py
@@ -982,7 +982,7 @@ class Runner(object):
# render module_args and complex_args templates
try:
# When templating module_args, we need to be careful to ensure
- # that no variables inadvertantly (or maliciously) add params
+ # that no variables inadvertently (or maliciously) add params
# to the list of args. We do this by counting the number of k=v
# pairs before and after templating.
num_args_pre = self._count_module_args(module_args, allow_dupes=True)
diff --git a/test/integration/roles/test_copy/tasks/main.yml b/test/integration/roles/test_copy/tasks/main.yml
index 7da4d6ad32..5e77295fbb 100644
--- a/test/integration/roles/test_copy/tasks/main.yml
+++ b/test/integration/roles/test_copy/tasks/main.yml
@@ -220,7 +220,7 @@
- name: clean up
file: dest=/tmp/worldwritable state=absent
-# test overwritting a link using "follow=yes" so that the link
+# test overwriting a link using "follow=yes" so that the link
# is preserved and the link target is updated
- name: create a test file to symlink to
diff --git a/test/integration/roles/test_file/tasks/main.yml b/test/integration/roles/test_file/tasks/main.yml
index 26de23b1ca..2126587e6c 100644
--- a/test/integration/roles/test_file/tasks/main.yml
+++ b/test/integration/roles/test_file/tasks/main.yml
@@ -188,7 +188,7 @@
- "file11_result.uid == 1235"
- name: fail to create soft link to non existent file
- file: src=/noneexistant dest={{output_dir}}/soft2.txt state=link force=no
+ file: src=/noneexistent dest={{output_dir}}/soft2.txt state=link force=no
register: file12_result
ignore_errors: true
@@ -198,7 +198,7 @@
- "file12_result.failed == true"
- name: force creation soft link to non existent
- file: src=/noneexistant dest={{output_dir}}/soft2.txt state=link force=yes
+ file: src=/noneexistent dest={{output_dir}}/soft2.txt state=link force=yes
register: file13_result
- name: verify that link was created
diff --git a/test/integration/roles/test_lineinfile/tasks/main.yml b/test/integration/roles/test_lineinfile/tasks/main.yml
index 3f8a8dc5ba..d809bf1983 100644
--- a/test/integration/roles/test_lineinfile/tasks/main.yml
+++ b/test/integration/roles/test_lineinfile/tasks/main.yml
@@ -243,7 +243,7 @@
that:
- "result.stat.checksum == 'f9af7008e3cb67575ce653d094c79cabebf6e523'"
-# Test EOF with empty file to make sure no unneccessary newline is added
+# Test EOF with empty file to make sure no unnecessary newline is added
- name: testempty deploy the testempty file for lineinfile
copy: src=testempty.txt dest={{output_dir}}/testempty.txt
register: result
diff --git a/test/integration/roles/test_mysql_db/tasks/state_dump_import.yml b/test/integration/roles/test_mysql_db/tasks/state_dump_import.yml
index 1980b40638..44267e1edb 100644
--- a/test/integration/roles/test_mysql_db/tasks/state_dump_import.yml
+++ b/test/integration/roles/test_mysql_db/tasks/state_dump_import.yml
@@ -41,7 +41,7 @@
- "result.changed == true"
- "result.db =='{{ db_name }}'"
-- name: assert database was backup succesfully
+- name: assert database was backup successfully
command: file {{ db_file_name }}
register: result
diff --git a/test/integration/roles/test_mysql_user/tasks/main.yml b/test/integration/roles/test_mysql_user/tasks/main.yml
index cdfb7c4950..68042e7491 100644
--- a/test/integration/roles/test_mysql_user/tasks/main.yml
+++ b/test/integration/roles/test_mysql_user/tasks/main.yml
@@ -153,22 +153,22 @@
- include: user_password_update_test.yml
# ============================================================
-# Assert create user with SELECT privileges, attemp to create database and update privileges to create database
+# Assert create user with SELECT privileges, attempt to create database and update privileges to create database
#
- include: test_privs.yml current_privilege=SELECT current_append_privs=no
# ============================================================
-# Assert creating user with SELECT privileges, attemp to create database and append privileges to create database
+# Assert creating user with SELECT privileges, attempt to create database and append privileges to create database
#
- include: test_privs.yml current_privilege=DROP current_append_privs=yes
# ============================================================
-# Assert create user with SELECT privileges, attemp to create database and update privileges to create database
+# Assert create user with SELECT privileges, attempt to create database and update privileges to create database
#
- include: test_privs.yml current_privilege='UPDATE,ALTER' current_append_privs=no
# ============================================================
-# Assert creating user with SELECT privileges, attemp to create database and append privileges to create database
+# Assert creating user with SELECT privileges, attempt to create database and append privileges to create database
#
- include: test_privs.yml current_privilege='INSERT,DELETE' current_append_privs=yes
diff --git a/test/integration/roles/test_win_stat/tasks/main.yml b/test/integration/roles/test_win_stat/tasks/main.yml
index a526976ec9..5069f51a80 100644
--- a/test/integration/roles/test_win_stat/tasks/main.yml
+++ b/test/integration/roles/test_win_stat/tasks/main.yml
@@ -72,7 +72,7 @@
register: win_stat_no_args
ignore_errors: true
-- name: check win_stat result witn no path argument
+- name: check win_stat result with no path argument
assert:
that:
- "win_stat_no_args|failed"
diff --git a/test/units/TestModuleUtilsBasic.py b/test/units/TestModuleUtilsBasic.py
index f5962a9478..18a4e0d772 100644
--- a/test/units/TestModuleUtilsBasic.py
+++ b/test/units/TestModuleUtilsBasic.py
@@ -329,5 +329,5 @@ class TestModuleUtilsBasicHelpers(unittest.TestCase):
# The overzealous-ness here may lead to us changing the algorithm in
# the future. We could make it consume less of the data (with the
- # possiblity of leaving partial passwords exposed) and encourage
+ # possibility of leaving partial passwords exposed) and encourage
# people to use no_log instead of relying on this obfuscation.
diff --git a/test/units/TestUtils.py b/test/units/TestUtils.py
index d93fc70329..9560014e0f 100644
--- a/test/units/TestUtils.py
+++ b/test/units/TestUtils.py
@@ -725,7 +725,7 @@ class TestUtils(unittest.TestCase):
# jinja2 loop blocks with lots of complexity
_test_combo(
# in memory of neighbors cat
- # we preserve line breaks unless a line continuation character preceeds them
+ # we preserve line breaks unless a line continuation character precedes them
'a {% if x %} y {%else %} {{meow}} {% endif %} "cookie\nchip" \\\ndone\nand done',
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', '"cookie\nchip"', 'done\n', 'and', 'done']
)
diff --git a/ticket_stubs/great_idea.md b/ticket_stubs/great_idea.md
index 4ad794e797..b6f35fc10c 100644
--- a/ticket_stubs/great_idea.md
+++ b/ticket_stubs/great_idea.md
@@ -1,4 +1,4 @@
-Submission Recieved
+Submission Received
===================
Hi!
diff --git a/ticket_stubs/module_repo.md b/ticket_stubs/module_repo.md
index 7cfbf6c1de..13791eaaa2 100644
--- a/ticket_stubs/module_repo.md
+++ b/ticket_stubs/module_repo.md
@@ -6,7 +6,7 @@ Hi!
Thanks very much for your interest in Ansible. It sincerely means a lot to us.
This appears to be a submission about a module, and aside from action_plugins, if you know what those are, the modules
-in ansible are now moved two seperate repos. We would appreciate if you can submit this there instead.
+in ansible are now moved two separate repos. We would appreciate if you can submit this there instead.
If this is about a new module, submit pull requests or ideas to:
diff --git a/ticket_stubs/no_thanks.md b/ticket_stubs/no_thanks.md
index 7e43f26695..e9249ba033 100644
--- a/ticket_stubs/no_thanks.md
+++ b/ticket_stubs/no_thanks.md
@@ -14,7 +14,7 @@ open dialog. You can stop by the development list, and we'd be glad to talk abo
* https://groups.google.com/forum/#!forum/ansible-devel
-In the future, sometimes starting a discussion on the development list prior to implenting a feature can make getting things included a little easier, but it's not always neccessary.
+In the future, sometimes starting a discussion on the development list prior to implenting a feature can make getting things included a little easier, but it's not always necessary.
Thank you once again for this and your interest in Ansible!
diff --git a/ticket_stubs/pr_duplicate.md b/ticket_stubs/pr_duplicate.md
index 7294e94ef6..a2c3b48ea2 100644
--- a/ticket_stubs/pr_duplicate.md
+++ b/ticket_stubs/pr_duplicate.md
@@ -15,7 +15,7 @@ However, we're absolutely always up for discussion. Since this is a really busy
* https://groups.google.com/forum/#!forum/ansible-devel
-In the future, sometimes starting a discussion on the development list prior to implenting a feature can make getting things included a little easier, but it's not always neccessary.
+In the future, sometimes starting a discussion on the development list prior to implenting a feature can make getting things included a little easier, but it's not always necessary.
Thank you once again for this and your interest in Ansible!
diff --git a/ticket_stubs/thanks.md b/ticket_stubs/thanks.md
index c77019889a..646571d568 100644
--- a/ticket_stubs/thanks.md
+++ b/ticket_stubs/thanks.md
@@ -1,4 +1,4 @@
-Submission Recieved
+Submission Received
===================
Hi!
diff --git a/v2/ansible/compat/__init__.py b/v2/ansible/compat/__init__.py
index ab861135c7..e77b77d2a6 100644
--- a/v2/ansible/compat/__init__.py
+++ b/v2/ansible/compat/__init__.py
@@ -20,7 +20,7 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
'''
-Compat library for ansible. This contains compatiblity definitions for older python
+Compat library for ansible. This contains compatibility definitions for older python
When we need to import a module differently depending on python version, do it
here. Then in the code we can simply import from compat in order to get what we want.
'''
diff --git a/v2/ansible/errors/__init__.py b/v2/ansible/errors/__init__.py
index d4d93d0e4f..2813507df2 100644
--- a/v2/ansible/errors/__init__.py
+++ b/v2/ansible/errors/__init__.py
@@ -61,7 +61,7 @@ class AnsibleError(Exception):
def _get_error_lines_from_file(self, file_name, line_number):
'''
Returns the line in the file which coresponds to the reported error
- location, as well as the line preceeding it (if the error did not
+ location, as well as the line preceding it (if the error did not
occur on the first line), to provide context to the error.
'''
@@ -82,7 +82,7 @@ class AnsibleError(Exception):
Given an object reporting the location of the exception in a file, return
detailed information regarding it including:
- * the line which caused the error as well as the one preceeding it
+ * the line which caused the error as well as the one preceding it
* causes and suggested remedies for common syntax errors
If this error was created with show_content=False, the reporting of content
diff --git a/v2/ansible/parsing/yaml/__init__.py b/v2/ansible/parsing/yaml/__init__.py
index a6c63feaa7..3f5ebb7c99 100644
--- a/v2/ansible/parsing/yaml/__init__.py
+++ b/v2/ansible/parsing/yaml/__init__.py
@@ -130,12 +130,12 @@ class DataLoader():
show_content = False
return (data, show_content)
except (IOError, OSError) as e:
- raise AnsibleParserError("an error occured while trying to read the file '%s': %s" % (file_name, str(e)))
+ raise AnsibleParserError("an error occurred while trying to read the file '%s': %s" % (file_name, str(e)))
def _handle_error(self, yaml_exc, file_name, show_content):
'''
Optionally constructs an object (AnsibleBaseYAMLObject) to encapsulate the
- file name/position where a YAML exception occured, and raises an AnsibleParserError
+ file name/position where a YAML exception occurred, and raises an AnsibleParserError
to display the syntax exception information.
'''
diff --git a/v2/ansible/playbook/play.py b/v2/ansible/playbook/play.py
index c3d11e6cb2..6dd92ffba0 100644
--- a/v2/ansible/playbook/play.py
+++ b/v2/ansible/playbook/play.py
@@ -170,7 +170,7 @@ class Play(Base):
if len(self.roles) > 0:
for ri in self.roles:
- # The internal list of roles are actualy RoleInclude objects,
+ # The internal list of roles are actually RoleInclude objects,
# so we load the role from that now
role = Role.load(ri)