ansible-cmdb icon indicating copy to clipboard operation
ansible-cmdb copied to clipboard

Custom fact using command output

Open fenrir429 opened this issue 9 months ago • 0 comments

Hello,

We are doing a POC to use ansible-cmdb in our environment. I cant seem to find any documentation on how we could run specific commands and output that as a custom column. I see some static facts you can specify but not getting the ouput from a command.

Such as:

have a fact that runs the 'mmgetstate' command and if state is active then specify active on the host under that column.

fenrir429 avatar May 01 '24 20:05 fenrir429