swap to rescue

This commit is contained in:
abrown38 committed 2025-04-14 09:29:17 +01:00
1 parent 832c466c43
commit cf22af1a4f
1 file changed
+3 -3
+3 -3
View File
@@ -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']