Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Install access to an Aptly repository

License

Notifications You must be signed in to change notification settings

stuvusIT/ansible_aptly_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aptly-client

This role configures a GPG key and a repository. The key is expected to reside on a central host.

Requirements

Debian

Role Variables

Name Default / Mandatory Description
global_cache_dir ✔️ Path on the control machine where the key is cached
aptly_client_aptly_host ✔️ Host from which to get the APT key
aptly_client_key_source /var/lib/aptly/aptly.asc GPG key location on the Aptly host
aptly_client_key_destination /usr/share/aptly.asc Location on the target machine to copy the key to
aptly_client_repo ✔️ Repository to add to the client

Example Playbook

- hosts: slaves
  roles:
    - role: all
      global_cache_dir: "{{ lookup('env', 'HOME') }}/.cache/stuvus"
      aptly_client_aptly_host: aptly01
      aptly_client_repo: http://aptly.local/apt

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Author Information

Releases

No releases published

Packages

No packages published