summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/play_iterator
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/play_iterator')
-rw-r--r--test/integration/targets/play_iterator/aliases2
-rw-r--r--test/integration/targets/play_iterator/playbook.yml10
-rwxr-xr-xtest/integration/targets/play_iterator/runme.sh5
3 files changed, 17 insertions, 0 deletions
diff --git a/test/integration/targets/play_iterator/aliases b/test/integration/targets/play_iterator/aliases
new file mode 100644
index 0000000..8278ec8
--- /dev/null
+++ b/test/integration/targets/play_iterator/aliases
@@ -0,0 +1,2 @@
+shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/play_iterator/playbook.yml b/test/integration/targets/play_iterator/playbook.yml
new file mode 100644
index 0000000..76100c6
--- /dev/null
+++ b/test/integration/targets/play_iterator/playbook.yml
@@ -0,0 +1,10 @@
+---
+- hosts: localhost
+ gather_facts: false
+ tasks:
+ - name:
+ debug:
+ msg: foo
+ - name: "task 2"
+ debug:
+ msg: bar
diff --git a/test/integration/targets/play_iterator/runme.sh b/test/integration/targets/play_iterator/runme.sh
new file mode 100755
index 0000000..9f30d9e
--- /dev/null
+++ b/test/integration/targets/play_iterator/runme.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+set -eux
+
+ansible-playbook playbook.yml --start-at-task 'task 2' "$@"