mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-11-02 13:50:15 +00:00
new transfer tasks and fixed permissions
This commit is contained in:
1 parent
f1541c6f29
commit
dc1afab15f
7 files changed
+122
-18
No files matched your search
@@ -1,4 +1,12 @@
|
||||
---
|
||||
- name: add user rights to file-transfer user
|
||||
tags: transfer_user_rights
|
||||
ansible.windows.win_user_right:
|
||||
name: SeBatchLogonRight
|
||||
users:
|
||||
- "{{ win_project }}\\{{ filetransfer_user }}"
|
||||
action: add
|
||||
|
||||
- name: Copy scripts to fileserver
|
||||
tags: copy_scheduled_tasks
|
||||
block:
|
||||
@@ -38,6 +46,9 @@
|
||||
start_boundary: "{{ task_start_time.stdout }}"
|
||||
repetition:
|
||||
interval: PT5M
|
||||
multiple_instances: 1
|
||||
run_level: highest
|
||||
start_when_available: true
|
||||
|
||||
- name: Create import scheduled task
|
||||
win_scheduled_task:
|
||||
@@ -55,4 +66,7 @@
|
||||
start_boundary: "{{ task_start_time.stdout }}"
|
||||
repetition:
|
||||
interval: PT5M
|
||||
multiple_instances: 1
|
||||
run_level: highest
|
||||
start_when_available: true
|
||||
when: inventory_hostname in groups['meta-name_fs01']
|
||||
Reference in new issue
Block a user