ansible-machine-setup/roles/github-auth/tasks/main.yaml

7 lines
191 B
YAML

---
- name: app ssh pubkey to github account
github_key:
name: Added by ansible
token: "{{ lookup('env', 'GITHUB_ACCESS_TOKEN') }}"
pubkey: "{{ account.ssh_public_key }}"