Before we finish this chapter, let's take a quick look at some of the other functionalities of the ansible-galaxy command, starting with logging in.
Ansible Galaxy commands
Logging in
It is possible to log in to Ansible Galaxy from the command line; you can do this by using the following:
$ ansible-galaxy login
This will ask for your GitHub username and password; if you have two-factor authentication enabled on your GitHub account, which you really should do, then this method will not work. Instead, you will need to provide a personal access token. You can generate a personal access token at the following URL: https://github.com/settings/tokens/. Once you have a token, you can use the following command, replacing the...