Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| administratif:tooling:ansible [2025/09/26 12:12] – [Ansible Environment] remi | administratif:tooling:ansible [2025/09/26 14:02] (current) – remi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Ansible ====== | ||
| + | |||
| ===== Ansible Environment ===== | ===== Ansible Environment ===== | ||
| Line 35: | Line 37: | ||
| </ | </ | ||
| + | |||
| + | Ansible is made to run all playbooks using this " | ||
| + | |||
| + | You can use some pre-defined playbooks using the Galaxy store : | ||
| + | |||
| + | < | ||
| + | # List installed roles : | ||
| + | ansible-galaxy collection list | ||
| + | |||
| + | # Installs a role from prometheus space called prometheus too : | ||
| + | ansible-galaxy collection install prometheus.prometheus | ||
| + | </ | ||
| + | |||
| + | You can run playbooks simply like this : | ||
| + | |||
| + | < | ||
| + | ansible-playbook -i labs.ini calypso-sys.yml | ||
| + | </ | ||
| + | |||
| + | Or with more options : | ||
| + | |||
| + | < | ||
| + | # Run only on calypso0 and calypso1, import the users.yml variable file to have all users UID/GID, start the playbook at the step that runs the ISC2 task | ||
| + | ansible-playbook -i labs.ini calypso-sys.yml --limit calypso0, | ||
| + | </ | ||
| + | |||
| Line 56: | Line 84: | ||
| | | | | ||
| | | ||
| - | | users, software, and system configs) | ||
| - | |-> rumba-sys: | ||
| | users, software, and system configs) | | users, software, and system configs) | ||
| |-> isc_compute: | |-> isc_compute: | ||
| |-> julia: | |-> julia: | ||
| - | |-> k8s: (Configures Kubernetes on all Calypso nodes) | + | |-> k8s: (Configures Kubernetes on all Calypso nodes) |
| + | |-> learn | ||
| + | | Moodle prerequisites, | ||
| |-> master-sys: | |-> master-sys: | ||
| |-> munge: | |-> munge: | ||
| |-> nvidia-cuda: | |-> nvidia-cuda: | ||
| - | |-> prometheus: | + | |-> prometheus: |
| - | |-> | + | | |
| + | |-> | ||
| + | | users, software, and system configs) | ||
| + | |-> slurm_research_TODO: | ||
| + | | install, separate install from config) | ||
| + | |-> slurm_calypso: | ||
| | install, separate install from config) | | install, separate install from config) | ||
| - | |-> | + | |-> |
| - | install, separate install from config) | + | |
| </ | </ | ||
