Skip to content

Commit 39a15c1

Browse files
php-codercssru
authored andcommitted
vagrant: don't try to always install python package (better fix).
1 parent aada747 commit 39a15c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vagrant/provisioning/bootstrap.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# it manually to be able to run Ansible playbooks.
55

66
- name: Updating packages cache
7-
raw: apt-get update
7+
raw: '[ -x /usr/bin/python2.7 ] || apt-get update'
88
become: yes
99
become_method: sudo
1010

1111
- name: Installing python
12-
raw: apt-get install -y python2.7-minimal
12+
raw: '[ -x /usr/bin/python2.7 ] || apt-get install -y python2.7-minimal'
1313
become: yes
1414
become_method: sudo

0 commit comments

Comments
 (0)