~/Projects/example_playbooks/roles/apache_install$ cat tasks/main.ymlslug: '' -# install and start apache Is shown in the following example: ~/Projects/example_playbooks/roles/apache_install$ tree To prevent a complete copy and paste from the previous example, the webserver ![]() Existing roleįor an easy example, we use a simple role that installs and starts a webserver. With all the benefits that Molecule provides. To test an existing role allows for easy testing and modification of that role Or, a system that wasn’t supported initially is now addedĪnd an existing role requires modification to make it work on the new system.įor more details on using and debugging Molecule. Ansible development is fast, and anyone using Ansible extensively has most likelyĬome across an instance where a playbook that used to work does not work on a
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |