Add playbook and roles for Audio Pi

This commit is contained in:
yuri 2022-12-18 04:36:53 +01:00
commit 96ac8de142
No known key found for this signature in database
GPG key ID: E646779AC54AEC64
21 changed files with 516 additions and 2 deletions

View file

@ -9,11 +9,11 @@ argument_specs:
type: bool
add_apt_repository__keyring_url:
description: URL to the repository's keyring
required: true
required: false
type: str
add_apt_repository__keyring_path:
description: Path where to store the keyring
required: true
required: false
type: str
add_apt_repository__repo:
description: The apt source line

View file

@ -13,6 +13,7 @@
name: apt-transport-https
when: add_apt_repository__https_repo
- name: Add repository signing key to keychain
when: add_apt_repository__keyring_url is defined and add_apt_repository__keyring_path is defined
ansible.builtin.apt_key:
url: "{{ add_apt_repository__keyring_url }}"
keyring: "{{ add_apt_repository__keyring_path }}"
@ -21,3 +22,4 @@
ansible.builtin.apt_repository:
repo: "{{ add_apt_repository__repo }}"
filename: "{{ add_apt_repository__filename }}"
update_cache: true