Summary

Once you get started creating playbooks and roles with Ansible, you will find that you are able to reuse a lot of code for many different purposes. In this chapter, we were able to create another role very similar to the previous chapter, but include a totally different task very quickly and easily. Always remember to design your roles to be the base generic task as much as possible. I sincerely cannot emphasize that tip enough. It could be the difference of taking minutes/hours versus days to automate something.

In this chapter, we defined and described the difference between instance backups and snapshots. We explained the process, how to manually create backups and snapshots using the OpenStack CLI. We also reviewed an example of how ...

Get OpenStack Administration with Ansible 2 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.