storage api python service templated and port added to jenkinsfile
This commit is contained in:
20
roles/storage_api/tasks/update_task.yaml
Normal file
20
roles/storage_api/tasks/update_task.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- name: Create Scheduled Task to run crystaldiskinfo
|
||||
win_scheduled_task:
|
||||
name: Update CrystalDiskInfo Cache File
|
||||
username: SYSTEM
|
||||
actions:
|
||||
- path: "{{ storage_api_root }}\\dist\\DiskInfo64.exe"
|
||||
arguments: |
|
||||
/CopyExit
|
||||
triggers:
|
||||
- type: registration
|
||||
- type: daily
|
||||
start_boundary: '{{ ansible_date_time.date }}T01:00:00'
|
||||
- type: boot
|
||||
|
||||
state: present
|
||||
enabled: yes
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user