Skip to content

Commit 8bebe3a

Browse files
authored
Update RedHat.yml
1 parent f8564bc commit 8bebe3a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

roles/couchdb/tasks/RedHat.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,3 @@
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-

0 commit comments

Comments
 (0)