Skip to content

Commit 619ece8

Browse files
committed
Configure the become_user.
1 parent 47d7094 commit 619ece8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/roles/couchdb/tasks/deploy.yml

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
path: "{{ db_confdir }}"
6060
state: directory
6161
become: "{{ db.dir.become }}"
62+
become_user: couchdb
6263
when: db_confdir is defined
6364

6465
- name: synchronize default configuration files from local to remote in CouchDB config directory
@@ -68,6 +69,7 @@
6869
delete: yes
6970
recursive: yes
7071
become: "{{ db.dir.become }}"
72+
become_user: couchdb
7173
when: db_confdir is defined
7274

7375
- name: "(re)start CouchDB from '{{ couchdb_image }} ' "

0 commit comments

Comments
 (0)