From 4dd6ab14295a9b98133cd097df3b0459048eba74 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 13 May 2014 12:39:19 +0200 Subject: [PATCH] Simplify the copy instruction a little --- roles/easyfix/tasks/main.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/roles/easyfix/tasks/main.yml b/roles/easyfix/tasks/main.yml index 08047e46ff..0bd96895e6 100644 --- a/roles/easyfix/tasks/main.yml +++ b/roles/easyfix/tasks/main.yml @@ -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