ftpclient setup
This commit is contained in:
@@ -22,3 +22,6 @@
|
||||
- hosts: youtube
|
||||
roles:
|
||||
- youtube
|
||||
- hosts: ftpclient
|
||||
roles:
|
||||
- ftpclient
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
- name: enable cron job for ftp traffic
|
||||
cron:
|
||||
name: "ftptraff"
|
||||
minute: "*/30"
|
||||
minute: "*/60"
|
||||
hour: "7-18"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1799' && /home/pi/scripts/smb-session.sh"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 3599' && /home/pi/scripts/ftp-session.sh"
|
||||
tags: ftptraff_cron
|
||||
- name: copy ftp-session.sh to scripts directory
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user