Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 549 Bytes
---
version: '1.0'
input:
- host
- env
tasks:
test_core_local:
action: core.remote
input:
hosts: <% ctx().host %>
env: <% ctx().env %>
cmd: st2 run core.local date
test_core_http:
action: core.remote
input:
hosts: <% ctx().host %>
env: <% ctx().env %>
cmd: st2 run core.http url=https://www.google.com
test_core_remote_single_host:
action: core.remote
input:
hosts: <% ctx().host %>
env: <% ctx().env %>
cmd: st2 run core.remote hosts=<% ctx().host %> hostname