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

Set value for effective cache size and use PR #41 for ome.postgresql #424

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
- name: Install Ansible & Molecule
# TODO: review upgrade to Molecule 5.x
run: pip install "ansible<8" ansible-lint flake8 \
"molecule<5" "ansible-compat<4" molecule-plugins[docker] pytest-testinfra
"molecule<5" "requests < 2.32.0" "ansible-compat<4" molecule-plugins[docker] pytest-testinfra
- name: Run Molecule
run: cd ansible && molecule test -s "${{ matrix.scenario }}"
1 change: 1 addition & 0 deletions ansible/group_vars/database-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ postgresql_install_extensions: True

postgresql_server_conf:
shared_buffers: "{{ (ansible_memtotal_mb / 4) | int }}MB"
effective_cache_size: "{{ (ansible_memtotal_mb * 0.75 ) | int }}MB"
5 changes: 3 additions & 2 deletions ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@
- name: ome.openstack_volume_storage
version: 2.0.0

- src: ome.postgresql
version: 5.4.0
- name: ome.postgresql
src: https://github.com/khaledk2/ansible-role-postgresql
version: using_the_orginal_postgres_config_file

- name: ome.postgresql_client
version: 0.4.3
Expand Down
Loading