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

Fix CI build on Github Actions #903

Merged
merged 4 commits into from
Oct 9, 2023
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ jobs:
${{ runner.os }}-ruby-
${{ runner.os }}-

- name: Uninstall conflicting packages
run: sudo apt remove nginx libgd3

- name: Test Playbooks
run: ansible-playbook tests/suite.yml --limit test --connection local
4 changes: 2 additions & 2 deletions bin/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version: 3.4.2

- src: jdauphant.nginx
version: v2.8.1
version: v2.21.2

- src: coopdevs.certbot_nginx
version: v0.3.0
Expand All @@ -15,7 +15,7 @@
version: v2.0.14

- src: geerlingguy.postgresql
version: 3.4.0
version: 3.5.0

- src: libre-ops.multi_redis
version: 1.0.1
Expand Down
9 changes: 9 additions & 0 deletions roles/dbserver/tasks/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@
login_password: "{{ db_password }}"
lc_collate: "{{ postgres_encoding }}"
lc_ctype: "{{ postgres_encoding }}"

- include_role:
name: geerlingguy.postgresql
tasks_from: users_props
vars:
postgresql_user: postgres
postgresql_users:
- name: "{{ db_user }}"
role_attr_flags: "{{ db_user_roles }}"