more role organization.
tbd - make use of variables in root/main.yaml
This commit is contained in:
9
roles/smbclient/tasks/main.yaml
Executable file
9
roles/smbclient/tasks/main.yaml
Executable file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: enable cron job for smb traffic
|
||||
cron:
|
||||
name: "smbtraff"
|
||||
minute: "*/20"
|
||||
hour: "7-18"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1199' && /home/pi/scripts/smb-session.sh"
|
||||
tags: smbtraff_cron
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
- hosts: smbclient
|
||||
tasks:
|
||||
- name: enable cron job for smb traffic
|
||||
cron:
|
||||
name: "smbtraff"
|
||||
minute: "*/20"
|
||||
hour: "7-18"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1199' && /home/pi/scripts/smb-session.sh"
|
||||
tags: smbtraff_cron
|
||||
Reference in New Issue
Block a user