summaryrefslogtreecommitdiff
path: root/tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml')
-rw-r--r--tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml41
1 files changed, 36 insertions, 5 deletions
diff --git a/tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml b/tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml
index ea772d607..539db80b7 100644
--- a/tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml
+++ b/tests/fixtures/config/remote-zuul-stream/git/org_project/playbooks/command.yaml
@@ -90,10 +90,41 @@
- failed_in_loop2
ignore_errors: True
-- hosts: all
+# Try transitive includes two different ways
+- hosts: compute1
tasks:
- - name: Remote shell task with python exception
- command: echo foo
- args:
- chdir: /remote-shelltask/somewhere/that/does/not/exist
+ - include_role:
+ name: include-echo-role
+ vars:
+ item: transitive-one
+ - include_role:
+ name: include-echo-role
+ vars:
+ item: transitive-two
+
+- hosts: compute1
+ roles:
+ - role: include-echo-role
+ item: transitive-three
+ - role: include-echo-role
+ item: transitive-four
+
+- hosts: compute1
+ tasks:
+ - name: Command Not Found
+ command: command-not-found
failed_when: false
+
+- hosts: compute1
+ tasks:
+
+ - name: Debug raw variable in msg
+ debug:
+ msg: '{{ ansible_version }}'
+
+ - name: Debug raw variable in a loop
+ debug:
+ msg: '{{ ansible_version }}'
+ loop:
+ - 1
+ - 2