Skip to content

Commit f8564bc

Browse files
authored
Update Debian.yml
1 parent f592b5e commit f8564bc

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 @@
1-
# pre-installation
2-
- name: Import repository
3-
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-
71
# install couchdb
82
- name: Install CouchDB
93
shell: |
10-
echo "couchdb couchdb/mode select none" | debconf-set-selections
4+
sudo apt update && sudo 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)