1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Make sure export param for subversion module is checked as a boolean

Fixes #7548
This commit is contained in:
James Cammarata 2014-05-27 14:09:50 -05:00
parent ca734fde8b
commit e85c7f848f
2 changed files with 5 additions and 7 deletions

View file

@ -176,7 +176,7 @@ def main():
username=dict(required=False),
password=dict(required=False),
executable=dict(default=None),
export=dict(default=False, required=False),
export=dict(default=False, required=False, type='bool'),
),
supports_check_mode=True
)

View file

@ -94,12 +94,10 @@
subversion: repo={{ repo }} dest={{ checkout_dir }} export=True
register: subverted4
# FIXME: this needs to be fixed in the code see GitHub 6079
#- name: verify on a reclone things are marked unchanged
# assert:
# that:
# - "not subverted.changed"
- name: verify on a reclone things are marked unchanged
assert:
that:
- "not subverted4.changed"
# TBA: test for additional options or URL variants welcome