mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-29 15:06:51 +00:00
swap to rescue
This commit is contained in:
1 parent
832c466c43
commit
cf22af1a4f
1 file changed
+3
-3
@@ -60,6 +60,6 @@
|
|||||||
DomainName: "{{ win_project }}.loc"
|
DomainName: "{{ win_project }}.loc"
|
||||||
PsDscRunAsCredential_username: Administrator
|
PsDscRunAsCredential_username: Administrator
|
||||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||||
when: | # maybe change second condition or use resuce
|
rescue: []
|
||||||
inventory_hostname in groups['meta-name_fs01'] and
|
when: |
|
||||||
feature_status.reboot_required == true
|
inventory_hostname in groups['meta-name_fs01']
|
||||||
Reference in new issue
Block a user