ODCS: use the same user/group on every machine.
This commit is contained in:
parent
ebb4449e99
commit
14417c5f18
7 changed files with 49 additions and 58 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue