summaryrefslogtreecommitdiff
path: root/script_local
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-02-12 15:05:59 +0100
committerjerome <jerome@xlinfo.fr>2025-02-12 15:05:59 +0100
commit3605d4eec0065530f692cb3e779e9ab50a0ca3e3 (patch)
treee20e657391c18d44af5d03f864a4c3db05b81690 /script_local
parent9041e48cd9b37e2bb39328ec21088ab48658f0f7 (diff)
downloadkvm-multi-3605d4eec0065530f692cb3e779e9ab50a0ca3e3.tar.gz
kvm-multi-3605d4eec0065530f692cb3e779e9ab50a0ca3e3.zip
correction
Diffstat (limited to 'script_local')
-rwxr-xr-xscript_local7
1 files changed, 0 insertions, 7 deletions
diff --git a/script_local b/script_local
index cfe5d09..422f322 100755
--- a/script_local
+++ b/script_local
@@ -1,13 +1,6 @@
#!/bin/bash
ssh-keygen -f ~/.ssh/known_hosts -R $1
ssh-keyscan -H $1 >> ~/.ssh/known_hosts
-# nécessite droits sudo sans mot de passe pour ip à l'utilisateur local
-sudo ip route del 10.0.3.0/24
-sudo ip route add 10.0.3.0/24 via $1
-ansible-playbook -u ansible --become -i "$1," playbooks/lxc.yml
-# remplacé par les local_actions dans le playbook lxc.yml
-#ssh-keyscan -H -f playbooks/hosts >> ~/.ssh/known_hosts
-ansible-playbook -u root -i playbooks/hosts playbooks/lamp.yml