Hello, For our deployment purposes using Ansible and SVN we would need to test (check mode, dry-run) before run the deployment playbook. If there is some missing file in the destination it will pass the check-mode but not the definitive one.
I looked at the code and I think it will do the job to add in current line 286: if module.check_mode or not update: if (svn.has_local_mods() && !force) module.fail_json(msg="ERROR: modified files exist in the repository.") check, before, after = svn.needs_update() module.exit_json(changed=check, before=before, after=after) I am far from an expert on this, so I prefer to post it here so maybe someone can help and implement it! :) Thanks and regards, Victor. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/66769713-cf2f-432c-ac0e-2295609df305%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
