Oops, wrong logic in post-ks script. Corrected the one.

This commit is contained in:
Emiliano Vavassori 2015-09-21 01:01:47 +02:00
parent a2e9ac6678
commit 6549ed1df0
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ TARGETHOSTNAME=$(wget -qO- http://{{ ansible_local.domain.serverfqdn }}:3000/wha
echo $TARGETHOSTNAME > /etc/hostname
sed -i "s/kickseed/$TARGETHOSTNAME/g" /etc/hosts
{% if ansible_product_name != 'VirtualBox' %}
{% if ansible_product_name == 'VirtualBox' %}
# Installo l'ultimo ansible per ansible-pull
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
add-apt-repository -y ppa:ansible/ansible

View File

@ -5,7 +5,7 @@ TARGETHOSTNAME=$(wget -qO- http://{{ ansible_local.domain.serverfqdn }}:3000/wha
echo $TARGETHOSTNAME > /etc/hostname
sed -i "s/kickseed/$TARGETHOSTNAME/g" /etc/hosts
{% if ansible_product_name != 'VirtualBox' %}
{% if ansible_product_name == 'VirtualBox' %}
# Installo l'ultimo ansible per ansible-pull
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
add-apt-repository -y ppa:ansible/ansible