ODCS: use the same user/group on every machine.

This commit is contained in:
Jan Kaluža 2020-03-18 10:41:56 +00:00 committed by Pierre-Yves Chibon
parent ebb4449e99
commit 14417c5f18
7 changed files with 49 additions and 58 deletions

View file

@ -35,9 +35,9 @@
tags:
- odcs
- odcs/backend
- name: add the odcs user to the apache group
- name: add the odcs-server user to the apache group
user:
name: odcs
name: odcs-server
group: apache
groups: apache
append: true
@ -51,7 +51,7 @@
with_items:
- odcs-manager upgradedb
become: yes
become_user: odcs
become_user: odcs-server
when: odcs_migrate_db
notify:
- restart odcs-celery-backend