1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/subversion/tasks/main.yml

28 lines
594 B
YAML
Raw Normal View History

---
- name: clean out the checkout dir
file:
path: '{{ subversion_test_dir }}'
state: '{{ item }}'
loop:
- absent
- directory
- name: setup subversion server
include_tasks: setup.yml
- block:
- name: verify that subversion is installed so this test can continue
shell: which svn
- name: run tests
include_tasks: tests.yml
always:
- name: stop apache after tests
command: apachectl -k stop -f {{ subversion_server_dir }}/subversion.conf
- name: remove tmp subversion server dir
file:
path: '{{ subversion_server_dir }}'
state: absent