You can see the vendor when gather facts and set condition when vendor = hp

Sent from my iPhone

> On 17 Jun 2021, at 08:32, Wei-Yen Tan <[email protected]> wrote:
> 
> 
> Use conditionals as in when 
> 
> Get Outlook for iOS
> From: [email protected] <[email protected]> on 
> behalf of NAVEEN <[email protected]>
> Sent: Thursday, June 17, 2021 12:28:54 PM
> To: [email protected] <[email protected]>
> Subject: [ansible-project] Based on vendor have to execute playbook
>  
> Hello Team ,
> 
> I am having 3 vendors Ex :HP ,DELL ,Lenovo 
> i have 3 separate  playbooks
> Now  i want to execute those  based on vendor .If it is HP it should call Hp 
> Playbook Likewise..Can some one please help.
> 
> -- 
> Regards
> Naveen 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/CAB_%3D4oa%2BVbabwdnAanxWn25SPkK-yaoOpw3eyTP1%2BQXSRdw79g%40mail.gmail.com.
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/SYBPR01MB561684E21FFDBBA53243244EAD0E9%40SYBPR01MB5616.ausprd01.prod.outlook.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3DC9B8A4-309A-4A97-9B72-D56CDAEB3D7C%40gmail.com.

Reply via email to