Browse Source

listupgrade: listupgrade.sh and it's cron are not jinja templates, use copy instead of template

tags/10.0.0^2
Ludovic Poujol 11 months ago
parent
commit
4695c07ffa
3 changed files with 4 additions and 4 deletions
  1. +0
    -0
      listupgrade/files/listupgrade.sh
  2. +0
    -0
      listupgrade/files/listupgrade_cron
  3. +4
    -4
      listupgrade/tasks/main.yml

listupgrade/templates/listupgrade.sh.j2 → listupgrade/files/listupgrade.sh View File


listupgrade/templates/listupgrade_cron.j2 → listupgrade/files/listupgrade_cron View File


+ 4
- 4
listupgrade/tasks/main.yml View File

@@ -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…
Cancel
Save