Our goal is to create and host on GitHub a generic Ansible role. In the example below we will create role for installing and configuring VirtualBox.
Create a github repository ansible-role-virtualbox
Clone the repository
- Generate Ansible role
The –force flag will overwrite ansible role and add generted code
Update repository meta-data and information in the README file
Add and commit generated code for our new role
At this stage we are ready to start coding the role and adding tests.