diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f72096544..00ded0a64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/bin/requirements.yml b/bin/requirements.yml index 6d2150426..023c94b0c 100644 --- a/bin/requirements.yml +++ b/bin/requirements.yml @@ -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 @@ -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 diff --git a/roles/dbserver/tasks/postgresql.yml b/roles/dbserver/tasks/postgresql.yml index 09652545c..225033c52 100644 --- a/roles/dbserver/tasks/postgresql.yml +++ b/roles/dbserver/tasks/postgresql.yml @@ -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 }}"