1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix typos and spelling errors (#639)

Found with codespell

Signed-off-by: Andrew Imeson <andrew@andrewimeson.com>
This commit is contained in:
Andrew Imeson 2023-09-05 04:30:15 -04:00 committed by GitHub
parent 65d9d49aa4
commit 18a939a167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 22 deletions

View file

@ -298,7 +298,7 @@ Bugfixes
- Don't add newlines to secrets
- Fix issue with podman and exposed ports
- Fix signal diff for truncated and RT signal names
- Support empty stings in prefixes
- Support empty strings in prefixes
- Update error message when pull set to false
v1.8.1

View file

@ -429,7 +429,7 @@ releases:
- Don't add newlines to secrets
- Fix issue with podman and exposed ports
- Fix signal diff for truncated and RT signal names
- Support empty stings in prefixes
- Support empty strings in prefixes
- Update error message when pull set to false
release_summary: Fixes for various modules
release_date: '2021-11-09'

File diff suppressed because one or more lines are too long

View file

@ -390,7 +390,7 @@
</div>
<div class="section" id="examples">
<h2><a class="toc-backref" href="#id5">Examples</a><a class="headerlink" href="#examples" title="Permalink to this heading"></a></h2>
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="c1"># Exemple of creating a container and integrate it into systemd</span><span class="w"></span>
<div class="highlight-yaml+jinja notranslate"><div class="highlight"><pre><span></span><span class="c1"># Example of creating a container and integrate it into systemd</span><span class="w"></span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">A postgres container must exist, stopped</span><span class="w"></span>
<span class="w"> </span><span class="nt">containers.podman.podman_container</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">postgres_local</span><span class="w"></span>
@ -411,7 +411,7 @@
<span class="c1"># Generate the unit files, but store them on an Ansible variable</span><span class="w"></span>
<span class="c1"># instead of writting them on target host</span><span class="w"></span>
<span class="c1"># instead of writing them on target host</span><span class="w"></span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Systemd unit files for postgres container must be generated</span><span class="w"></span>
<span class="w"> </span><span class="nt">containers.podman.podman_generate_systemd</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">postgres_local</span><span class="w"></span>

View file

@ -72,7 +72,7 @@ EXAMPLES = r'''
command: "cat redhat-release"
workdir: /etc
- name: Execute a command with a list of args and enviroment variables
- name: Execute a command with a list of args and environment variables
containers.podman.podman_container_exec:
name: test_container
argv:

View file

@ -50,7 +50,7 @@ EXAMPLES = r"""
RETURN = r"""
containers:
description: Facts from all or specificed containers
description: Facts from all or specified containers
returned: always
type: list
elements: dict

View file

@ -394,7 +394,7 @@ def generate_systemd(module):
# In case of error in running the command
if return_code != 0:
# Print informations about the error and return and empty dictionary
# Print information about the error and return and empty dictionary
message = 'Error generating systemd .service unit(s).'
message += ' Command executed: {command_str}'
message += ' Command returned with code: {return_code}.'
@ -431,7 +431,7 @@ def generate_systemd(module):
changed = True
# If destination exist but not a directory
if not os.path.isdir(systemd_units_dest):
# Stop and tell user that the destination is not a directry
# Stop and tell user that the destination is not a directory
message = "Destination {systemd_units_dest} is not a directory."
message += " Can't save systemd unit files in."
module.fail_json(

View file

@ -17,7 +17,7 @@ DOCUMENTATION = r'''
options:
arch:
description:
- CPU architecutre for the container image
- CPU architecture for the container image
type: str
name:
description:

View file

@ -66,17 +66,17 @@ options:
type: dict
system:
description:
- Wheter to prune unused pods, containers, image, networks and volume data
- Whether to prune unused pods, containers, image, networks and volume data
type: bool
default: false
system_all:
description:
- Wheter to prune all unused images, not only dangling images.
- Whether to prune all unused images, not only dangling images.
type: bool
default: false
system_volumes:
description:
- Wheter to prune volumes currently unused by any container.
- Whether to prune volumes currently unused by any container.
type: bool
default: false
volume:

View file

@ -383,7 +383,7 @@
assert:
that: test29 is not changed
- name: Remove dependant test container
- name: Remove dependent test container
containers.podman.podman_container:
executable: "{{ test_executable | default('podman') }}"
name: idempotency2

View file

@ -74,7 +74,7 @@
checksum2: "{{ item.stat.checksum }}"
with_items: "{{ unitfile2.results }}"
- name: Check if the sytemd unit files are as expected
- name: Check if the systemd unit files are as expected
assert:
that:
- generate1 is not changed

View file

@ -39,7 +39,7 @@
containers.podman.podman_image_info:
executable: "{{ test_executable | default('podman') }}"
name: nope
register: single_nonexistant
register: single_nonexistent
- name: Get info on multiple images that do not exist
containers.podman.podman_image_info:
@ -47,7 +47,7 @@
name:
- nope
- reallynope
register: multiple_nonexistant
register: multiple_nonexistent
- name: Get info with one image that does not exist
containers.podman.podman_image_info:
@ -56,11 +56,11 @@
- dnsmasq
- nope
- etcd
register: mixed_nonexistant
register: mixed_nonexistent
- name: Ensure image info was returned when non-existant image info was requisted
- name: Ensure image info was returned when non-existent image info was requisted
assert:
that:
- single_nonexistant.images | length == 0
- multiple_nonexistant.images | length == 0
- mixed_nonexistant.images | length == 2
- single_nonexistent.images | length == 0
- multiple_nonexistent.images | length == 0
- mixed_nonexistent.images | length == 2