parent
1de16e50f1
commit
040cd0ca50
|
@ -7,7 +7,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Unknown (!UNKNOWN)
|
author: Unknown (!UNKNOWN)
|
||||||
name: memcached
|
name: memcached
|
||||||
short_description: Use memcached DB for cache
|
short_description: Use memcached DB for cache
|
||||||
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
options:
|
options:
|
||||||
_uri:
|
_uri:
|
||||||
description:
|
description:
|
||||||
- List of connection information for the memcached DBs
|
- List of connection information for the memcached DBs.
|
||||||
default: ['127.0.0.1:11211']
|
default: ['127.0.0.1:11211']
|
||||||
type: list
|
type: list
|
||||||
elements: string
|
elements: string
|
||||||
|
@ -28,7 +28,7 @@ DOCUMENTATION = '''
|
||||||
- key: fact_caching_connection
|
- key: fact_caching_connection
|
||||||
section: defaults
|
section: defaults
|
||||||
_prefix:
|
_prefix:
|
||||||
description: User defined prefix to use when creating the DB entries
|
description: User defined prefix to use when creating the DB entries.
|
||||||
type: string
|
type: string
|
||||||
default: ansible_facts
|
default: ansible_facts
|
||||||
env:
|
env:
|
||||||
|
@ -40,13 +40,13 @@ DOCUMENTATION = '''
|
||||||
default: 86400
|
default: 86400
|
||||||
type: integer
|
type: integer
|
||||||
# TODO: determine whether it is OK to change to: type: float
|
# TODO: determine whether it is OK to change to: type: float
|
||||||
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire
|
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
||||||
ini:
|
ini:
|
||||||
- key: fact_caching_timeout
|
- key: fact_caching_timeout
|
||||||
section: defaults
|
section: defaults
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
name: pickle
|
name: pickle
|
||||||
short_description: Pickle formatted files.
|
short_description: Pickle formatted files
|
||||||
description:
|
description:
|
||||||
- This cache uses Python's pickle serialization format, in per host files, saved to the filesystem.
|
- This cache uses Python's pickle serialization format, in per host files, saved to the filesystem.
|
||||||
author: Brian Coca (@bcoca)
|
author: Brian Coca (@bcoca)
|
||||||
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
_uri:
|
_uri:
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
- Path in which the cache plugin will save the files
|
- Path in which the cache plugin will save the files.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
||||||
ini:
|
ini:
|
||||||
|
@ -26,7 +26,7 @@ DOCUMENTATION = '''
|
||||||
section: defaults
|
section: defaults
|
||||||
type: path
|
type: path
|
||||||
_prefix:
|
_prefix:
|
||||||
description: User defined prefix to use when creating the files
|
description: User defined prefix to use when creating the files.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_PREFIX
|
- name: ANSIBLE_CACHE_PLUGIN_PREFIX
|
||||||
ini:
|
ini:
|
||||||
|
@ -35,14 +35,14 @@ DOCUMENTATION = '''
|
||||||
type: string
|
type: string
|
||||||
_timeout:
|
_timeout:
|
||||||
default: 86400
|
default: 86400
|
||||||
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire
|
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
||||||
ini:
|
ini:
|
||||||
- key: fact_caching_timeout
|
- key: fact_caching_timeout
|
||||||
section: defaults
|
section: defaults
|
||||||
type: float
|
type: float
|
||||||
'''
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import cPickle as pickle
|
import cPickle as pickle
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Unknown (!UNKNOWN)
|
author: Unknown (!UNKNOWN)
|
||||||
name: redis
|
name: redis
|
||||||
short_description: Use Redis DB for cache
|
short_description: Use Redis DB for cache
|
||||||
|
@ -29,7 +29,7 @@ DOCUMENTATION = '''
|
||||||
- key: fact_caching_connection
|
- key: fact_caching_connection
|
||||||
section: defaults
|
section: defaults
|
||||||
_prefix:
|
_prefix:
|
||||||
description: User defined prefix to use when creating the DB entries
|
description: User defined prefix to use when creating the DB entries.
|
||||||
type: string
|
type: string
|
||||||
default: ansible_facts
|
default: ansible_facts
|
||||||
env:
|
env:
|
||||||
|
@ -60,13 +60,13 @@ DOCUMENTATION = '''
|
||||||
default: 86400
|
default: 86400
|
||||||
type: integer
|
type: integer
|
||||||
# TODO: determine whether it is OK to change to: type: float
|
# TODO: determine whether it is OK to change to: type: float
|
||||||
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire
|
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
||||||
ini:
|
ini:
|
||||||
- key: fact_caching_timeout
|
- key: fact_caching_timeout
|
||||||
section: defaults
|
section: defaults
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
name: yaml
|
name: yaml
|
||||||
short_description: YAML formatted files.
|
short_description: YAML formatted files
|
||||||
description:
|
description:
|
||||||
- This cache uses YAML formatted, per host, files saved to the filesystem.
|
- This cache uses YAML formatted, per host, files saved to the filesystem.
|
||||||
author: Brian Coca (@bcoca)
|
author: Brian Coca (@bcoca)
|
||||||
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
||||||
_uri:
|
_uri:
|
||||||
required: true
|
required: true
|
||||||
description:
|
description:
|
||||||
- Path in which the cache plugin will save the files
|
- Path in which the cache plugin will save the files.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
- name: ANSIBLE_CACHE_PLUGIN_CONNECTION
|
||||||
ini:
|
ini:
|
||||||
|
@ -26,7 +26,7 @@ DOCUMENTATION = '''
|
||||||
section: defaults
|
section: defaults
|
||||||
type: string
|
type: string
|
||||||
_prefix:
|
_prefix:
|
||||||
description: User defined prefix to use when creating the files
|
description: User defined prefix to use when creating the files.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_PREFIX
|
- name: ANSIBLE_CACHE_PLUGIN_PREFIX
|
||||||
ini:
|
ini:
|
||||||
|
@ -35,7 +35,7 @@ DOCUMENTATION = '''
|
||||||
type: string
|
type: string
|
||||||
_timeout:
|
_timeout:
|
||||||
default: 86400
|
default: 86400
|
||||||
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire
|
description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
- name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
||||||
ini:
|
ini:
|
||||||
|
@ -43,7 +43,7 @@ DOCUMENTATION = '''
|
||||||
section: defaults
|
section: defaults
|
||||||
type: integer
|
type: integer
|
||||||
# TODO: determine whether it is OK to change to: type: float
|
# TODO: determine whether it is OK to change to: type: float
|
||||||
'''
|
"""
|
||||||
|
|
||||||
|
|
||||||
import codecs
|
import codecs
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Maykel Moya (!UNKNOWN) <mmoya@speedyrails.com>
|
author: Maykel Moya (!UNKNOWN) <mmoya@speedyrails.com>
|
||||||
name: chroot
|
name: chroot
|
||||||
short_description: Interact with local chroot
|
short_description: Interact with local chroot
|
||||||
|
@ -27,7 +27,7 @@ DOCUMENTATION = '''
|
||||||
- name: ansible_host
|
- name: ansible_host
|
||||||
executable:
|
executable:
|
||||||
description:
|
description:
|
||||||
- User specified executable shell
|
- User specified executable shell.
|
||||||
type: string
|
type: string
|
||||||
ini:
|
ini:
|
||||||
- section: defaults
|
- section: defaults
|
||||||
|
@ -39,7 +39,7 @@ DOCUMENTATION = '''
|
||||||
default: /bin/sh
|
default: /bin/sh
|
||||||
chroot_exe:
|
chroot_exe:
|
||||||
description:
|
description:
|
||||||
- User specified chroot binary
|
- User specified chroot binary.
|
||||||
type: string
|
type: string
|
||||||
ini:
|
ini:
|
||||||
- section: chroot_connection
|
- section: chroot_connection
|
||||||
|
@ -62,27 +62,14 @@ DOCUMENTATION = '''
|
||||||
default: false
|
default: false
|
||||||
type: bool
|
type: bool
|
||||||
version_added: 7.3.0
|
version_added: 7.3.0
|
||||||
'''
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
# Plugin requires root privileges for chroot, -E preserves your env (and location of ~/.ansible):
|
|
||||||
# sudo -E ansible-playbook ...
|
|
||||||
#
|
|
||||||
# Static inventory file
|
|
||||||
# [chroots]
|
|
||||||
# /path/to/debootstrap
|
|
||||||
# /path/to/feboostrap
|
|
||||||
# /path/to/lxc-image
|
|
||||||
# /path/to/chroot
|
|
||||||
|
|
||||||
# playbook
|
|
||||||
---
|
|
||||||
- hosts: chroots
|
- hosts: chroots
|
||||||
connection: community.general.chroot
|
connection: community.general.chroot
|
||||||
tasks:
|
tasks:
|
||||||
- debug:
|
- debug:
|
||||||
msg: "This is coming from chroot environment"
|
msg: "This is coming from chroot environment"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Michael Scherer (@mscherer) <misc@zarb.org>
|
author: Michael Scherer (@mscherer) <misc@zarb.org>
|
||||||
name: funcd
|
name: funcd
|
||||||
short_description: Use funcd to connect to target
|
short_description: Use funcd to connect to target
|
||||||
description:
|
description:
|
||||||
- This transport permits you to use Ansible over Func.
|
- This transport permits you to use Ansible over Func.
|
||||||
- For people who have already setup func and that wish to play with ansible,
|
- For people who have already setup func and that wish to play with ansible, this permit to move gradually to ansible without
|
||||||
this permit to move gradually to ansible without having to redo completely the setup of the network.
|
having to redo completely the setup of the network.
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
|
@ -26,7 +26,7 @@ DOCUMENTATION = '''
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_host
|
- name: ansible_host
|
||||||
- name: ansible_func_host
|
- name: ansible_func_host
|
||||||
'''
|
"""
|
||||||
|
|
||||||
HAVE_FUNC = False
|
HAVE_FUNC = False
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = r"""
|
||||||
author: Stéphane Graber (@stgraber)
|
author: Stéphane Graber (@stgraber)
|
||||||
name: incus
|
name: incus
|
||||||
short_description: Run tasks in Incus instances via the Incus CLI.
|
short_description: Run tasks in Incus instances using the Incus CLI
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing Incus instance using Incus CLI.
|
- Run commands or put/fetch files to an existing Incus instance using Incus CLI.
|
||||||
version_added: "8.2.0"
|
version_added: "8.2.0"
|
||||||
|
|
|
@ -10,28 +10,28 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Stephan Lohse (!UNKNOWN) <dev-github@ploek.org>
|
author: Stephan Lohse (!UNKNOWN) <dev-github@ploek.org>
|
||||||
name: iocage
|
name: iocage
|
||||||
short_description: Run tasks in iocage jails
|
short_description: Run tasks in iocage jails
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing iocage jail
|
- Run commands or put/fetch files to an existing iocage jail.
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
- Path to the jail
|
- Path to the jail.
|
||||||
type: string
|
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
|
type: string
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_user
|
- name: ansible_user
|
||||||
- name: ansible_iocage_user
|
- name: ansible_iocage_user
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
|
@ -10,16 +10,16 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Ansible Core Team
|
author: Ansible Core Team
|
||||||
name: jail
|
name: jail
|
||||||
short_description: Run tasks in jails
|
short_description: Run tasks in jails
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing jail
|
- Run commands or put/fetch files to an existing jail.
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
- Path to the jail
|
- Path to the jail.
|
||||||
type: string
|
type: string
|
||||||
default: inventory_hostname
|
default: inventory_hostname
|
||||||
vars:
|
vars:
|
||||||
|
@ -28,12 +28,12 @@ DOCUMENTATION = '''
|
||||||
- name: ansible_jail_host
|
- name: ansible_jail_host
|
||||||
remote_user:
|
remote_user:
|
||||||
description:
|
description:
|
||||||
- User to execute as inside the jail
|
- User to execute as inside the jail.
|
||||||
type: string
|
type: string
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_user
|
- name: ansible_user
|
||||||
- name: ansible_jail_user
|
- name: ansible_jail_user
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
|
|
|
@ -7,16 +7,16 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Joerg Thalheim (!UNKNOWN) <joerg@higgsboson.tk>
|
author: Joerg Thalheim (!UNKNOWN) <joerg@higgsboson.tk>
|
||||||
name: lxc
|
name: lxc
|
||||||
short_description: Run tasks in lxc containers via lxc python library
|
short_description: Run tasks in LXC containers using lxc python library
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing lxc container using lxc python library
|
- Run commands or put/fetch files to an existing LXC container using lxc python library.
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
- Container identifier
|
- Container identifier.
|
||||||
type: string
|
type: string
|
||||||
default: inventory_hostname
|
default: inventory_hostname
|
||||||
vars:
|
vars:
|
||||||
|
@ -26,12 +26,12 @@ DOCUMENTATION = '''
|
||||||
executable:
|
executable:
|
||||||
default: /bin/sh
|
default: /bin/sh
|
||||||
description:
|
description:
|
||||||
- Shell executable
|
- Shell executable.
|
||||||
type: string
|
type: string
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_executable
|
- name: ansible_executable
|
||||||
- name: ansible_lxc_executable
|
- name: ansible_lxc_executable
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
|
@ -7,18 +7,18 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Matt Clay (@mattclay) <matt@mystile.com>
|
author: Matt Clay (@mattclay) <matt@mystile.com>
|
||||||
name: lxd
|
name: lxd
|
||||||
short_description: Run tasks in LXD instances via C(lxc) CLI
|
short_description: Run tasks in LXD instances using C(lxc) CLI
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing instance using C(lxc) CLI.
|
- Run commands or put/fetch files to an existing instance using C(lxc) CLI.
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
- 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
|
||||||
is used as the instance identifier.
|
used as the instance identifier.
|
||||||
type: string
|
type: string
|
||||||
default: inventory_hostname
|
default: inventory_hostname
|
||||||
vars:
|
vars:
|
||||||
|
@ -48,7 +48,7 @@ DOCUMENTATION = '''
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_lxd_project
|
- name: ansible_lxd_project
|
||||||
version_added: 2.0.0
|
version_added: 2.0.0
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE
|
||||||
|
|
|
@ -12,13 +12,12 @@ from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
name: qubes
|
name: qubes
|
||||||
short_description: Interact with an existing QubesOS AppVM
|
short_description: Interact with an existing QubesOS AppVM
|
||||||
|
|
||||||
description:
|
description:
|
||||||
- Run commands or put/fetch files to an existing Qubes AppVM using qubes tools.
|
- Run commands or put/fetch files to an existing Qubes AppVM using qubes tools.
|
||||||
|
|
||||||
author: Kushal Das (@kushaldas)
|
author: Kushal Das (@kushaldas)
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +38,7 @@ DOCUMENTATION = '''
|
||||||
- name: ansible_user
|
- name: ansible_user
|
||||||
# keyword:
|
# keyword:
|
||||||
# - name: hosts
|
# - name: hosts
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Michael Scherer (@mscherer) <misc@zarb.org>
|
author: Michael Scherer (@mscherer) <misc@zarb.org>
|
||||||
name: saltstack
|
name: saltstack
|
||||||
short_description: Allow ansible to piggyback on salt minions
|
short_description: Allow ansible to piggyback on salt minions
|
||||||
description:
|
description:
|
||||||
- This allows you to use existing Saltstack infrastructure to connect to targets.
|
- This allows you to use existing Saltstack infrastructure to connect to targets.
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import base64
|
import base64
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r"""
|
||||||
author: Ansible Core Team
|
author: Ansible Core Team
|
||||||
name: zone
|
name: zone
|
||||||
short_description: Run tasks in a zone instance
|
short_description: Run tasks in a zone instance
|
||||||
|
@ -20,13 +20,13 @@ DOCUMENTATION = '''
|
||||||
options:
|
options:
|
||||||
remote_addr:
|
remote_addr:
|
||||||
description:
|
description:
|
||||||
- Zone identifier
|
- Zone identifier.
|
||||||
type: string
|
type: string
|
||||||
default: inventory_hostname
|
default: inventory_hostname
|
||||||
vars:
|
vars:
|
||||||
- name: ansible_host
|
- name: ansible_host
|
||||||
- name: ansible_zone_host
|
- name: ansible_zone_host
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
|
|
Loading…
Reference in New Issue