Ambari rest api automation
Hello
I have got strange permission problem with Ambari.
I have 2 stages, both have same configs.
Only difference in config are information about Postgres DB server.
I'm trying to stop services with curl.
Curl command:
curl -i -u admin:password -H "X-Requested-By: ambari" -X PUT -d "{"HostRoles": {"state": "INSTALLED"}}" https://ambari_server:8443/api/v1/clusters/DEV/hosts/slave01/host_components/NODEMANAGER
In Dev stage it all working.
But in test stage Ambari throws following message whet ansible triggers service stop:
INFO [ambari-client-thread-1456334] HostComponentResourceProvider:668 - Ignoring ServiceComponentHost as operation is not allowed,
What option in ambari is causing this "not allowed"?

