Skip to content
Snippets Groups Projects
Commit bb164a10 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: quote permissions, use correct var names, use remote src, use correct template file name

parent aea8896f
No related branches found
No related tags found
No related merge requests found
......@@ -75,20 +75,21 @@
force: true
- name: copy binaries and config to the system
copy:
src: "/tmp/check-backup/Linux{{ item }}"
src: "/tmp/check-backup/Linux{{ item.name }}"
dest: "{{ item.name }}"
mode: "{{ item.mode }}"
remote_src: true
loop:
- name: "/etc/logrotate.d/dsmcad"
mode: 0444
mode: "0444"
- name: "/usr/share/doc/check-backup.man"
mode: 0444
mode: "0444"
- name: "/usr/local/bin/check-backup.sh"
mode: 0555
mode: "0555"
- name: template script config
template:
src: "etc/check-backup.cfg"
src: "etc/check-backup.cfg.j2"
dest: "/etc/check-backup.cfg"
owner: "root"
group: "root"
mode: 0644
mode: "0644"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment