I'm able to do with import_playbook module ..

On Thursday, 18 February 2021 at 11:52:16 UTC+5:30 Heman Malve wrote:

> Team,
>
> Requirement is , 
> 1)define main yaml file with  - hosts: localhost (its just execution in 
> localhost) and should contain ~10 yaml files which will perform individual 
> activities based upon  hosts {remote servers} entry
> I have tried using tasks, name & other modules but not succeeded.
>
> main.yaml file -
> - hosts: localhost
>    gather_facts: no
>
>    - name : Title of application task
>       include_tasks:
>                 - file1.yaml
>                 - file2.yaml
>      
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/c24a7f1a-d55d-4e65-a30f-82fa557c4c11n%40googlegroups.com.

Reply via email to