Merge github.com:gtalent/debian-workstation
This commit is contained in:
commit
1959f10866
6
Makefile
6
Makefile
@ -1,7 +1,11 @@
|
|||||||
apply:
|
apply:
|
||||||
ansible-playbook debian.yml -u root -i "127.0.0.1,"
|
ansible-playbook debian.yml -u root -i "127.0.0.1,"
|
||||||
apply-all:
|
apply-all:
|
||||||
ansible-playbook debian.yml -u root -i "andraia,"
|
ansible-playbook debian.yml -u root -i 'andraia,'
|
||||||
|
apply-local:
|
||||||
|
su -c "ansible-playbook debian.yml -u root -i '127.0.0.1,' --connection=local"
|
||||||
|
init-local:
|
||||||
|
su -c "mkdir -p /root/.ssh/ && cat ~gary/.ssh/id_rsa.pub >> /root/.ssh/authorized_key"
|
||||||
init:
|
init:
|
||||||
ssh root@127.0.0.1 mkdir -p .ssh
|
ssh root@127.0.0.1 mkdir -p .ssh
|
||||||
cat ~/.ssh/id_rsa.pub | ssh root@127.0.0.1 "cat >> .ssh/authorized_key"
|
cat ~/.ssh/id_rsa.pub | ssh root@127.0.0.1 "cat >> .ssh/authorized_key"
|
||||||
|
Reference in New Issue
Block a user