forked from evolix/ansible-roles
listupgrade: listupgrade.sh and it's cron are not jinja templates, use copy instead of template
This commit is contained in:
parent
269c66365d
commit
4695c07ffa
3 changed files with 4 additions and 4 deletions
|
@ -12,8 +12,8 @@
|
|||
mode: "0700"
|
||||
|
||||
- name: Copy listupgrade script
|
||||
template:
|
||||
src: listupgrade.sh.j2
|
||||
copy:
|
||||
src: listupgrade.sh
|
||||
dest: "/usr/share/scripts/listupgrade.sh"
|
||||
mode: "0700"
|
||||
owner: root
|
||||
|
@ -46,8 +46,8 @@
|
|||
group: root
|
||||
|
||||
- name: Enable listupgrade cron
|
||||
template:
|
||||
src: listupgrade_cron.j2
|
||||
copy:
|
||||
src: listupgrade_cron
|
||||
dest: /etc/cron.d/listupgrade
|
||||
mode: "0600"
|
||||
owner: root
|
||||
|
|
Loading…
Add table
Reference in a new issue