mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
832dd55144
* sanity: Add future boilerplate Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Module Utils Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Scripts Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * sanity: Add future boilerplate * Tests Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * CI failure Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
57 lines
1.4 KiB
Python
57 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright: (c) 2017, Ansible Project
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt
|
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
# Documentation fragment for ProxySQL connectivity
|
|
CONNECTIVITY = r'''
|
|
options:
|
|
login_user:
|
|
description:
|
|
- The username used to authenticate to ProxySQL admin interface.
|
|
type: str
|
|
login_password:
|
|
description:
|
|
- The password used to authenticate to ProxySQL admin interface.
|
|
type: str
|
|
login_host:
|
|
description:
|
|
- The host used to connect to ProxySQL admin interface.
|
|
type: str
|
|
default: '127.0.0.1'
|
|
login_port:
|
|
description:
|
|
- The port used to connect to ProxySQL admin interface.
|
|
type: int
|
|
default: 6032
|
|
config_file:
|
|
description:
|
|
- Specify a config file from which I(login_user) and I(login_password)
|
|
are to be read.
|
|
type: path
|
|
default: ''
|
|
requirements:
|
|
- PyMySQL (Python 2.7 and Python 3.X), or
|
|
- MySQLdb (Python 2.x)
|
|
'''
|
|
|
|
# Documentation fragment for managing ProxySQL configuration
|
|
MANAGING_CONFIG = r'''
|
|
options:
|
|
save_to_disk:
|
|
description:
|
|
- Save config to sqlite db on disk to persist the configuration.
|
|
type: bool
|
|
default: 'yes'
|
|
load_to_runtime:
|
|
description:
|
|
- Dynamically load config to runtime memory.
|
|
type: bool
|
|
default: 'yes'
|
|
'''
|