Is there anyone who knows how this works in Ansible?
Best regards
Tony
tony.h...@gmail.com
unread,
Aug 21, 2021, 12:17:55 PM8/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Anyone got any ideas on this?
jbor...@gmail.com
unread,
Aug 22, 2021, 3:20:54 PM8/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
You cannot. Each win_dsc task is an adhoc implementation of a DSC resource and they have no idea about other DSC tasks you may have invoked. Ansible tasks are run sequentially so running 2 DSC tasks after each other will ensure both are run and the 2nd is dependent on the first. If you wish to skip tasks use the when condition on the Ansible task itself.