Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 896 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 896 Bytes

R4Pi Ansible tooling

The ansible scripts used to manage the build servers.

The buildberries

There are currently 3 classes of system:

  • rbuilders
    • Those that build R itself
  • pkgbuilders
    • Those that build R packages
  • buildprimary
    • Those that are used for essential ancilliary tasks like managing the debian repo

The ansible playbooks are arranged by these roles, but with an additional common_tools configuration that's applied to all ansible managed hosts.

Running the playbooks

ansible-playbook site.yml

Run a specific playbook by specifying it's name, eg:

ansible-playbook.yml buildprimary.yml

Useful SSH notes

Run a local ssh-agent via the command line with:

eval `ssh-agent`

Then add the local key:

ssh-add

Copy a local key to a remote server with:

ssh-copy-id -i ~/.ssh/mykey user@host