Add pubkey to github
This commit is contained in:
parent
8e6e03d55c
commit
43b4c129ed
2 changed files with 7 additions and 0 deletions
6
roles/github-auth/tasks/main.yaml
Normal file
6
roles/github-auth/tasks/main.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- name: app ssh pubkey to github account
|
||||||
|
github_key:
|
||||||
|
name: Added by ansible
|
||||||
|
token: "{{ lookup('env', 'GITHUB_ACCESS_TOKEN') }}"
|
||||||
|
pubkey: "{{ account.ssh_public_key }}"
|
|
@ -8,6 +8,7 @@
|
||||||
roles:
|
roles:
|
||||||
- update-packages
|
- update-packages
|
||||||
- user-account
|
- user-account
|
||||||
|
- github-auth
|
||||||
- misc
|
- misc
|
||||||
- oh-my-zsh
|
- oh-my-zsh
|
||||||
- neovim
|
- neovim
|
||||||
|
|
Loading…
Reference in a new issue