summaryrefslogtreecommitdiff
path: root/script_local
diff options
context:
space:
mode:
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