Skip to content

Commit 843fba5

Browse files
AMDmi3gundalow
authored andcommitted
Documentation typo fixes (#32473)
1 parent 7fe69da commit 843fba5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docs/docsite/rst/guide_cloudstack.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Below you see an example how it can be used in combination with Ansible's block
165165
166166
.. Note:: You are still able overwrite the environment variables using the module arguments, e.g. ``zone: sf-2``
167167

168-
.. Note:: Unlike ``CLOUDSTACK_REGION`` these additional environment variables are ingored in the CLI ``cs``.
168+
.. Note:: Unlike ``CLOUDSTACK_REGION`` these additional environment variables are ignored in the CLI ``cs``.
169169

170170
Use Cases
171171
`````````
@@ -262,7 +262,7 @@ Now to the fun part. We create a playbook to create our infrastructure we call i
262262
cs_staticnat: vm="{{ inventory_hostname_short }}" ip_address="{{ public_ip }}"
263263
when: public_ip is defined
264264
265-
In the above play we defined 3 tasks and use the group ``cloud-vm`` as target to handle all VMs in the cloud but instead SSH to these VMs, we use ``connetion=local`` to execute the API calls locally from our workstation.
265+
In the above play we defined 3 tasks and use the group ``cloud-vm`` as target to handle all VMs in the cloud but instead SSH to these VMs, we use ``connection=local`` to execute the API calls locally from our workstation.
266266

267267
In the first task, we ensure we have a running VM created with the Debian template. If the VM is already created but stopped, it would just start it. If you like to change the offering on an existing VM, you must add ``force: yes`` to the task, which would stop the VM, change the offering and start the VM again.
268268

@@ -364,12 +364,12 @@ The playbook looks like the following:
364364
- name: show VM IP
365365
debug: msg="VM {{ inventory_hostname }} {{ vm.default_ip }}"
366366
367-
- name: assing IP to the inventory
367+
- name: assign IP to the inventory
368368
set_fact: ansible_ssh_host={{ vm.default_ip }}
369369
370370
- name: waiting for SSH to come up
371371
wait_for: port=22 host={{ vm.default_ip }} delay=5
372372
373-
In the first play we setup the security groups, in the second play the VMs will created be assigned to these groups. Further you see, that we assign the public IP returned from the modules to the host inventory. This is needed as we do not know the IPs we will get in advance. In a next step you would configure the DNS servers with these IPs for accassing the VMs with their DNS name.
373+
In the first play we setup the security groups, in the second play the VMs will created be assigned to these groups. Further you see, that we assign the public IP returned from the modules to the host inventory. This is needed as we do not know the IPs we will get in advance. In a next step you would configure the DNS servers with these IPs for accessing the VMs with their DNS name.
374374

375375
In the last task we wait for SSH to be accessible, so any later play would be able to access the VM by SSH without failure.

docs/docsite/rst/guide_docker.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ options. These are the same environment variables used by the Docker modules.
205205
by docker-py.
206206

207207
DOCKER_TIMEOUT:
208-
The maximum amount of time in seconds to wait on a response fromm the API. Defaults to 60 seconds.
208+
The maximum amount of time in seconds to wait on a response from the API. Defaults to 60 seconds.
209209

210210
DOCKER_TLS:
211211
Secure the connection to the API by using TLS without verifying the authenticity of the Docker host server.

docs/docsite/rst/guide_rolling_upgrade.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Here's another example, from the same template:
176176
{% endfor %}
177177
178178
This loops over all of the hosts in the group called ``monitoring``, and adds an ACCEPT line for
179-
each monitoring hosts' default IPV4 address to the current machine's iptables configuration, so that Nagios can monitor those hosts.
179+
each monitoring hosts' default IPv4 address to the current machine's iptables configuration, so that Nagios can monitor those hosts.
180180

181181
You can learn a lot more about Jinja2 and its capabilities `here <http://jinja.pocoo.org/docs/>`_, and you
182182
can read more about Ansible variables in general in the :doc:`playbooks_variables` section.

docs/docsite/rst/playbooks_filters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,11 @@ To add quotes for shell usage::
707707

708708
To use one value on true and another on false (new in version 1.9)::
709709

710-
{{ (name == "John") | ternary('Mr','Ms') }}
710+
{{ (name == "John") | ternary('Mr','Ms') }}
711711

712712
To concatenate a list into a string::
713713

714-
{{ list | join(" ") }}
714+
{{ list | join(" ") }}
715715

716716
To get the last name of a file path, like 'foo.txt' out of '/etc/asdf/foo.txt'::
717717

@@ -747,7 +747,7 @@ To expand a path containing a tilde (`~`) character (new in version 1.5)::
747747

748748
To get the real path of a link (new in version 1.8)::
749749

750-
{{ path | realpath }}
750+
{{ path | realpath }}
751751

752752
To get the relative path of a link, from a start point (new in version 1.7)::
753753

docs/docsite/rst/playbooks_reuse_roles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ To make roles run more than once, there are two options:
198198
1. Pass different parameters in each role definition.
199199
2. Add ``allow_duplicates: true`` to the ``meta/main.yml`` file for the role.
200200

201-
Example 1 - passing different paramters::
201+
Example 1 - passing different parameters::
202202

203203
---
204204
- hosts: webservers

0 commit comments

Comments
 (0)