Installing Degoss is fairly simple, as it is hosted on Ansible Galaxy as naftulikay.degoss.
The role can be installed directly using the ansible-galaxy
CLI:
ansible-galaxy install naftulikay.degoss
Alternatively, you can add the role into a Galaxy requirements file like requirements.yml
:
---
- src: naftulikay.degoss
And then subsequently install it with the ansible-galaxy
CLI:
ansible-galaxy install --force --path .ansible/galaxy-roles -r requirements.yml
This will install the role into .ansible/galaxy-roles
. Make sure that this directory is on your Ansible roles
path:
[defaults]
roles_path = .ansible/galaxy-roles
Now that we’ve installed the role, let’s start using it.