mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Fix new requirements for plugins documentation (#385)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
081ac5f851
commit
85a36e3b1f
2 changed files with 17 additions and 18 deletions
|
|
@ -12,11 +12,11 @@ __metaclass__ = type
|
|||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
connection: buildah
|
||||
short_description: Interact with an existing buildah container
|
||||
description:
|
||||
- Run commands or put/fetch files to an existing container using buildah tool.
|
||||
author: Tomas Tomecek (ttomecek@redhat.com)
|
||||
author: Tomas Tomecek (@TomasTomecek)
|
||||
name: buildah
|
||||
options:
|
||||
remote_addr:
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -10,23 +10,9 @@
|
|||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
import distutils.spawn
|
||||
import os
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.module_utils._text import to_bytes, to_native
|
||||
from ansible.plugins.connection import ConnectionBase, ensure_connect
|
||||
from ansible.utils.display import Display
|
||||
|
||||
display = Display()
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
author: Tomas Tomecek (ttomecek@redhat.com)
|
||||
connection: podman
|
||||
author: Tomas Tomecek (@TomasTomecek)
|
||||
name: podman
|
||||
short_description: Interact with an existing podman container
|
||||
description:
|
||||
- Run commands or put/fetch files to an existing container using podman tool.
|
||||
|
|
@ -70,6 +56,19 @@ DOCUMENTATION = '''
|
|||
- name: ANSIBLE_PODMAN_EXECUTABLE
|
||||
'''
|
||||
|
||||
import distutils.spawn
|
||||
import os
|
||||
import shlex
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.module_utils._text import to_bytes, to_native
|
||||
from ansible.plugins.connection import ConnectionBase, ensure_connect
|
||||
from ansible.utils.display import Display
|
||||
|
||||
display = Display()
|
||||
|
||||
|
||||
# this _has to be_ named Connection
|
||||
class Connection(ConnectionBase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue