Re: [ansible-project] assert and fail. When to use what?

2018-03-05 Thread Brian Coca
Not much, they are mostly a 'contrary alias', I would be happy
deprecating one of them in favor of the other.


-- 
--
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7ekBctqHgDMPoAFc6YApa0H7xmQuqV%2BFtzZ%2BTyRwCrADA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] assert and fail. When to use what?

2018-02-01 Thread Varun Chopra
Hi,

I've been working on a playbook that asserts prerequisites required for a 
mssql installation and I'm not entirely confident with what I've come up 
with.

https://gist.githubusercontent.com/chopraaa/1b74480a7b286ee91dd855ae670104f1/raw/660b758b4e82e0b68e6fe73946d005cfcac9/mssql.yml

What I know is that if an assert is false, it fails the playbook, and the 
same can be done using the fail module. So what's the difference between 
the two?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d691aec9-82e2-4061-afeb-ad61cc47bd8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.