Simplify the copy instruction a little

This commit is contained in:
Pierre-Yves Chibon 2014-05-13 12:39:19 +02:00
parent 8cb2345e5d
commit 4dd6ab1429

View file

@ -39,19 +39,15 @@
- name: Install the easyfix template
copy: >
src={{ item }} dest=/etc/fedora-gather-easyfix/template.html
src=template.html dest=/etc/fedora-gather-easyfix/template.html
owner=root group=root mode=0644
with_items:
- template.html
tags:
- files
- name: Install the easyfix script
copy: >
src={{ item }} dest=/usr/local/bin/gather_easyfix.py
src=gather_easyfix.py dest=/usr/local/bin/gather_easyfix.py
owner=root group=root mode=0755
with_items:
- gather_easyfix.py
tags:
- files
@ -59,9 +55,7 @@
## Install the cron job
- name: Install the easyfix cronjob
copy: >
src={{ item }} dest=/etc/cron.d/{{ item }}
src=easyfix.cron dest=/etc/cron.d/easyfix.cron
owner=root group=root mode=0755
with_items:
- easyfix.cron
tags:
- files