Trevor
Starfighter Starfighter
Starfighter
  • 143 Views

Number of Tasks in an Ansible Play

A question for an RHCE 294 student:  Is there a maximum number of tasks that can be within a Play, in an Ansible playbook?  If so, what is that number?

Trevor "Red Hat Evangelist" Chandler
Labels (3)
2 Replies
Yassine-S
Cadet
Cadet
  • 136 Views

There are absolutely no restrictions in the number of tasks you can write in an ansible playbook, I've written hundreds of modules in the same play (but if you ask me if its considered best practice or not, I would recommend using roles instead of one playbook that holds all procedures) 

Trevor
Starfighter Starfighter
Starfighter
  • 135 Views

An RHCE 294 student?  Who has "written hurndreds of modules" in the same play?  That's a pretty robust and rigorous class that you're in.  If you don't mind sharing, where (what institution) are you currently enrolled?  

Thanks!!!

Trevor "Red Hat Evangelist" Chandler
Join the discussion
You must log in to join this conversation.