community.lbry.lbry_wallet (0.1.1) — module

Manage LBRY Wallets.

| "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

Manage LBRY Wallets.

Create and delete LBRY Wallets.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a new wallet
  community.lbry.lbry_wallet:
    wallet_id: mywallet
    state: present
  register: result

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:
    - Show additional debug output.
    type: bool

state:
    choices:
    - present
    - absent
    - locked
    - unlocked
    - encrypted
    - decrypted
    - loaded
    - unloaded
    default: present
    description:
    - State of the wallet
    type: str

password:
    description:
    - Password for encryping or decrypting wallets.
    type: str

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

wallet_id:
    aliases:
    - name
    default: default_wallet
    description:
    - wallet file name
    type: str

single_key:
    description:
    - used with create_account, creates single-key account
    type: bool

create_account:
    description:
    - generates the default account
    type: bool

skip_on_startup:
    description:
    - don't add wallet to daemon_settings.yml
    type: bool

Outputs

msg:
  description: A brief description of what happened.
  returned: always
  sample: Wallet created
  type: str