mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 08:27:21 +00:00
allow role to be rerun
This commit is contained in:
1 parent
220b663ccb
commit
4ab7f110b6
1 file changed
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user