Skip to content

Conversation

@pescobar
Copy link
Contributor

@pescobar pescobar commented Jul 2, 2020

The "ansible way" to define dependency roles is to use ansible-galaxy with a requirements.yml. This way you don't need to worry about git-submodules and mainly you improve reproducibility because you can fix which version of the role you are using instead of pointing to master.

Another possible improvement for reproducibility could be to provide a pip requirements.txt which defines the specific ansible and python libraries that are tested to run the playbook but that's probably something for a different PR in case you are interested.

@bedroge
Copy link
Collaborator

bedroge commented Jul 2, 2020

I'll try to test this tomorrow. Since we renamed the name of the galaxyproject.cvmfs role to just cvmfs in our git submodule, we also have to change this back to galaxyproject.cvmfs in all the different playbooks.

@pescobar
Copy link
Contributor Author

pescobar commented Jul 2, 2020

good point, I missed that. I will try to update the PR

@bedroge
Copy link
Collaborator

bedroge commented Jul 3, 2020

Thanks @pescobar! I've just tested all the playbooks on clean VMs, and everything still seems to work fine.

Copy link
Collaborator

@bedroge bedroge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@bedroge bedroge merged commit 9f0a816 into EESSI:master Jul 3, 2020
@pescobar
Copy link
Contributor Author

pescobar commented Jul 3, 2020

@bedroge if you test the playbook using VMs maybe you are interested on the vagrant file I have in this repo https://github.com/pescobar/ansible-beegfs-vagrant-tests

@bedroge
Copy link
Collaborator

bedroge commented Jul 3, 2020

@pescobar Might be useful, thanks!

peterstol pushed a commit to peterstol/filesystem-layer that referenced this pull request Feb 18, 2021
Change parentheses by curly braces enclosing EPREFIX variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants