|
@@ -9,7 +9,7 @@ echo \"%Ansible ALL=(ALL) NOPASSWD: ALL\" > /etc/sudoers.d/Ansible
|
|
|
echo "Set remote access"
|
|
|
mkdir /home/ansible/.ssh
|
|
|
chmod 700 /home/ansible/.ssh
|
|
|
-curl -O /home/ansible/.ssh/authorized_keys https://git.xo.nl/marcel/deploy/ansible.pub
|
|
|
+curl -O /home/ansible/.ssh/authorized_keys https://git.xo.nl/marcel/deployment/raw/master/ansible.pub
|
|
|
chown -R ansible:Ansible /home/ansible/.ssh
|
|
|
echo "Enabling IPv6"
|
|
|
sed -i '/net.ipv6.conf.all.disable_ipv6.*/d' /etc/sysctl.conf && sysctl -q -p && echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
|