File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 44 yum install -y yum-utils
55 yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
66 yum install -y couchdb
7- when : ansible_distribution == "CentOS"
8-
9- - name : Add CouchDB repositories when os=other
10- shell : |
11- sudo apt update && sudo apt install -y curl apt-transport-https gnupg
12- curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
13- source /etc/os-release
14- echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null
15- apt update
16- apt install -y couchdb
17- when : ansible_distribution != "CentOS"
18-
19- # install couchdb
20- - name : Install CouchDB
21- yum :
22- name : couchdb
23- update_cache : yes
24-
You can’t perform that action at this time.
0 commit comments