Make directory for fedwatch systemd config extension

This commit is contained in:
Ralph Bean 2017-08-18 13:53:12 +00:00
parent 2a9ea19315
commit 7f4b56891f

View file

@ -172,6 +172,13 @@
- bodhi
- cron
- name: Make directory for fedwatch systemd config extension
copy: path=/usr/lib/systemd/system/fedwatch.service.d/ state=directory
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"
tags:
- bodhi
- fedwatch
- name: extend the fedwatch systemd configuration to restart on failure
copy: src=fedwatch.service dest=/usr/lib/systemd/system/fedwatch.service.d/fedwatch.conf
when: inventory_hostname.startswith('bodhi-backend01') and env == "production"