Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified afyatek deployment changes. #114

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.idea
.sql*
inventories
*~
2 changes: 2 additions & 0 deletions roles/openmrs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ openmrs_mysql_host: "localhost"
openmrs_mysql_app_host: "localhost"
openmrs_mysql_port: 3306
mysql_root_password: "root"
openmrs_mysql_root_user: "root"
openmrs_mysql_root_password: ""
openmrs_mysql_password: "openmrs"
openmrs_dumps_gzipped: true
openmrs_modules: []
Expand Down
16 changes: 16 additions & 0 deletions roles/opensrp/tasks/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@
tags:
- postgresql

- name: Create tablespace location for core, error, schedule, feed and form
Copy link
Contributor

@jasonrogena jasonrogena Sep 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gosso22 There's an issue on tablespace support. We think you should migrate this to the PostgreSQL role you use.
#88

become: yes
become_user: root
file:
path: "{{ item }}"
state: directory
owner: postgres
group: postgres
mode: '0777'
with_items:
- '/opt/postgres/core'
- '/opt/postgres/error'
- '/opt/postgres/schedule'
- '/opt/postgres/feed'
- '/opt/postgres/form'

- name: Make sure the Mybatis installation dir exists
become: yes
become_user: "root"
Expand Down