This role configures a GPG key and a repository. The key is expected to reside on a central host.
Debian
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 |
- 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
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.