Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.54 KB

ansible.md

File metadata and controls

50 lines (33 loc) · 1.54 KB

Ansible

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.

Summary Command
Prepare master manually bibiplay -l master
Prepare only slurm on master manually bibiplay -l master -t slurm