summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-complexity-pass.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/playbooks/rule-complexity-pass.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/playbooks/rule-complexity-pass.yml b/examples/playbooks/rule-complexity-pass.yml
new file mode 100644
index 0000000..27ec7f4
--- /dev/null
+++ b/examples/playbooks/rule-complexity-pass.yml
@@ -0,0 +1,35 @@
+---
+- name: Test fixture complexity rule
+ hosts: all
+ tasks:
+ - name: Task 1
+ ansible.builtin.debug:
+ msg: "This is task 1"
+
+ - name: Task 2
+ ansible.builtin.debug:
+ msg: "This is task 2"
+
+ - name: Task 3
+ ansible.builtin.debug:
+ msg: "This is task 3"
+
+ - name: Task 4
+ ansible.builtin.debug:
+ msg: "This is task 4"
+
+ - name: Task 5
+ block:
+ - name: Include under block level 1
+ ansible.builtin.debug:
+ msg: "This is nested block"
+ - name: Block level 2
+ block:
+ - name: Include under block level 2
+ ansible.builtin.debug:
+ msg: "This is block 2"
+ - name: Block level 3
+ block:
+ - name: INCLUDE under block level 3
+ ansible.builtin.debug:
+ msg: "This is block 3"