Skip to content

Commit

Permalink
replace handler by immediate postgresql restart
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmeele committed Jan 20, 2025
1 parent a014bce commit 6a03b23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 0 additions & 5 deletions playbooks/roles/irods_server/handlers/main.yml

This file was deleted.

7 changes: 5 additions & 2 deletions playbooks/roles/irods_server/tasks/icat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
dest: "/var/lib/pgsql/data/pg_hba.conf"
regexp: 'host\s+all\s+all\s+127.0.0.1/32'
line: 'host all all 127.0.0.1/32 md5'
notify: Restart PostgreSQL
when: ansible_pkg_mgr == 'dnf'


Check failure on line 25 in playbooks/roles/irods_server/tasks/icat.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
Expand All @@ -29,5 +28,9 @@
dest: "/var/lib/pgsql/data/pg_hba.conf"
regexp: 'host\s+all\s+all\s+::1/128'
line: 'host all all ::1/128 md5'
notify: Restart PostgreSQL
when: ansible_pkg_mgr == 'dnf'

- name: Restart PostgreSQL to implement changed access methods
ansible.builtin.service:
name: postgresql
state: restarted

0 comments on commit 6a03b23

Please sign in to comment.