allow role to be rerun

This commit is contained in:
abrown38 committed 2025-01-09 15:59:29 +00:00
1 parent 220b663ccb
commit 4ab7f110b6
1 file changed
+3 -1
+3 -1
View File
@@ -60,4 +60,6 @@
DomainName: "{{ win_project }}.loc"
PsDscRunAsCredential_username: Administrator
PsDscRunAsCredential_password: "{{ ansible_password }}"
when: inventory_hostname in groups['meta-name_fs01']
when: | # maybe change second condition or use resuce
inventory_hostname in groups['meta-name_fs01'] and
feature_status.reboot_required == true