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...@googlegroups.com
Hi, is there any option to set validation of host count ? For example if we limit playbook to be run only on servers with specific fact but some servers not populate redis cache with up2date version of facts (or failed) I need to be sure that this issue will be catched before run.
I really appreciate any help you can provide
Vasek
Brian Coca
unread,
Jan 28, 2015, 8:39:02 AM1/28/15
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...@googlegroups.com
I think you want the --list-hosts command linen option, but inside the
play you can check the length of the play_hosts variable
--
Brian Coca
Vaclav Adamec
unread,
Jan 30, 2015, 1:29:41 AM1/30/15
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...@googlegroups.com
Thanks a lot, play_hosts var is what I was looking for
Vasek
Dne středa 28. ledna 2015 14:39:02 UTC+1 Brian Coca napsal(a):