Skip to content

Commit a82fa19

Browse files
committed
Fix: change test version to galaxyproject.postgresql
Signed-off-by: Mahdi Fooladgar (professormahi) <professormahi_f@yahoo.com>
1 parent d5a7da8 commit a82fa19

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

molecule/postgres_hardening/prepare.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@
1111
package:
1212
name: "python3-apt"
1313
update_cache: true
14-
ignore_errors: true # noqa ignore-errors
14+
ignore_errors: true # noqa ignore-errors
15+
16+
- include_role:
17+
name: galaxyproject.postgresql
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
---
22
roles:
3-
- geerlingguy.postgresql
3+
- galaxyproject.postgresql
4+

roles/postgres_hardening/tasks/hardening.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,3 @@
2121
when: not lookup('varnames', '^' + item.key + '$')
2222
with_dict: "{{ os_vars }}"
2323
tags: always
24-
25-
- name: Get postgres
26-
ansible.builtin.command: psql -V
27-
register: postgres_version_raw
28-
changed_when: false
29-
check_mode: false
30-
31-
- name: Parse postgres-version
32-
ansible.builtin.set_fact:
33-
postgres_version: "{{ postgres_version_raw.stderr | regex_replace('^psql\\s\\(PostgreSQL)\\s(9.[3-6]|10.5).*', '\\2') }}"

0 commit comments

Comments
 (0)