Closed itewk closed 9 years ago
@cpitman
I realize why in a normal exec the onlyif and unless are still run even in noop scenario, but for jboss_exec , at least for my use case it doesnt make sense. So unless you have another idea I don't know what else to do but to not have the unless and onlyif statements run if noop is set.
@cpitman
I am thinking we do this in the cli_provider for execute_command, if noop, then don't execute.
Thoughts?
@cpitman
Any chances of getting this merged before Monday?
If the 'noop' attribute is set to true for a jboss_exec resource it is not being obayed for the 'onlyif' and 'unless' statements.
This causes a problem if jboss is stopped and the noop flag is being used to prevent any commands from being run against a stopped jboss instance.