N
N
neothesilent2016-05-19 16:27:18
linux
neothesilent, 2016-05-19 16:27:18

How to display the full Ansible role execution log in Teamcity?

Hello,
There are 3 Teamcity servers, Ansible and a test environment. I need to make it so that through Teamcity the role of Ansible is remotely executed on a test environment. To do this, I passed the ssh keys between Teamcity and Ansible, in Teamcity I made a Build Configuration with 1 step, in which it executes the ssh connection script with the parameters:

ssh -T -p port [email protected] ansible-playbook /path/to.yml --check

The yml already specifies the host for the test environment. When I run Build from TC , the command works, but not the full output is written to the Build Log, for some reason it only showed me [Deprecation Warnings] , they are there in the course of how the playbook is executed, but everything else is not. I know that there is an Ansible plugin for TC, but it has not been updated for about a year, and there are also Python scripts with Callbacks.
What do you advise to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Nikolaev, 2016-05-19
@nightvich

Try adding an output redirect...
to the end of the command you invoke:
2>&1

N
Nikolay Talanov, 2015-07-30
@Ivanopalas

I'm too lazy to write code, I'll write about possible options:
1) Using css blend-modes. But it seems to me that this will not work with a heterogeneous picture.
2) Duplicate this heading, change its color, place it inside the skewed container, rotate it in the opposite direction with skew (after all, you will make the skewed container through skew) and use translateY to move the whole thing (ala the container moves up, and the heading down). In the form of a description, it may look complicated, but as soon as you throw in some kind of crooked example, it becomes much easier.
For example, here are 2 demos with a similar mask effect (only without beveled corners, but this is essentially 1 property to add):
codepen.io/suez/pen/XJGOyL- here the text in the menu items is "recolored" in white, although in fact there is simply a duplicate of the list inside the moving block, which moves in the opposite direction, while the block itself moves.
codepen.io/suez/pen/kqlIJ - my very first demo on this topic, the code there is probably creepy, but you can easily understand how this mask effect works through F12.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question