What is the difference between ansible playbook and roles?

0 votes
What is the difference between ansible playbook and roles?
Jan 9 in Ansible by Alan
667 views

1 answer to this question.

0 votes

Ansible playbook is a script file which contains all the tasks that need to be performed along with all the ingredients required to perform these tasks.

Roles are ways of automatically certain var files, tasks, and handlers based on the known file structure. 

answered Jan 9 by Dora

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,870 points
463 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer