diff options
author | Aaron LI <aly@aaronly.me> | 2019-09-19 09:58:49 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-09-19 09:58:49 +0800 |
commit | 248a4012252ed599d4300a0677aab3eebeaae805 (patch) | |
tree | 501435847d9d48a238d186d267dda7667c77ee94 /bootstrap.sh | |
parent | b990076dd66a62598fb461fb523d801dbe87f47a (diff) | |
download | ansible-dfly-vps-248a4012252ed599d4300a0677aab3eebeaae805.tar.bz2 |
bootstrap: Install and use Python 3
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 4 |
1 files changed, 2 insertions, 2 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 \ |