in DevOps by
What is the requirement for sorting out playbooks as the job, is it vital?

1 Answer

0 votes
by

Arranging playbooks as jobs , gives greater clarity and reusability to any plays , while consider an errand where MySQL establishment ought to be done after the evacuation of Oracle DB , and another prerequisite is expected to introduce MySQL after java establishment, in the two cases we have to introduce MySQL , yet without jobs need to compose playbooks independently for both use cases , yet utilizing jobs once the MySQL establishment job is made can be used any number of times by summoning utilizing rationale in site.yaml .

No, it isn’t important to make jobs for each situation, however making jobs is the best practice in Ansible.

Related questions

0 votes
asked Mar 3, 2020 in DevOps by rajeshsharma
0 votes
asked Nov 10, 2020 in Business Analyst by rahuljain1
0 votes
asked Nov 5, 2019 in Ansible by Robin
...