Do not install file that are not present

This commit is contained in:
Pierre-Yves Chibon 2015-07-20 12:19:09 +02:00
parent 627256cec4
commit e4bc1915f8

View file

@ -220,19 +220,6 @@
notify:
- restart apache
- name: Install all the configuration files of pagure
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}
owner={{ item.user }} group={{ item.group }} mode={{ item.mode }}
with_items:
- { file: pagure.conf, location: /etc/httpd/conf.d, user: apache, group: apache, mode: 600 }
tags:
- config
- web
- pagure
notify:
- restart apache
- name: Install the wsgi file
template: src={{ item }}
dest=/var/www/{{ item }}