Hi,
Some remote modules doesn't support check_mode, which means they break
every time I use them on some role. I saw [1] that the variable
ansible_check_mode is only available on ansible 1.9, but we are still using
1.8. Is there any way of skipping the task when in check mode on this
version?
The problem is, one task register a variable and the other tries to access
its attribute, which fails because it is not defined. I tried to use
ec2_volume.skipped check, but it stills tries to access some its attribute
and fail the check.
ec2_volume": {
"changed": false,
"invocation": {
"module_args": "",
"module_name": "ec2_vol"
},
"msg": "remote module does not support check mode",
"skipped": true
}
Thanks,
-- Anderson
--
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/4dfd5423-7e4d-4180-9bf3-6e7fd2de0200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.