Skip to content

Commit 6c3ac5b

Browse files
authored
Update Debian.yml
1 parent 65dd23b commit 6c3ac5b

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

roles/couchdb/tasks/Debian.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# pre-installation
22
- name: Import repository
33
shell: |
4-
curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | apt-key add -
5-
echo "deb https://apache.bintray.com/couchdb-deb bionic main" | tee -a /etc/apt/sources.list
6-
7-
# install couchdb
8-
- name: Install CouchDB
9-
shell: |
10-
echo "couchdb couchdb/mode select none" | debconf-set-selections
4+
apt install -y curl apt-transport-https gnupg
5+
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
6+
source /etc/os-release
7+
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
118
apt update
12-
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes couchdb
9+
apt install -y couchdb
1310
1411
1512

0 commit comments

Comments
 (0)