File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 1- # import repo
2- # - name: Add CouchDB repositories when os=cenos
3- # yum_repository:
4- # name: bintray-apache-couchdb-rpm
5- # file: bintray-apache-couchdb-rpm
6- # description: CouchDB RPM Repository
7- # baseurl: http://apache.bintray.com/couchdb-rpm/el$releasever/$basearch/
8- # gpgcheck: no
9- # enabled: yes
10- # when: ansible_distribution == "CentOS"
11-
12- # - name: Add CouchDB repositories when os=other
13- # yum_repository:
14- # name: bintray-apache-couchdb-rpm
15- # file: bintray-apache-couchdb-rpm
16- # description: CouchDB RPM Repository
17- # baseurl: http://apache.bintray.com/couchdb-rpm/el{{ansible_distribution_major_version}}/$basearch/
18- # gpgcheck: no
19- # enabled: yes
20- # when: ansible_distribution != "CentOS"
21-
22- # configure yum before install couchdb
23- - name : Configure yum
24- shell : |
25- sudo yum install -y yum-utils
26- sudo yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
27-
28- # install couchdb
29- - name : Install CouchDB
30- yum :
31- name : couchdb
32- update_cache : yes
33-
You can’t perform that action at this time.
0 commit comments