Fix git test on FreeBSD with Python 3.x.

pull/54567/head
Matt Clay 5 years ago
parent 2434abaaf7
commit 2a9e6e4282

@ -0,0 +1,11 @@
- name: remove git
package:
name: git
state: absent
- name: remove git from FreeBSD
pkgng:
name: git
state: absent
autoremove: yes
when: ansible_distribution == "FreeBSD"

@ -12,6 +12,9 @@
package:
name: git
when: ansible_distribution != "MacOSX"
notify:
- remove git
- remove git from FreeBSD
- name: SETUP | verify that git is installed so this test can continue
shell: which git

Loading…
Cancel
Save