aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh4
-rw-r--r--host_vars/vultr2
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 718f421..242f184 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -21,9 +21,9 @@ else
echo "Generating SSH key ..."
ssh-keygen -t ed25519 -C "ansible" -f "${SSHKEY}"
echo "Generated SSH key: ${SSHKEY}"
- echo "Bootstrap target by installing Python2.7 ..."
+ echo "Bootstrap target by installing Python ..."
ansible vultr -u root \
- -m raw -a "pkg install -y python27"
+ -m raw -a "pkg update; pkg install -y python3"
ansible-playbook \
--verbose --diff \
--ask-pass --ask-become-pass \
diff --git a/host_vars/vultr b/host_vars/vultr
index a8c8daa..2eb56f7 100644
--- a/host_vars/vultr
+++ b/host_vars/vultr
@@ -2,7 +2,7 @@
---
ansible_ssh_host: vultr.liwt.net
ansible_ssh_port: 8864
-ansible_python_interpreter: /usr/local/bin/python2.7
+ansible_python_interpreter: /usr/local/bin/python3
network:
hostname: vultr