Skip to content

Commit 883d33c

Browse files
committed
Revert "vagrant: don't try to always install python package."
This reverts commit faabfc3. Because it fails with error "/bin/sh: 1: /usr/bin/python2.7: not found"
1 parent faabfc3 commit 883d33c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

vagrant/provisioning/bootstrap.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,12 @@
33
# Ubuntu 16.04. doesn't install python 2.x anymore and we have to install
44
# it manually to be able to run Ansible playbooks.
55

6-
- name: Determining whether python 2.7 is installed
7-
stat:
8-
path: /usr/bin/python2.7
9-
get_md5: no
10-
get_checksum: no
11-
register: python27
12-
136
- name: Updating packages cache
147
raw: apt-get update
158
become: yes
169
become_method: sudo
17-
when: not python27.stat.exists
1810

1911
- name: Installing python
2012
raw: apt-get install -y python2.7-minimal
2113
become: yes
2214
become_method: sudo
23-
when: not python27.stat.exists

0 commit comments

Comments
 (0)