community / community.lbry / 0.1.1 / module / lbry_account Manage LBRY accounts. | "added in version" 1.0.0 of community.lbry" Authors: Rhys Campbell (@rhysmeister)community.lbry.lbry_account (0.1.1) — module
Install with ansible-galaxy collection install community.lbry:==0.1.1
collections: - name: community.lbry version: 0.1.1
Manage LBRY accounts.
Add and remove accounts.
- name: Create an account community.lbry.lbry_account: name: rhys state: present
- name: Remove an account community.lbry.lbry_account: name: rhys state: absent
host: aliases: - login_host default: 127.0.0.1 description: - The LBRY SDK Server Hostname. type: str name: description: - The name of the account required: true 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 default: present description: - The desired state of the account. type: str protocol: default: http description: - The LBRY SDK Server Protocol. type: str wallet_id: description: - Restrict operation to specific wallet. type: str single_key: default: false description: - Create single key account. type: bool
account_details: description: Details of the account as returned by the account action. returned: when account_details module parameter is true sample: "{\"address_generator\": {\"change\": {\"gap\": 6, \"maximum_uses_per_address\"\ : 1}, \"name\": \"deterministic-chain\",\n \"receiving\": {\"gap\": 20, \"maximum_uses_per_address\"\ : 1}}, \"encrypted\": false, \"id\": \"bMPwucZGFEjFqTk7EcSVyzEyCCp6Vif9yf\",\n\ \ \"is_default\": false, \"ledger\": \"lbc_mainnet\", \"modified_on\": 1632675624,\ \ \"name\": \"rhys\", \"private_key\": \"myprivatekey\",\n \"public_key\": \"\ mypublickey\", \"seed\": \"shadow reject anchor chief stove sick fitness address\ \ hen pave give claw\"}\n" type: dict msg: description: A brief description of what happened. returned: always sample: Account created type: str