18 lines
421 B
YAML
18 lines
421 B
YAML
---
|
|
# Change (via direct database access) some settings from their 'Production'
|
|
# values
|
|
|
|
- name: Copy SQL script with new settings
|
|
template:
|
|
src: change-odoo-settings.sql.j2
|
|
dest: /home/odoo/change-odoo-settings.sql
|
|
mode: '0644'
|
|
|
|
- name: Run the update query on the database
|
|
become: true
|
|
become_user: postgres
|
|
postgresql_query:
|
|
db: agofer
|
|
path_to_script: /home/odoo/change-odoo-settings.sql
|
|
|