-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
18 lines
524 B
YAML
18 lines
524 B
YAML
---
|
|
- name: enable cron job for ftp traffic
|
|
cron:
|
|
name: "ftptraff"
|
|
minute: "0"
|
|
hour: "7-18/2"
|
|
weekday: "1-5"
|
|
job: "/usr/bin/perl -e 'sleep int rand 7199' && /home/pi/scripts/ftp-session.sh"
|
|
tags: ftptraff_cron
|
|
- name: copy ftp-session.sh to scripts directory
|
|
copy:
|
|
src: "{{ role_path }}/files/ftp-session.sh"
|
|
dest: /home/pi/scripts/ftp-session.sh
|
|
owner: pi
|
|
group: pi
|
|
mode: a+x
|
|
tags: ftptraff_script
|