Misc documentation fixes (#67863)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-03-01 15:14:53 +05:30 committed by GitHub
parent 8f9f8ec594
commit b3381704e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 17 additions and 17 deletions

View file

@ -172,7 +172,7 @@ class Interfaces(ConfigBase):
count += 1
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
commands.extend(self._clear_config(interface, each))
continue

View file

@ -156,7 +156,7 @@ class L2_Interfaces(ConfigBase):
break
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
kwargs = {'want': interface, 'have': each}
commands.extend(self._clear_config(**kwargs))

View file

@ -148,7 +148,7 @@ class L3_Interfaces(ConfigBase):
break
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
kwargs = {'want': interface, 'have': each}
commands.extend(self._clear_config(**kwargs))

View file

@ -159,7 +159,7 @@ class Lacp_Interfaces(ConfigBase):
break
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
commands.extend(self._clear_config(interface, each))
continue

View file

@ -157,7 +157,7 @@ class Lldp_Interfaces(ConfigBase):
break
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
commands.extend(self._clear_config(interface, each))
continue

View file

@ -155,7 +155,7 @@ class Vlans(ConfigBase):
count += 1
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
commands.extend(self._clear_config(every, each, state))
continue
commands.extend(self._set_config(every, each))

View file

@ -155,7 +155,7 @@ class Interfaces(ConfigBase):
break
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
commands.extend(self._clear_config(interface, each))
continue

View file

@ -154,7 +154,7 @@ class L2_Interfaces(ConfigBase):
not_in_have.add(interface['name'])
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
commands.extend(self._clear_config(interface, each))
continue

View file

@ -156,7 +156,7 @@ class L3_Interfaces(ConfigBase):
not_in_have.add(interface['name'])
else:
# We didn't find a matching desired state, which means we can
# pretend we recieved an empty desired state.
# pretend we received an empty desired state.
interface = dict(name=each['name'])
kwargs = {'want': interface, 'have': each}
commands.extend(self._clear_config(**kwargs))

View file

@ -66,7 +66,7 @@ options:
ssl_mode:
description:
- Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.
- See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.
- See U(https://www.postgresql.org/docs/current/static/libpq-ssl.html) for more information on the modes.
- Default of C(prefer) matches libpq default.
type: str
default: prefer
@ -105,7 +105,7 @@ notes:
- The default authentication assumes that you are either logging in as
or sudo'ing to the C(postgres) account on the host.
- This module uses I(psycopg2), a Python PostgreSQL database adapter.
- You must ensure that psycopg2 is installed on the host before using this module.
- You must ensure that C(psycopg2) is installed on the host before using this module.
- If the remote host is the PostgreSQL server (which is the default case),
then PostgreSQL must also be installed on the remote host.
- For Ubuntu-based systems, install the C(postgresql), C(libpq-dev),

View file

@ -149,7 +149,7 @@ options:
ssl_mode:
description:
- Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.
- See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.
- See U(https://www.postgresql.org/docs/current/static/libpq-ssl.html) for more information on the modes.
- Default of C(prefer) matches libpq default.
type: str
default: prefer

View file

@ -61,7 +61,7 @@ options:
ssl_mode:
description:
- Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.
- See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.
- See U(https://www.postgresql.org/docs/current/static/libpq-ssl.html) for more information on the modes.
- Default of C(prefer) matches libpq default.
type: str
default: prefer

View file

@ -104,7 +104,7 @@ EXAMPLES = r'''
msg: "{{ set.name }} {{ set.prev_val_pretty }} >> {{ set.value_pretty }} restart_req: {{ set.restart_required }}"
when: set.changed
# Ensure that the restart of PostgreSQL server must be required for some parameters.
# In this situation you see the same parameter in prev_val and value_prettyue, but 'changed=True'
# In this situation you see the same parameter in prev_val_pretty and value_pretty, but 'changed=True'
# (If you passed the value that was different from the current server setting).
- name: Set log_min_duration_statement parameter to 1 second

View file

@ -133,7 +133,7 @@ options:
ssl_mode:
description:
- Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.
- See https://www.postgresql.org/docs/current/static/libpq-ssl.html for more information on the modes.
- See U(https://www.postgresql.org/docs/current/static/libpq-ssl.html) for more information on the modes.
- Default of C(prefer) matches libpq default.
type: str
default: prefer

View file

@ -32,7 +32,7 @@ DOCUMENTATION = '''
env:
- name: JABBER_PASS
to:
description: chat identifier that will recieve the message
description: chat identifier that will receive the message
required: True
env:
- name: JABBER_TO

View file

@ -71,7 +71,7 @@ DOCUMENTATION = """
type: str
transport:
description:
- List of winrm transports to attempt to to use (ssl, plaintext, kerberos, etc)
- List of winrm transports to attempt to use (ssl, plaintext, kerberos, etc)
- If None (the default) the plugin will try to automatically guess the correct list
- The choices available depend on your version of pywinrm
type: list