diff options
author | Kevin Fenzi <kevin@scrye.com> | 2016-04-13 18:22:49 +0000 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2016-04-13 18:22:49 +0000 |
commit | 0c983d9fd9b500cdc145b341c80a63d21036db06 (patch) | |
tree | bf3b33698ec2d876a6e27c1f62976e4943a4c4df | |
parent | f0d34369c55bae3feb7e633be7aad76a92b7e3ea (diff) | |
download | ansible-0c983d9fd9b500cdc145b341c80a63d21036db06.tar.gz ansible-0c983d9fd9b500cdc145b341c80a63d21036db06.tar.xz ansible-0c983d9fd9b500cdc145b341c80a63d21036db06.zip |
Fix the cron so it runs correctly.
-rw-r--r-- | roles/postgresql_server/files/koji-cleanup-locks.cron | 2 | ||||
-rw-r--r-- | roles/postgresql_server/tasks/main.yml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/postgresql_server/files/koji-cleanup-locks.cron b/roles/postgresql_server/files/koji-cleanup-locks.cron index a04008fd6..ea9a8d8de 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 1443365b9..7924ff5c8 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 |