ansible-1.4.1 exhibits this problem on Fedora. Doing things by the book (
http://docs.ansible.com/developing_modules.html#check-mode ):
module = AnsibleModule(
argument_spec = dict(...),
supports_check_mode=True
)
if module.check_mode:
# Check if any changes would be made by don't actually make those
changes
module.exit_json(changed=check_if_system_state_would_be_changed())
I get {"msg": "cannot yet run check mode against old-style modules",
"skippped": true}
when attempting to run in "check mode".
code (still work in progress) at
https://github.com/droopy4096/ansible-owncloud/blob/master/library/augeas
found https://github.com/ansible/ansible/pull/5151 - is that the
resolution? I'm trying to stick with Fedora packages - does it mean gotta
get 1.5 branch?
--
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].
For more options, visit https://groups.google.com/groups/opt_out.