Simplify the copy instruction a little
This commit is contained in:
parent
8cb2345e5d
commit
4dd6ab1429
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue