remote-apt-key-added
Description
Ensures a repository signing key is added to the system.
Resources
Variables
Name | Type | Default | Description |
---|---|---|---|
|
string | -- | The URL to retrieve key from. Required |
Code
doc: short_help: Ensures a repository signing key is added to the system. references: "'apt_key' Ansible module documentation": https://docs.ansible.com/ansible/latest/modules/apt_key_module.html args: url: doc: short_help: The URL to retrieve key from. type: string required: true frecklets: - frecklet: name: apt_key type: ansible-module properties: idempotent: true internet: true elevated: true task: become: true vars: url: '{{:: url ::}}' state: present
frecklecute remote-apt-key-added --help Usage: frecklecute remote-apt-key-added [OPTIONS] Ensures a repository signing key is added to the system. Options: --url URL The URL to retrieve key from. [required] --help Show this message and exit.
# -*- coding: utf-8 -*- # # module path: pycklets.remote_apt_key_added.RemoteAptKeyAdded # from dataclasses import dataclass from pyckles import AutoPycklet from typing import * # noqa @dataclass class RemoteAptKeyAdded(AutoPycklet): """Ensures a repository signing key is added to the system. Args: url: The URL to retrieve key from. """ FRECKLET_ID = "remote-apt-key-added" url: str = None def __post_init__(self): super(RemoteAptKeyAdded, self).__init__(var_names=["url"]) frecklet_class = RemoteAptKeyAdded
# -*- coding: utf-8 -*- # # module path: pycklets.remote_apt_key_added.RemoteAptKeyAdded # from pyckles import AutoPycklet class RemoteAptKeyAdded(AutoPycklet): """Ensures a repository signing key is added to the system. Args: url: The URL to retrieve key from. """ FRECKLET_ID = "remote-apt-key-added" def __init__(self, url=None): super(RemoteAptKeyAdded, self).__init__(var_names=["url"]) self._url = url @property def url(self): return self._url @url.setter def url(self, url): self._url = url frecklet_class = RemoteAptKeyAdded