diff options
author | Serge Simard <serge@agilitae.com> | 2019-05-17 06:39:58 -0400 |
---|---|---|
committer | Serge Simard <serge@agilitae.com> | 2019-05-27 16:24:48 -0400 |
commit | a3d9ac859fa47f2aa2849160e08c7a3c1048589e (patch) | |
tree | 2274828bb493be8e9c59aa1ee1e502644d9909b0 /ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests | |
parent | acbcd280dc9d04ed303ed994872a0f3ba6adbab3 (diff) |
Remote AWX ansible playbook executor
Issue-ID: CCSDK-1357
Change-Id: I794ce5450b341606829a1a37d9efed48abab32cc
Signed-off-by: Serge Simard <serge@agilitae.com>
Diffstat (limited to 'ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests')
-rw-r--r-- | ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests/sample-remote-ansible-request.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests/sample-remote-ansible-request.json b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests/sample-remote-ansible-request.json new file mode 100644 index 000000000..6169da9c7 --- /dev/null +++ b/ms/blueprintsprocessor/functions/ansible-awx-executor/src/test/resources/payload/requests/sample-remote-ansible-request.json @@ -0,0 +1,29 @@ +{ + "actionIdentifiers": { + "blueprintName": "remote_ansible", + "blueprintVersion": "1.0.0", + "actionName": "execute-remote-ansible", + "mode": "sync" + }, + "commonHeader": { + "flags": { + "force": true, + "ttl": 3600 + }, + "originatorId": "mock", + "requestId": "123456-2000", + "subRequestId": "sub-123456-1000", + "timestamp": "2012-04-23T18:25:43.511Z" + }, + "payload": { + "execute-remote-ansible-request": { + "endpoint-selector": "awx", + "job-template-name": "hello_world_job_template", + "inventory": "Demo Inventory", + "extra-vars": { + "site_id": "3 - Belmont", + "tor_group": "vEPC" + } + } + } +} |