Importing

Once logged in, if you make a change to your role and want to import those changes into Ansible Galaxy, you can run the following command:

$ ansible-galaxy import russmckendrick ansible-role-docker

The following screenshot shows the output for the preceding command:

The two bits of information we are passing to the command are the GitHub username, russmckendrick in my case, and the name of repository we want to import—so for the Docker one we published in the last section, I am using ansible-role-docker.

Get Learn Ansible 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.