diff --git a/README.md b/README.md index 1456b68..385996b 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Supported Repositories name | provides ------------------------------------------------------------------------------|----------------------------------------------- [`couchbase`](http://www.couchbase.com/) | `couchbase` +[`ceph`](http://ceph.com/) | `ceph` [`elasticsearch`](https://www.elastic.co/products/elasticsearch) | `elasticsearch-2.x` [`endpoint`](https://packages.endpoint.com/) | `endpoint` [`epel`](https://fedoraproject.org/wiki/EPEL) | `epel` @@ -97,6 +98,7 @@ become available. name | provides ------------------------------------------------------------------------------|----------------------------------------------- [`couchbase`](http://www.couchbase.com/) | `couchbase` +[`ceph`](http://ceph.com/) | `ceph` [`docker`](https://www.docker.com/) | `dockerrepo` [`elasticsearch`](https://www.elastic.co/products/elasticsearch) | `elasticsearch-2.x` [`endpoint`](https://packages.endpoint.com/) | `endpoint` diff --git a/templates/centos6/ceph.repo.j2 b/templates/centos6/ceph.repo.j2 new file mode 100644 index 0000000..05b7026 --- /dev/null +++ b/templates/centos6/ceph.repo.j2 @@ -0,0 +1,27 @@ +[ceph] +name=Ceph packages for $basearch +baseurl=https://download.ceph.com/rpm-kraken/el6/$basearch +enabled=1 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + +[ceph-noarch] +name=Ceph noarch packages +baseurl=https://download.ceph.com/rpm-kraken/el6/noarch +enabled=1 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + +[ceph-source] +name=Ceph source packages +baseurl=https://download.ceph.com/rpm-kraken/el6/SRPMS +enabled=0 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + diff --git a/templates/centos7/ceph.repo.j2 b/templates/centos7/ceph.repo.j2 new file mode 100644 index 0000000..c2ece6c --- /dev/null +++ b/templates/centos7/ceph.repo.j2 @@ -0,0 +1,27 @@ +[ceph] +name=Ceph packages for $basearch +baseurl=https://download.ceph.com/rpm-kraken/el7/$basearch +enabled=1 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + +[ceph-noarch] +name=Ceph noarch packages +baseurl=https://download.ceph.com/rpm-kraken/el7/noarch +enabled=1 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + +[ceph-source] +name=Ceph source packages +baseurl=https://download.ceph.com/rpm-kraken/el7/SRPMS +enabled=0 +priority=2 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc +enabled={{item['enabled']|default(0)}} + diff --git a/vars/main.yml b/vars/main.yml index 2e250e6..8b714ca 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -6,6 +6,11 @@ repository_list: jessie: url: "http://ftp.jp.debian.org/debian" pool: "{{ ansible_distribution_release }}-backports main" + ceph: + centos6: + repo: ceph.repo + centos7: + repo: ceph.repo couchbase: centos6: repo: couchbase.repo