community.lbry.lbry_channel (0.1.1) — module

Manage LBRY channels.

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

Add and update channels.

Abandon channels.

Channels are abandond by retreiving the claim_id from the matched channel name.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a channel
  community.lbry.lbry_channel:
    name: rhys
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Abandon a channel
  community.lbry.lbry_channnel:
    name: rhys
    state: absent
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a channel
  community.lbry.lbry_channnel:
    name: koolchannel
    title: "My Kool Channel"
    email: myemail@secret.com
    languages:
      - EN
      - DE
      - FR
    tags:
      - videos
      - news
      - funny

Inputs

    
bid:
    description:
    - amount to back the claim.
    type: str

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

name:
    aliases:
    - channel_name
    description:
    - The name of the channel.
    required: true
    type: str

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

tags:
    description:
    - content tags.
    elements: str
    type: list

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

email:
    description:
    - Email address of the channel owner.
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - The desired state of the channel.
    type: str

title:
    description:
    - title of the publication.
    type: str

featured:
    description:
    - claim_ids of featured content in channel.
    elements: str
    type: list

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

cover_url:
    description:
    - cover url of image.
    type: str

languages:
    description:
    - languages used by the channel, using RFC 5646 format.
    elements: str
    type: list

locations:
    description:
    - locations of the channel-
    - Consisting of 2 letter `country` code and a `state`, `city` and a postal `code`
      along with a `latitude` and `longitude`.
    elements: dict
    type: list

wallet_id:
    default: default_wallet
    description:
    - Restrict operation to specific wallet.
    type: str

account_id:
    description:
    - account to use for holding the transaction
    type: str

description:
    description:
    - description of the publication.
    type: str

website_url:
    description:
    - website url.
    type: str

thumbnail_url:
    description:
    - thumbnail url
    type: str

funding_account_ids:
    description:
    - ids of accounts to fund this transaction
    elements: str
    type: list

Outputs

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