Development

To facilitate the deployment and testing the rcb project provides the playbook rcb-devel to copy the current version of the scripts to the staging. By default the current version is locked (source_lock_set: “yes”). This means that the rcb role won’t accidentally overwrite it.

The following sequence of commands copy, patch and install the scripts.

> ansible-playbook ~/.ansible/playbooks/rcb-devel.yml
> ansible-playbook ~/.ansible/playbooks/rcb.yml -t rcb_patch
> ansible-playbook ~/.ansible/playbooks/rcb.yml -t rcb_copy

Testing

The scripts can be tested.

> ansible-playbook ~/.ansible/playbooks/rcb.yml -t testall