mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:07:21 +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"
|
||||
PsDscRunAsCredential_username: Administrator
|
||||
PsDscRunAsCredential_password: "{{ ansible_password }}"
|
||||
when: | # maybe change second condition or use resuce
|
||||
inventory_hostname in groups['meta-name_fs01'] and
|
||||
feature_status.reboot_required == true
|
||||
rescue: []
|
||||
when: |
|
||||
inventory_hostname in groups['meta-name_fs01']
|
||||
Reference in new issue
Block a user