community.lbry.lbry_settings (0.1.1) — module

Get and set lbry daemon settings.

| "added in version" 1.0.0 of community.lbry"

Authors: Rhys Campbell (@rhysmeister)

Install collection

Install with ansible-galaxy collection install community.lbry:==0.1.1


Add to requirements.yml

  collections:
    - name: community.lbry
      version: 0.1.1

Description

Get and set lbry daemon settings.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set peer_connect_timeout to 5.0
  community.lbry.lbry_settings:
    parameter: peer_connect_timeout
    value: 5.0
    parameter_type: float
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set use_upnp to false
  community.lbry.lbry_settings:
    parameter: use_upnp
    value: false
    type: bool
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set wallet_dir
  community.lbry.lbry_settings:
    parameter: wallet_dir
    value: "/tmp/tmpd_du30j6"

Inputs

    
host:
    aliases:
    - login_host
    default: 127.0.0.1
    description:
    - The LBRY SDK Server Hostname.
    type: str

port:
    aliases:
    - login_port
    default: 5279
    description:
    - The LBRY SDK Server Port.
    type: int

debug:
    default: false
    description:
    - Enable additional debug output.
    type: bool

value:
    description:
    - The parameter setting.
    required: true
    type: raw

protocol:
    default: http
    description:
    - The LBRY SDK Server Protocol.
    type: str

parameter:
    aliases:
    - param
    description:
    - The LBRY Daemon Parameter to set.
    required: true
    type: str

parameter_type:
    aliases:
    - type
    choices:
    - str
    - int
    - float
    - bool
    default: str
    description:
    - The type of the parameter.
    type: str