ansible-maven-plugin
ansible-maven-plugin copied to clipboard
allow colorful ansi output
Hey Tim,
i have a feature request. it would be nice to have colorful ansi output from my maven/ansible execution. looks like you'd need to pass an environment variable to the created ansible process (https://major.io/2014/06/25/get-colorful-ansible-output-in-jenkins/).
regards, Alphonse
Hi Alphonse
Sorry for the slow reply. The environment for the process that runs ansible should be inherited from the mvn process, therefore if the property is set before the build is run it should be passed to ansible.
export ANSIBLE_FORCE_COLOR=true; mvn verify
Does this work for you or is there a reason for explicitly setting it within the plugin?
Hi Tim,
yes, it does work. In my opinion it would be nice to have an option within maven to keep the build self contained.
regards, Alphonse
Am 30.11.2016 um 22:01 schrieb Tim Mullender <[email protected]mailto:[email protected]>:
Hi Alphonse
Sorry for the slow reply. The environment for the process that runs ansible should be inherited from the mvn process, therefore if the property is set before the build is run it should be passed to ansible.
export ANSIBLE_FORCE_COLOR=true; mvn verify
Does this work for you or is there a reason for explicitly setting it within the plugin?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tmullender/ansible-maven-plugin/issues/12#issuecomment-263994015, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAWohQC8sNNWIXE5OQze6FOG8GxpDvvCks5rDeQngaJpZM4K91MQ.