Fix git test on FreeBSD with Python 3.x.
This commit is contained in:
parent
2434abaaf7
commit
2a9e6e4282
2 changed files with 14 additions and 0 deletions
11
test/integration/targets/git/handlers/main.yml
Normal file
11
test/integration/targets/git/handlers/main.yml
Normal file
|
@ -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:
|
package:
|
||||||
name: git
|
name: git
|
||||||
when: ansible_distribution != "MacOSX"
|
when: ansible_distribution != "MacOSX"
|
||||||
|
notify:
|
||||||
|
- remove git
|
||||||
|
- remove git from FreeBSD
|
||||||
|
|
||||||
- name: SETUP | verify that git is installed so this test can continue
|
- name: SETUP | verify that git is installed so this test can continue
|
||||||
shell: which git
|
shell: which git
|
||||||
|
|
Loading…
Reference in a new issue