Commit 58abb469 authored by Guido Gunther's avatar Guido Gunther

Initial commit

parents
Pipeline #4197 failed with stages
HOST=10.0.27.15
all:
ansible-playbook -u purism --become -i $(HOST), playbook.yml
init:
ansible-playbook -k --ask-su-pass -u purism --become -i $(HOST), playbook.yml
Devkit setup
============
Make the devkit easier to use. After flashing a new image run
make HOST=<ip> init
Afterwards you can just run
make HOST=<ip>
- hosts: all
tasks:
- name: Create ssh dir
file:
state: directory
path: /home/purism/.ssh
owner: purism
- name: Add ssh key
authorized_key:
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCyyael/gk8Xbr16BXZL4am5joQ0DYR1+aynTUczb0YdlFXnOlL/xqZennePU4Oqp+/8JICsQ25y39Xl+UQatcAqEYHh9YmapVcC/1hU/d3N8DSEiZ0YqrCJs3O+yu6L8T0MLm7fYboDAbNuiqB21LIOjsxOzzEnb1k2YRN0HmKVnHFmUcVAp94Z2pz3tm3IRODK8Eev0Q9XLX/+XdyrZXzeUY+fxdei+rEXxs79Z5lOHsAnzVcSV3pdPJZY2SQsYEJFzTTL7vy1csLWPeCdRr5lC2/1sienC8kPwWU12ZT0nZJjfM7d/l+1Hz8gC6thC/Ih4ZY8tyL/r40cVhrkt83pZTu8NppoBBDzaRhUI5H61LaOHlljdT2XtFkVImni5sMMg4quuiMrU+GUAiLccBuJ1SxE75d/XDlqvKnOJBGLdBhG87cn0+PbUqQEmVX4StXQfdb0Wx5x+d6WRq20KwVoLKG1WV9n6FpKXPuI7TB0jYqwJTdrbEPKyJa9UQF/T0= openpgp:0xF873FB95
"
user: purism
- name: Make sudo simple
copy:
dest: /etc/sudoers.d/devkit
content: "purism ALL=NOPASSWD: ALL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment