Standardising key addition

Debian based repo’s now fetch keys in a similar manner to Redhat based
ones, and both stable and dev keys have entries in vars.
pull/145/head
Matthew Rees 2014-11-11 17:10:32 +02:00
parent cbe3af6727
commit b6fcd37bc0
3 changed files with 6 additions and 5 deletions

View File

@ -12,13 +12,13 @@
- name: Install the Ceph repository stable key
apt_key: >
data="{{ lookup('file', 'cephstable.asc') }}"
url={{ ceph_stable_key }}
state=present
when: ceph_stable
- name: Install the Ceph developement repository key
apt_key: >
data="{{ lookup('file', 'cephdev.asc') }}"
url={{ ceph_dev_key }}
state=present
when: ceph_dev

View File

@ -10,13 +10,13 @@
- name: Install the Ceph stable repository key
rpm_key: >
key={{ ceph_key }}
key={{ ceph_stable_key }}
state=present
when: ceph_stable
- name: Install the Ceph developement repository key
rpm_key: >
key={{ ceph_key }}
key={{ ceph_dev_key }}
state=present
when: ceph_dev

View File

@ -8,8 +8,8 @@
#fsid:
## Packages branch
ceph_key: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
ceph_stable: true # use ceph stable branch
ceph_stable_key: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
ceph_stable_release: giant # ceph stable release
# This option is needed for _both_ stable and dev version, so please always fill the right version
@ -17,6 +17,7 @@ ceph_stable_release: giant # ceph stable release
ceph_stable_redhat_distro: el7
ceph_dev: false # use ceph developement branch
ceph_dev_key: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
ceph_dev_branch: master # developement branch you would like to use e.g: master, wip-hack
# supported distros are centos6, centos7, fc17, fc18, fc19, fc20, fedora17, fedora18,
# fedora19, fedora20, opensuse12, sles0. (see http://gitbuilder.ceph.com/).