-numerous changes to work with Raspbian 10
-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
This commit is contained in:
40
roles/sipclient/tasks/main.yaml
Executable file → Normal file
40
roles/sipclient/tasks/main.yaml
Executable file → Normal file
@@ -1,20 +1,20 @@
|
||||
---
|
||||
- name: enable sip client
|
||||
become: true
|
||||
cron:
|
||||
name: "sip client"
|
||||
minute: "*/30"
|
||||
hour: "8-18"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1800' && /home/pi/sipp/startclient.sh"
|
||||
user: root
|
||||
tags: sipclient_cron
|
||||
- name: stop sip calling after hours
|
||||
become: true
|
||||
cron:
|
||||
name: "stop sip client"
|
||||
hour: "17"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1800' && /home/pi/sipp/stopclient.sh"
|
||||
user: root
|
||||
tags: sipclient_stop
|
||||
---
|
||||
- name: enable sip client
|
||||
become: true
|
||||
cron:
|
||||
name: "sip client"
|
||||
minute: "*/30"
|
||||
hour: "8-18"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1800' && /home/pi/sipp/startclient.sh"
|
||||
user: root
|
||||
tags: sipclient_cron
|
||||
- name: stop sip calling after hours
|
||||
become: true
|
||||
cron:
|
||||
name: "stop sip client"
|
||||
hour: "17"
|
||||
weekday: "1-5"
|
||||
job: "/usr/bin/perl -e 'sleep int rand 1800' && /home/pi/sipp/stopclient.sh"
|
||||
user: root
|
||||
tags: sipclient_stop
|
||||
|
||||
Reference in New Issue
Block a user