https://github.com/computecanada/ansible-cvmfs-server
Ansible role for configuring CVMFS stratum servers, provided by the Compute Canada CVMFS National Team.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
Ansible role for configuring CVMFS stratum servers, provided by the Compute Canada CVMFS National Team.
Basic Info
- Host: GitHub
- Owner: ComputeCanada
- License: gpl-3.0
- Language: Jinja
- Default Branch: example
- Size: 67.4 KB
Statistics
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Compute Canada ansible-cvmfs-server role
This is an example release of the Compute Canada ansible-cvmfs-server role, which is maintained elsewhere. If you are interested in using this Ansible role please let us know!
Prepare the system
It can be useful to do echo "export PYTHONUNBUFFERED=1" >> ~/.bashrc in your session to ensure that Ansible output is streamed to stdout smoothly.
Set up ansible-pull
Enable EPEL repository
EPEL is required to provide a recent version of Ansible and some JSON packages.
sudo dnf install epel-release
Install Ansible
Ansible v2.5 or higher is required. To install from EPEL:
sudo dnf install ansible- It is useful to set
force_color=Trueunder[defaults]in/etc/ansible/ansible.cfg
Install git
sudo dnf install git
Set up inventory
- Add the hostname of the new system to the Ansible inventory file
hostsin git, with membership in the appropriate groups, and additional host or group vars as needed (which are documented here).
Run ansible-pull
- Make sure you have logged in to the server using SSH agent forwarding (
ssh -A) in order to access gitlab. -
sudowill be used by Ansible to execute the role - so do not use sudo when invokingansible-pull. However you may need to e.g.sudo -lat this point to avoid a password prompt if applicable. - It is good practice to use
--checkand--difffirst to see which changes will be applied.ansible-pull -U git@github.com:ComputeCanada/ansible-cvmfs-server.git --checkout=example --full -i hosts --check --diffNote: this may fail due to missing files etc., if the play has not yet completed in non-check mode to actually make changes, which is expected. - Run without check mode to apply all changes.
ansible-pull -U git@github.com:ComputeCanada/ansible-cvmfs-server.git --checkout=example --full -i hosts - If you want to limit the scope of changes to a subset of tasks, use
-tto run specific tagged tasks. See main.yml for the list of tags that can be specified.
Pre-requisites
Some parts of the stratum server deployment are not automated and must be done manually in order for the Ansible play to complete successfully.
- A modification to the iptables file will be required, as described by the output of the iptables task if needed.
Testing and development
To test the Ansible role, create a branch in Git (named test in this example), and pull from there:
ansible-pull -U git@github.com:ComputeCanada/ansible-cvmfs-server.git --checkout=test --full -i hosts
Owner
- Name: Compute Canada / Calcul Canada
- Login: ComputeCanada
- Kind: organization
- Location: Canada
- Website: computecanada.ca
- Repositories: 171
- Profile: https://github.com/ComputeCanada
GitHub Events
Total
- Delete event: 1
- Push event: 3
- Pull request event: 1
- Create event: 1
Last Year
- Delete event: 1
- Push event: 3
- Pull request event: 1
- Create event: 1