0 votes
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 Feb 17, 2023 in Hadoop by sharadyadav1986
+1 vote
asked May 8, 2020 in Ansible by SakshiSharma
...