Skip to content

Commit 5bd5b3a

Browse files
authored
Update Debian.yml
1 parent 8bebe3a commit 5bd5b3a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

roles/couchdb/tasks/Debian.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
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
16
# install couchdb
27
- name: Install CouchDB
38
shell: |
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
9+
echo "couchdb couchdb/mode select none" | debconf-set-selections
810
apt update
9-
apt install -y couchdb
10-
11+
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes couchdb
1112
1213
1314

0 commit comments

Comments
 (0)