Just wondering if there is anything special about running CVM commands via ansible or other non-interactive session tools? The ansible ping module works just fine but when I start using Nutanix specific commands i get errors telling me that "no such file exists." The commands i'm running are "cluster status" and "ncli rsyslog-config get-status"
These obviously work in a regular interactive session but not with ansible. Am i missing a path variable declaration or something? Are the commands only available via interactive sessions(if that is even a thing)?
Update: a coworker who is better at linux than I am said that the profile probably isn't loaded the same so I need to fully source all the commands. So right now I'm doing my best to find them and running them that way. So far so good.
Best answer by itguyadam
That is my syslog task list.