blob: 81b9d7137807d429701a207b2f6fea39e2791327 (
plain) (
tree)
|
|
---
- name: install rsnapshot
apt: name=rsnapshot state=latest
- name: create config directory
file: path=/etc/rsnapshot.d state=directory mode=0755
- name: copy parent configuration
copy: src=rsnapshot.conf dest=/etc/rsnapshot.conf force=true
- name: copy child configurations
template: src=linux.conf.j2 dest="/etc/rsnapshot.d/{{host}}.conf"
vars:
host: "{{item}}"
with_items:
- muninn
- jodersky-mbp
|