mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 22:01:15 +00:00
Fix git test on FreeBSD with Python 3.x.
This commit is contained in:
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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user