jellyfin-service

Description

Install a Jellyfin streaming service.

Variables

Name Type Default Description

fqdns

n/a --

A list of fqdns of the host. Required

Code

doc:
  short_help: Install a Jellyfin streaming service.

args:
  fqdns:
    doc:
      short_help: A list of fqdns of the host.


frecklets:
- frecklet:
    name: hadrienpatte.jellyfin
    type: ansible-role
    properties:
      internet: true
      elevated: true
      idempotent: true
    desc:
      short: install Jellyfin service
    resources:
      ansible-role:
      - hadrienpatte.self_signed_certificate
  task:
    become: true
    include_type: import
  vars:
    jellyfin_FQDN: '{{:: fqdns ::}}'
frecklecute --community jellyfin-service --help

Usage: frecklecute jellyfin-service [OPTIONS]

  Install a Jellyfin streaming service.

Options:
  --fqdns FQDNS  A list of fqdns of the host.  [required]
  --help         Show this message and exit.
# -*- coding: utf-8 -*-


#
# module path: pycklets.jellyfin_service.JellyfinService
#


from dataclasses import dataclass
from pyckles import AutoPycklet
from typing import *    # noqa

@dataclass
class JellyfinService(AutoPycklet):
    """Install a Jellyfin streaming service.

       Args:
         fqdns: A list of fqdns of the host.

    """

    FRECKLET_ID = "jellyfin-service"

    fqdns: str = None


    def __post_init__(self):
        super(JellyfinService, self).__init__(var_names=["fqdns"])


frecklet_class = JellyfinService
# -*- coding: utf-8 -*-


#
# module path: pycklets.jellyfin_service.JellyfinService
#


from pyckles import AutoPycklet

class JellyfinService(AutoPycklet):
    """Install a Jellyfin streaming service.

       Args:
         fqdns: A list of fqdns of the host.

    """

    FRECKLET_ID = "jellyfin-service"

    def __init__(self, fqdns=None):

        super(JellyfinService, self).__init__(var_names=["fqdns"])
        self._fqdns = fqdns

    @property
    def fqdns(self):
        return self._fqdns

    @fqdns.setter
    def fqdns(self, fqdns):
        self._fqdns = fqdns



frecklet_class = JellyfinService