September 2018
Beginner to intermediate
214 pages
5h 53m
English
The Ansible Galaxy command line ansible-galaxy is the tool to be used locally to work on initializing a role.
In the previous chapter, we initiated a role using the option init, as shown here:
ansible-galaxy init lab-edu.samba
This command will create a folder with the name of the role, containing the basic folder and files necessary. These then need to be edited and filled with the appropriate code and files to make the role function.
The Ansible Galaxy command line manages all roles within an Ansible control host. It also allows you to browse roles within the hub. Some of the most frequently used options of this command line are as follows.
The Ansible Galaxy command line allows the removal of one or more ...
Read now
Unlock full access