mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 15:17:21 +00:00
fix conditions and change tag name
This commit is contained in:
1 parent
9f652bc2ac
commit
6164d92c5c
1 file changed
+1
-3
@@ -1,12 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: Copy logon script to VMs
|
- name: Copy logon script to VMs
|
||||||
tags:
|
tags:
|
||||||
- logon
|
- copy_logon_script
|
||||||
block:
|
block:
|
||||||
- name: Copy logon script to VMs
|
- name: Copy logon script to VMs
|
||||||
win_copy:
|
win_copy:
|
||||||
src: "logon.ps1"
|
src: "logon.ps1"
|
||||||
dest: "C:\\eidf\\"
|
dest: "C:\\eidf\\"
|
||||||
force: true
|
force: true
|
||||||
when: "inventory_hostname in groups['meta-variant_client']|default([])"
|
|
||||||
when: groups['meta-variant_client'] is defined
|
|
||||||
Reference in new issue
Block a user