Ansible

September 6, 2024 ยท View on GitHub

Ansible Tutorial

Executing BiBiGrid's Playbook Manually

Only execute BiBiGrid's playbook manually when no worker is up. The playbook is executed automatically for workers powering up.

If you've implemented changes to BiBiGrid's playbook, you might want to execute BiBiGrid's playbook manually to see how those changes play out. For this we need the preinstalled bibigrid-playbook command. However, BiBiGrid has a handy shortcut for that called bibiplay.

bibiplay

To make things easier we wrote the bibiplay wrapper. It's used like this:

bibiplay

is the same as:

ansible-playbook /opt/playbook/site.yaml /opt/playbook/ansible_hosts/

any additional arguments are passed to ansible-playbook:

bibiplay -l master

is the same as:

ansible-playbook /opt/playbook/site.yaml /opt/playbook/ansible_hosts/ -l master

Useful commands

For more options see ansible-playbook's manpage.

SummaryCommand
Prepare master manuallybibiplay -l master
Prepare only slurm on master manuallybibiplay -l master -t slurm