Closed abendt closed 7 years ago
Hi Alphonse
Which goal are you using? For ansible-playbook this should be possible. There is an example in https://github.com/tmullender/ansible-maven-plugin/blob/master/src/it/extra-vars-ansible-playbook/pom.xml
Does that help?
Tim
Hey Tim,
i'm using the playbook goal the extraVars config options issues the option -e. this is not want i need. i want to add -vvv for a more verbose output.
so there could be either a verbose configuration option or a more generic extraArgs configuration option?
Alphonse
Sorry Alphonse, I misread what you'd written, extra options should be possible but don't appear to be documented. I can check later when I have my laptop but you can see an example at https://github.com/tmullender/ansible-maven-plugin/blob/master/src/it/extra-options-ansible/pom.xml
I've double checked the following works within the configuration section of the playbook goal
<options>
<option>-vvv</option>
</options>
Does this work for you?
Hi Tim,
this works. thank you!
Alphonse
Documentation updated, closing
would be useful to be able to define extra args to the execution e.g. "-v" etc