AnsibleOutputController Resource

GET /user/v1.0/deployer/ansible

Security Roles Allowed
ADMIN, USER
Request Parameters
name type description
command query  
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json AnsibleOutput (JSON)
application/xml ansibleOutput (XML)

Example

Request
GET /user/v1.0/deployer/ansible
Accept: application/json

              
Response
HTTP/1.1 200 Looks Good
Content-Type: application/json

                
{
  "host" : "...",
  "result" : {
    "msg" : "...",
    "changed" : true,
    "end" : "...",
    "start" : "...",
    "delta" : "...",
    "stdout" : "...",
    "stderr" : "...",
    "cmd" : [ "...", "..." ],
    "stdout_lines" : [ "...", "..." ],
    "results" : [ {
      "_ansible_parsed" : true,
      "changed" : true,
      "cache_updated" : true,
      "_ansible_item_result" : true,
      "item" : [ "...", "..." ],
      "invocation" : { },
      "cache_update_time" : 12345,
      "_ansible_no_log" : true
    }, {
      "_ansible_parsed" : true,
      "changed" : true,
      "cache_updated" : true,
      "_ansible_item_result" : true,
      "item" : [ "...", "..." ],
      "invocation" : { },
      "cache_update_time" : 12345,
      "_ansible_no_log" : true
    } ]
  },
  "vmType" : "...",
  "cloudDeploymentDomain" : "...",
  "provisionID" : "...",
  "owner" : "user1",
  "id" : "58e3946e0fb4f562d84ba1ad"
}
                
              

DELETE /user/v1.0/deployer/ansible/all

Security Roles Allowed
ADMIN
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json string (JSON)
application/xml string (XML)

Example

Request
DELETE /user/v1.0/deployer/ansible/all
Accept: application/json

              
Response
HTTP/1.1 204 Looks Good
Content-Type: application/json

                
...
                
              

GET /user/v1.0/deployer/ansible/commands

Security Roles Allowed
ADMIN, USER
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json array of string (JSON)
application/xml list of string (XML)

Example

Request
GET /user/v1.0/deployer/ansible/commands
Accept: application/json

              
Response
HTTP/1.1 200 Looks Good
Content-Type: application/json

                
...
                
              

GET /user/v1.0/deployer/ansible/ids

Security Roles Allowed
ADMIN, USER
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json array of string (JSON)
application/xml list of string (XML)

Example

Request
GET /user/v1.0/deployer/ansible/ids
Accept: application/json

              
Response
HTTP/1.1 200 Looks Good
Content-Type: application/json

                
...
                
              

DELETE /user/v1.0/deployer/ansible/{id}

Security Roles Allowed
ADMIN, USER
Request Parameters
name type description
id path  
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json string (JSON)
application/xml string (XML)

Example

Request
DELETE /user/v1.0/deployer/ansible/{id}
Accept: application/json

              
Response
HTTP/1.1 204 Looks Good
Content-Type: application/json

                
...
                
              

GET /user/v1.0/deployer/ansible/{id}

Security Roles Allowed
ADMIN, USER
Request Parameters
name type description
id path  
Response Codes
code condition
401 Bad credentials
Response Body
media type data type
application/json AnsibleOutput (JSON)
application/xml ansibleOutput (XML)

Example

Request
GET /user/v1.0/deployer/ansible/{id}
Accept: application/json

              
Response
HTTP/1.1 200 Looks Good
Content-Type: application/json

                
{
  "host" : "...",
  "result" : {
    "msg" : "...",
    "changed" : true,
    "end" : "...",
    "start" : "...",
    "delta" : "...",
    "stdout" : "...",
    "stderr" : "...",
    "cmd" : [ "...", "..." ],
    "stdout_lines" : [ "...", "..." ],
    "results" : [ {
      "_ansible_parsed" : true,
      "changed" : true,
      "cache_updated" : true,
      "_ansible_item_result" : true,
      "item" : [ "...", "..." ],
      "invocation" : { },
      "cache_update_time" : 12345,
      "_ansible_no_log" : true
    }, {
      "_ansible_parsed" : true,
      "changed" : true,
      "cache_updated" : true,
      "_ansible_item_result" : true,
      "item" : [ "...", "..." ],
      "invocation" : { },
      "cache_update_time" : 12345,
      "_ansible_no_log" : true
    } ]
  },
  "vmType" : "...",
  "cloudDeploymentDomain" : "...",
  "provisionID" : "...",
  "owner" : "user1",
  "id" : "58e3946e0fb4f562d84ba1ad"
}