1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-28 10:26:04 +02:00

change -K -k to init ssh keys

This commit is contained in:
eoli3n 2019-12-02 13:47:05 +01:00
parent 8acb526a66
commit fdf3ee5def

View File

@ -138,9 +138,9 @@ Remove useless groups and hosts
Node per node if password differ between users. Node per node if password differ between users.
It adds your public ssh keys on hosts It adds your public ssh keys on hosts
``` ```
ansible-playbook install.yml -t init_ssh -l host1 -K ansible-playbook install.yml -t init_ssh -l host1 -k
ansible-playbook install.yml -t init_ssh -l host2 -K ansible-playbook install.yml -t init_ssh -l host2 -k
ansible-playbook install.yml -t init_ssh -l host3 -K ansible-playbook install.yml -t init_ssh -l host3 -k
``` ```
#### 7° Run ansible-playbook #### 7° Run ansible-playbook