manala.aptly
#######################################################################################################
:exclamation: ABLEHNUNG :exclamation:
Dieses Repository und die zugehörige Rolle wurden zugunsten der Manala Ansible Collection eingestellt.
Informationen zur Nutzung finden Sie im Sammlungsrepository.
#######################################################################################################
Ansible Rolle: Aptly 
:exclamation: Probleme melden und Pull Requests senden im Hauptrepository für Ansible Rollen :exclamation:
Diese Rolle kümmert sich um die Einrichtung von Aptly.
Sie ist Teil des Manala Ansible Stacks, kann aber auch als eigenständige Komponente verwendet werden.
Anforderungen
Keine.
Abhängigkeiten
Keine.
Installation
Ansible 2+
Verwendung des ansible galaxy CLI:
ansible-galaxy install manala.aptly
Verwendung einer Ansible Galaxy-Anforderungsdatei:
- src: manala.aptly
Rollen-Handler
Keine.
Rollenvariablen
Definition
Name | Standard | Typ | Beschreibung |
---|---|---|---|
manala_aptly_install_packages |
~ | Array | Abhängigkeitspakete zu installieren |
manala_aptly_install_packages_default |
['bzip2', 'aptly'] | Array | Standard-Abhängigkeitspakete zu installieren |
manala_aptly_user |
~ | String | Benutzer |
manala_aptly_config_file |
'/etc/aptly.conf' | String | Pfad zur Konfigurationsdatei |
manala_aptly_config_template |
~ | String | Pfad zur Konfigurationstemplate |
manala_aptly_config |
~ | Array/String | Konfiguration |
manala_aptly_repositories |
[] | Array | Sammlung von Repositories |
Konfigurationsbeispiel
Benutzer:
manala_aptly_user: aptly
Template verwenden:
manala_aptly_config_template: my/aptly.conf.j2
manala_aptly_config:
foo: bar
Dictionärparameter verwenden:
manala_aptly_config:
rootDir: /tmp/aptly
architectures:
- amd64
Rohkonfiguration verwenden:
manala_aptly_config: |
{
"rootDir": "/tmp/aptly",
"architectures": [
"amd64"
]
}
Parameter des Dictionärs-Arrays verwenden (veraltet):
manala_aptly_config:
- rootDir: /tmp/aptly
- architectures:
- amd64
Repositories:
manala_aptly_repositories:
- name: stretch
comment: Stretch
component: main
distribution: stretch
origin: Foo
label: Bar
- name: buster
comment: Buster
component: main
distribution: buster
origin: Foo
label: Bar
# Repository ignorieren
- name: ignore
state: ignore
# Repositories flach machen
- "{{ my_custom_repositories_array }}"
Beispiel-Playbook
- hosts: servers
roles:
- role: manala.aptly
Lizenz
MIT
Autoreninformationen
Manala (http://www.manala.io/)
ansible-galaxy install manala.aptly