ci-for-research / self-hosted-runners

Recipe to install and configure a GitHub action runner using Ansible
Apache License 2.0
17 stars 9 forks source link

Ubuntu virtualbox tokens and tags #110

Closed jspaaks closed 4 years ago

jspaaks commented 4 years ago

remaining open question, how to avoid having to ask for the personal access token a second time. Maybe store it in the remote machine? Update: I added reading from a file secrets.txt

jspaaks commented 4 years ago

After some discussion with @fdiblen, we identified these options for storing the PERSONAL_ACCESS_TOKEN:

  1. don't prompt but have the user store it in hosts
  2. don't prompt but have the user store it in ansible.cfg
  3. don't prompt but have the user store it in a dedicated file, like token.env
  4. prompt and store it on localhost
  5. prompt and store it on the server

we thought 3 was the safest and most explicit option.

jspaaks commented 4 years ago

linter is now finally green (for this PR's playbook at least)