update script
This commit is contained in:
parent
9299286942
commit
41d084057a
4
hosts
4
hosts
@ -16,7 +16,3 @@ rocky-4 ansible_host=127.0.0.1 ansible_ssh_private_key_file=~/.ssh/id_ed25519 an
|
||||
debian
|
||||
rocky
|
||||
|
||||
[arista]
|
||||
ceos1 ansible_host=192.168.128.1
|
||||
ceos2 ansible_host=192.168.128.2
|
||||
ceos3 ansible_host=192.168.128.3
|
||||
|
@ -5,7 +5,7 @@ Blue='\033[1;34m'
|
||||
|
||||
if [ ! -f ~/.ssh/id_ed25519.pub ]
|
||||
then
|
||||
echo -e '$RED Veuillez créer une clé assymétrique ssh ! $NC'
|
||||
echo -e "$Red Veuillez créer une clé assymétrique ssh ! $NC"
|
||||
exit 1
|
||||
else
|
||||
if [ $(id -u) -eq 0 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user