System configuration for the OpenDev Collaboratory
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jeremy Stanley f2cf00dc89 Add missing newline in vos_release.sudo 3 years ago
files Add missing newline in vos_release.sudo 3 years ago
tasks vos-release: fix sudo 3 years ago
README.rst vos-release: fix key sourcing; disable exclusive key 3 years ago


vos release with localauth

Install a user and script to do remote vos release with localauth authentication. This can avoid kerberos or AFS timeouts.

This relies on vos_release_keypair which is expected to be a single keypair set previously by hosts in the "mirror-update" group. It will allow that keypair to run /usr/local/bin/, which filters the incoming command. Releases are expected to be triggered on the update host with:

ssh -i /root/.ssh/id_vos_release vos release <mirror>.<volume>

Future work, if required

  • Allow multiple hosts to call the release script (i.e. handle multiple keys).
  • Implement locking within script to prevent too many simulatenous releases.

Role Variables