diff --git a/test-nspawn b/test-nspawn index 540cafa..4afdc1f 100755 --- a/test-nspawn +++ b/test-nspawn @@ -21,6 +21,7 @@ then apt-key add entrouvert.gpg apt update /etc/init.d/postgresql start + hostname jenkins PORT=`pg_lsclusters | tail -n1 | awk '{ print $3 }'` echo 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml' su testuser -l -c 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml'