summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Jethani <101273941+rose2221@users.noreply.github.com>2023-10-02 15:27:47 +0200
committerGitHub <noreply@github.com>2023-10-02 15:27:47 +0200
commit7109d392fd1bbfa343cc2cb80ef12fa0e0f8f633 (patch)
tree38fef3dc2250c4032b0a22bb1c0e652d32ad3d52
parentProvide more info about plugin in deprecation message (#81719) (diff)
downloadansible-7109d392fd1bbfa343cc2cb80ef12fa0e0f8f633.tar.xz
ansible-7109d392fd1bbfa343cc2cb80ef12fa0e0f8f633.zip
fixes spelling errors (#81814)
-rw-r--r--lib/ansible/modules/apt.py2
-rw-r--r--lib/ansible/modules/get_url.py2
-rw-r--r--lib/ansible/modules/pause.py2
-rw-r--r--lib/ansible/modules/yum.py2
-rw-r--r--lib/ansible/plugins/connection/winrm.py4
-rw-r--r--lib/ansible/plugins/filter/comment.yml2
-rw-r--r--lib/ansible/plugins/filter/extract.yml2
7 files changed, 8 insertions, 8 deletions
diff --git a/lib/ansible/modules/apt.py b/lib/ansible/modules/apt.py
index 336eadde54..edd3d843d5 100644
--- a/lib/ansible/modules/apt.py
+++ b/lib/ansible/modules/apt.py
@@ -206,7 +206,7 @@ attributes:
notes:
- Three of the upgrade modes (V(full), V(safe) and its alias V(true)) required C(aptitude) up to 2.3, since 2.4 C(apt-get) is used as a fall-back.
- In most cases, packages installed with apt will start newly installed services by default. Most distributions have mechanisms to avoid this.
- For example when installing Postgresql-9.5 in Debian 9, creating an excutable shell script (/usr/sbin/policy-rc.d) that throws
+ For example when installing Postgresql-9.5 in Debian 9, creating an executable shell script (/usr/sbin/policy-rc.d) that throws
a return code of 101 will stop Postgresql 9.5 starting up after install. Remove the file or remove its execute permission afterwards.
- The apt-get commandline supports implicit regex matches here but we do not because it can let typos through easier
(If you typo C(foo) as C(fo) apt-get would install packages that have "fo" in their name with a warning and a prompt for the user.
diff --git a/lib/ansible/modules/get_url.py b/lib/ansible/modules/get_url.py
index 860b73a705..55ea49272e 100644
--- a/lib/ansible/modules/get_url.py
+++ b/lib/ansible/modules/get_url.py
@@ -261,7 +261,7 @@ EXAMPLES = r'''
- name: Download file from a file path
ansible.builtin.get_url:
- url: file:///tmp/afile.txt
+ url: file:///tmp/a_file.txt
dest: /tmp/afilecopy.txt
- name: < Fetch file that requires authentication.
diff --git a/lib/ansible/modules/pause.py b/lib/ansible/modules/pause.py
index 450bfaf9b3..ed9b97ad18 100644
--- a/lib/ansible/modules/pause.py
+++ b/lib/ansible/modules/pause.py
@@ -15,7 +15,7 @@ description:
- To pause/wait/sleep per host, use the M(ansible.builtin.wait_for) module.
- You can use C(ctrl+c) if you wish to advance a pause earlier than it is set to expire or if you need to abort a playbook run entirely.
To continue early press C(ctrl+c) and then C(c). To abort a playbook press C(ctrl+c) and then C(a).
- - Prompting for a set amount of time is not supported. Pausing playbook execution is interruptable but does not return user input.
+ - Prompting for a set amount of time is not supported. Pausing playbook execution is interruptible but does not return user input.
- The pause module integrates into async/parallelized playbooks without any special considerations (see Rolling Updates).
When using pauses with the C(serial) playbook parameter (as in rolling updates) you are only prompted once for the current group of hosts.
- This module is also supported for Windows targets.
diff --git a/lib/ansible/modules/yum.py b/lib/ansible/modules/yum.py
index 3b6a45756c..095f5517b7 100644
--- a/lib/ansible/modules/yum.py
+++ b/lib/ansible/modules/yum.py
@@ -241,7 +241,7 @@ options:
registered to RHN or an RHN Satellite, repoquery allows for querying
all channels assigned to the system. It is also required to use the
'list' parameter.
- - "NOTE: This will run and be logged as a separate yum transation which
+ - "NOTE: This will run and be logged as a separate yum transaction which
takes place before any other installation or removal."
- "NOTE: This will use the system's default enabled repositories without
regard for disablerepo/enablerepo given to the module."
diff --git a/lib/ansible/plugins/connection/winrm.py b/lib/ansible/plugins/connection/winrm.py
index 0a50fc8ecd..11f0514941 100644
--- a/lib/ansible/plugins/connection/winrm.py
+++ b/lib/ansible/plugins/connection/winrm.py
@@ -148,8 +148,8 @@ DOCUMENTATION = """
seconds higher than the WS-Man operation timeout, thus make the connection more
robust on networks with long latency and/or many hops between server and client
network wise.
- - Setting the difference bewteen the operation and the read timeout to 10 seconds
- alligns it to the defaults used in the winrm-module and the PSRP-module which also
+ - Setting the difference between the operation and the read timeout to 10 seconds
+ aligns it to the defaults used in the winrm-module and the PSRP-module which also
uses 10 seconds (30 seconds for read timeout and 20 seconds for operation timeout)
- Corresponds to the C(operation_timeout_sec) and
C(read_timeout_sec) args in pywinrm so avoid setting these vars
diff --git a/lib/ansible/plugins/filter/comment.yml b/lib/ansible/plugins/filter/comment.yml
index f1e47e6d08..c2e4776e08 100644
--- a/lib/ansible/plugins/filter/comment.yml
+++ b/lib/ansible/plugins/filter/comment.yml
@@ -18,7 +18,7 @@ DOCUMENTATION:
decoration:
description: Indicator for comment or intermediate comment depending on the style.
type: string
- begining:
+ beginning:
description: Indicator of the start of a comment block, only available for styles that support multiline comments.
type: string
end:
diff --git a/lib/ansible/plugins/filter/extract.yml b/lib/ansible/plugins/filter/extract.yml
index a7c4e91281..da1f4c01aa 100644
--- a/lib/ansible/plugins/filter/extract.yml
+++ b/lib/ansible/plugins/filter/extract.yml
@@ -17,7 +17,7 @@ DOCUMENTATION:
type: raw
required: true
morekeys:
- description: Indicies or keys to extract from the initial result (subkeys/subindices).
+ description: Indices or keys to extract from the initial result (subkeys/subindices).
type: list
elements: dictionary
required: true