You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export SSHPASS=$USER_PASS # Importar password cargada en Gitlab como secret variable
sshpass -e ssh -o stricthostkeychecking=no vagrant@192.168.10.11 'tar -xf /tmp/playbook.tar -C /tmp/ | ansible-playbook /tmp/vagrant/playbook.yml' # Descomprimr en la VM de la app el archivo playbook.tar en /tmp y ejecutar ansible-playbook del archivo descomprimido. Todo por SSH