Skip to content

Commit

Permalink
Drop stale extension vardefs (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak authored May 6, 2024
1 parent 7d5b248 commit e93d4be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions defaults/main/conf.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
---
__postgresql_conf_dir: "/etc/postgresql/{{ postgresql_release }}/main"
__postgresql_conf_pgaudit: 10-pgaudit.conf
__postgresql_conf_pgcron: 20-pgcron.conf
__postgresql_conf_pgstat_statements: 30-pgstat_statements.conf
__postgresql_conf_local: 70-local.conf
__postgresql_conf_ansible: 90-ansible.conf
__postgresql_conf_exclude:
- "{{ __postgresql_conf_pgaudit }}"
- "{{ __postgresql_conf_pgcron }}"
- "{{ __postgresql_conf_pgstat_statements }}"
- "{{ __postgresql_conf_local }}"
- "{{ __postgresql_conf_ansible }}"
6 changes: 1 addition & 5 deletions defaults/main/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ __postgresql_os_search:
__postgresql_package_extra:
redhat:
- "python3-dnf-plugin-versionlock"
- "pgaudit_{{ postgresql_release }}"
- "pg_cron_{{ postgresql_release }}"
- "glibc-langpack-{{ postgresql_locale | regex_replace('_.*', '') }}"
debian:
- "postgresql-{{ postgresql_release }}-pgaudit"
- "postgresql-{{ postgresql_release }}-cron"
debian: []
__postgresql_package_server:
redhat:
- "postgresql{{ postgresql_release }}-server"
Expand Down
3 changes: 0 additions & 3 deletions tasks/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
_postgresql_conf_hba: "{{ _conf_confdir }}/{{ postgresql_conf_hba_file | default('pg_hba.conf') }}"
_postgresql_conf_socket: "{{ postgresql_conf_socketdir_manage | bool }}"
_postgresql_conf_ansible: "{{ _conf_include }}/{{ __postgresql_conf_ansible }}"
_postgresql_conf_pgaudit: "{{ _conf_include }}/{{ __postgresql_conf_pgaudit }}"
_postgresql_conf_pgcron: "{{ _conf_include }}/{{ __postgresql_conf_pgcron }}"
_postgresql_conf_pgstat_statements: "{{ _conf_include }}/{{ __postgresql_conf_pgstat_statements }}"
_postgresql_conf_local: "{{ _conf_include }}/{{ __postgresql_conf_local }}"
_postgresql_conf_exclude: "{{ __postgresql_conf_exclude }}"
_postgresql_conf_search: "{{ _conf_search }}"
Expand Down

0 comments on commit e93d4be

Please sign in to comment.