1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #8627/ce65eb87 backport][stable-9] Type options of connection plugins (#8662)

Type options of connection plugins (#8627)

Type options of connection plugins.

(cherry picked from commit ce65eb8736)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2024-07-21 22:16:12 +02:00 committed by GitHub
parent 3726b50a92
commit 2261bd62de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 27 additions and 4 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "chroot, funcd, incus, iocage, jail, lxc, lxd, qubes, zone connection plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8627)."

View file

@ -20,6 +20,7 @@ DOCUMENTATION = '''
remote_addr: remote_addr:
description: description:
- The path of the chroot you want to access. - The path of the chroot you want to access.
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: inventory_hostname - name: inventory_hostname
@ -27,6 +28,7 @@ DOCUMENTATION = '''
executable: executable:
description: description:
- User specified executable shell - User specified executable shell
type: string
ini: ini:
- section: defaults - section: defaults
key: executable key: executable
@ -38,6 +40,7 @@ DOCUMENTATION = '''
chroot_exe: chroot_exe:
description: description:
- User specified chroot binary - User specified chroot binary
type: string
ini: ini:
- section: chroot_connection - section: chroot_connection
key: exe key: exe

View file

@ -21,6 +21,7 @@ DOCUMENTATION = '''
remote_addr: remote_addr:
description: description:
- The path of the chroot you want to access. - The path of the chroot you want to access.
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: ansible_host - name: ansible_host

View file

@ -19,6 +19,7 @@ DOCUMENTATION = """
remote_addr: remote_addr:
description: description:
- The instance identifier. - The instance identifier.
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: inventory_hostname - name: inventory_hostname
@ -27,6 +28,7 @@ DOCUMENTATION = """
executable: executable:
description: description:
- The shell to use for execution inside the instance. - The shell to use for execution inside the instance.
type: string
default: /bin/sh default: /bin/sh
vars: vars:
- name: ansible_executable - name: ansible_executable
@ -35,6 +37,7 @@ DOCUMENTATION = """
description: description:
- The name of the Incus remote to use (per C(incus remote list)). - The name of the Incus remote to use (per C(incus remote list)).
- Remotes are used to access multiple servers from a single client. - Remotes are used to access multiple servers from a single client.
type: string
default: local default: local
vars: vars:
- name: ansible_incus_remote - name: ansible_incus_remote
@ -42,6 +45,7 @@ DOCUMENTATION = """
description: description:
- The name of the Incus project to use (per C(incus project list)). - The name of the Incus project to use (per C(incus project list)).
- Projects are used to divide the instances running on a server. - Projects are used to divide the instances running on a server.
type: string
default: default default: default
vars: vars:
- name: ansible_incus_project - name: ansible_incus_project

View file

@ -20,12 +20,14 @@ DOCUMENTATION = '''
remote_addr: remote_addr:
description: description:
- Path to the jail - Path to the jail
type: string
vars: vars:
- name: ansible_host - name: ansible_host
- name: ansible_iocage_host - name: ansible_iocage_host
remote_user: remote_user:
description: description:
- User to execute as inside the jail - User to execute as inside the jail
type: string
vars: vars:
- name: ansible_user - name: ansible_user
- name: ansible_iocage_user - name: ansible_iocage_user

View file

@ -20,6 +20,7 @@ DOCUMENTATION = '''
remote_addr: remote_addr:
description: description:
- Path to the jail - Path to the jail
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: inventory_hostname - name: inventory_hostname
@ -28,6 +29,7 @@ DOCUMENTATION = '''
remote_user: remote_user:
description: description:
- User to execute as inside the jail - User to execute as inside the jail
type: string
vars: vars:
- name: ansible_user - name: ansible_user
- name: ansible_jail_user - name: ansible_jail_user

View file

@ -17,6 +17,7 @@ DOCUMENTATION = '''
remote_addr: remote_addr:
description: description:
- Container identifier - Container identifier
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: inventory_hostname - name: inventory_hostname
@ -26,6 +27,7 @@ DOCUMENTATION = '''
default: /bin/sh default: /bin/sh
description: description:
- Shell executable - Shell executable
type: string
vars: vars:
- name: ansible_executable - name: ansible_executable
- name: ansible_lxc_executable - name: ansible_lxc_executable

View file

@ -19,6 +19,7 @@ DOCUMENTATION = '''
- Instance (container/VM) identifier. - Instance (container/VM) identifier.
- Since community.general 8.0.0, a FQDN can be provided; in that case, the first component (the part before C(.)) - Since community.general 8.0.0, a FQDN can be provided; in that case, the first component (the part before C(.))
is used as the instance identifier. is used as the instance identifier.
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: inventory_hostname - name: inventory_hostname
@ -27,6 +28,7 @@ DOCUMENTATION = '''
executable: executable:
description: description:
- Shell to use for execution inside instance. - Shell to use for execution inside instance.
type: string
default: /bin/sh default: /bin/sh
vars: vars:
- name: ansible_executable - name: ansible_executable
@ -34,6 +36,7 @@ DOCUMENTATION = '''
remote: remote:
description: description:
- Name of the LXD remote to use. - Name of the LXD remote to use.
type: string
default: local default: local
vars: vars:
- name: ansible_lxd_remote - name: ansible_lxd_remote
@ -41,6 +44,7 @@ DOCUMENTATION = '''
project: project:
description: description:
- Name of the LXD project to use. - Name of the LXD project to use.
type: string
vars: vars:
- name: ansible_lxd_project - name: ansible_lxd_project
version_added: 2.0.0 version_added: 2.0.0

View file

@ -25,14 +25,16 @@ DOCUMENTATION = '''
options: options:
remote_addr: remote_addr:
description: description:
- vm name - VM name.
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: ansible_host - name: ansible_host
remote_user: remote_user:
description: description:
- The user to execute as inside the vm. - The user to execute as inside the VM.
default: The *user* account as default in Qubes OS. type: string
default: The I(user) account as default in Qubes OS.
vars: vars:
- name: ansible_user - name: ansible_user
# keyword: # keyword:

View file

@ -16,11 +16,12 @@ DOCUMENTATION = '''
name: zone name: zone
short_description: Run tasks in a zone instance short_description: Run tasks in a zone instance
description: description:
- Run commands or put/fetch files to an existing zone - Run commands or put/fetch files to an existing zone.
options: options:
remote_addr: remote_addr:
description: description:
- Zone identifier - Zone identifier
type: string
default: inventory_hostname default: inventory_hostname
vars: vars:
- name: ansible_host - name: ansible_host