mirror of https://github.com/ceph/ceph-ansible.git
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
parent
cbe3af6727
commit
b6fcd37bc0
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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/).
|
||||
|
|
Loading…
Reference in New Issue