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

▼ Show 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.

DevOps
Learn More with Madanswer

Related questions

...