Skip to content

Commit a036302

Browse files
committed
add new
1 parent 1f5267b commit a036302

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

roles/couchdb/tasks/RedHat.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
<<<<<<< HEAD
2-
=======
31
# import repo
4-
- name: Add CouchDB repositories when os=cenos
2+
- name: Add CouchDB repositories
53
shell: |
64
yum install -y yum-utils
75
yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
6+
7+
- name: Change distribution release of the couchdb repo
8+
shell: |
9+
sed -i '3s/el$releasever/el7/g' /etc/yum.repos.d/couchdb.repo
10+
when: ansible_distribution != "CentOS"
11+
12+
- name: Install CouchDB
13+
shell: |
814
yum install -y couchdb
9-
>>>>>>> main

0 commit comments

Comments
 (0)