Add repo GPG key management to Ansible

This commit is contained in:
Scott Wallace 2019-02-22 20:45:18 +00:00
parent f3c9d8f1f3
commit 65df285ef3
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,13 @@
- name: Apt public GPG keys
tags:
- install
- repos
apt_key:
state: present
url: "{{ item }}"
loop: "{{ linux_repos_keys }}"
become: true
- name: Adding repositories - name: Adding repositories
tags: tags:
- install - install

View file

@ -10,6 +10,13 @@ linux_repos:
- 'deb http://prerelease.keybase.io/deb stable main' # Keybase - 'deb http://prerelease.keybase.io/deb stable main' # Keybase
- 'deb https://apt.enpass.io/ stable main' # Enpass - 'deb https://apt.enpass.io/ stable main' # Enpass
linux_repos_keys:
- 'https://packages.microsoft.com/keys/microsoft.asc' # Visual Studio Code
- 'https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_18.10/Release.key' # Albert
- 'http://linux-packages.resilio.com/resilio-sync/key.asc' # Resilio Sync
- 'https://keybase.io/docs/server_security/code_signing_key.asc' # Keybase
- 'https://apt.enpass.io/keys/enpass-linux.key' # Enpass
linux_packages: linux_packages:
- albert - albert
- chrome-gnome-shell - chrome-gnome-shell