ansible-cmdb
ansible-cmdb copied to clipboard
Custom fact using command output
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.