more role organization.

tbd - make use of variables in root/main.yaml
This commit is contained in:
Pi
2019-02-21 12:21:11 -05:00
parent c712efa8db
commit aabd89fae8
6 changed files with 242 additions and 238 deletions

View 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

View File

@@ -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