Oops, wrong logic in post-ks script. Corrected the one.
This commit is contained in:
parent
a2e9ac6678
commit
6549ed1df0
@ -5,7 +5,7 @@ TARGETHOSTNAME=$(wget -qO- http://{{ ansible_local.domain.serverfqdn }}:3000/wha
|
|||||||
echo $TARGETHOSTNAME > /etc/hostname
|
echo $TARGETHOSTNAME > /etc/hostname
|
||||||
sed -i "s/kickseed/$TARGETHOSTNAME/g" /etc/hosts
|
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
|
# Installo l'ultimo ansible per ansible-pull
|
||||||
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
|
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
|
||||||
add-apt-repository -y ppa:ansible/ansible
|
add-apt-repository -y ppa:ansible/ansible
|
||||||
|
@ -5,7 +5,7 @@ TARGETHOSTNAME=$(wget -qO- http://{{ ansible_local.domain.serverfqdn }}:3000/wha
|
|||||||
echo $TARGETHOSTNAME > /etc/hostname
|
echo $TARGETHOSTNAME > /etc/hostname
|
||||||
sed -i "s/kickseed/$TARGETHOSTNAME/g" /etc/hosts
|
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
|
# Installo l'ultimo ansible per ansible-pull
|
||||||
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
|
export https_proxy=https://{{ ansible_local.domain.serverip }}:3128
|
||||||
add-apt-repository -y ppa:ansible/ansible
|
add-apt-repository -y ppa:ansible/ansible
|
||||||
|
Loading…
x
Reference in New Issue
Block a user