Use variable for gpg fingerprint
Using the fingerprint in the rpm_key module requires Ansible 2.9. Updated meta file to reflect this requirement.develop^2
parent
90167ae771
commit
0b9f100aa5
|
|
@ -16,7 +16,7 @@ galaxy_info:
|
||||||
# - CC-BY
|
# - CC-BY
|
||||||
license: GPLv3
|
license: GPLv3
|
||||||
|
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.9
|
||||||
|
|
||||||
# If this a Container Enabled role, provide the minimum Ansible Container version.
|
# If this a Container Enabled role, provide the minimum Ansible Container version.
|
||||||
# min_ansible_container_version:
|
# min_ansible_container_version:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
- name: Add ZeroTier PGP key
|
- name: Add ZeroTier PGP key
|
||||||
apt_key:
|
apt_key:
|
||||||
url: "{{ zerotier_gpg_url }}"
|
url: "{{ zerotier_gpg_url }}"
|
||||||
id: "0x74A5E9C458E1A431F1DA57A71657198823E52A61"
|
id: "{{ zerotier_gpg_fingerprint }}"
|
||||||
|
|
||||||
- name: Check if Ubuntu release has dedicated repo
|
- name: Check if Ubuntu release has dedicated repo
|
||||||
uri:
|
uri:
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
rpm_key:
|
rpm_key:
|
||||||
state: present
|
state: present
|
||||||
key: "{{ zerotier_gpg_url }}"
|
key: "{{ zerotier_gpg_url }}"
|
||||||
|
fingerprint: "{{ zerotier_gpg_fingerprint }}"
|
||||||
|
|
||||||
- name: Add ZeroTier repo for RHEL/CentOS
|
- name: Add ZeroTier repo for RHEL/CentOS
|
||||||
yum_repository:
|
yum_repository:
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,4 @@
|
||||||
zerotier_download_base_url: http://download.zerotier.com
|
zerotier_download_base_url: http://download.zerotier.com
|
||||||
zerotier_deb_release_repo: "{{ ansible_facts['distribution_release'] }}"
|
zerotier_deb_release_repo: "{{ ansible_facts['distribution_release'] }}"
|
||||||
zerotier_gpg_url: https://download.zerotier.com/contact@zerotier.com.gpg
|
zerotier_gpg_url: https://download.zerotier.com/contact@zerotier.com.gpg
|
||||||
|
zerotier_gpg_fingerprint: 74A5E9C458E1A431F1DA57A71657198823E52A61
|
||||||
Loading…
Reference in New Issue