Quantcast
Channel: Three solutions to structure a deployment with Ansible? - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 3

Answer by schmichri for Three solutions to structure a deployment with Ansible?

$
0
0

Short Answer: You do programming here. Consider Programming Standards (cleancode) like "package by feature" and build role which are reusable and express the reason of the role.e.g.

roles:  - role: jdk  - role: tomcat        (contains tasks with 'install tomcat', 'configure tomcat' )       (requires jdk)  - role: the_wepapp       (requires tomcat)

Futhermore: The underlying role e.g. the jdk should never know about the tomcat role etc...


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>