diff --git a/roles/postgresql_server/files/koji-cleanup-locks.cron b/roles/postgresql_server/files/koji-cleanup-locks.cron index a04008fd63..ea9a8d8de7 100644 --- a/roles/postgresql_server/files/koji-cleanup-locks.cron +++ b/roles/postgresql_server/files/koji-cleanup-locks.cron @@ -3,4 +3,4 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root@fedoraproject.org HOME=/ -*/10 * * * * postgres kill_idle_xact_92.sh +*/10 * * * * postgres /usr/local/bin/kill_idle_xact_92.sh diff --git a/roles/postgresql_server/tasks/main.yml b/roles/postgresql_server/tasks/main.yml index 1443365b96..7924ff5c8d 100644 --- a/roles/postgresql_server/tasks/main.yml +++ b/roles/postgresql_server/tasks/main.yml @@ -93,6 +93,7 @@ copy: > src=kill_idle_xact_92.sh dest=/usr/local/bin/kill_idle_xact_92.sh + mode=0755 when: inventory_hostname.startswith('db-koji01') tags: - cron