File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 22- name : Import repository
33 shell : |
44 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
5+ sudo curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
6+ sudo source /etc/os-release
7+ sudo 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
88 ignore_errors : yes
99
1010# install couchdb
1111- name : Install CouchDB
1212 shell : |
13- echo "couchdb couchdb/mode select none" | debconf-set-selections
14- apt update
15- DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes couchdb
13+ sudo echo "couchdb couchdb/mode select none" | debconf-set-selections
14+ sudo apt update
15+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes couchdb
1616 ignore_errors : yes
1717
1818# configure couchdb
1919- name : Configure couchdb
2020 shell : |
21- sed -i "s/^;admin.=.*/admin = {{couchdb_admin_password}}/g" /opt/couchdb/etc/local.ini
22- systemctl restart couchdb
21+ sudo sed -i "s/^;admin.=.*/admin = {{couchdb_admin_password}}/g" /opt/couchdb/etc/local.ini
22+ sudo systemctl restart couchdb
2323 ignore_errors : yes
You can’t perform that action at this time.
0 commit comments