summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-complexity-pass.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit1faea9a6c75f33109e8f66b57b432fdad57b3f46 (patch)
tree4184ce38ac0cf9d5a46bbbae03c87be82927f12b /examples/playbooks/rule-complexity-pass.yml
parentAdding upstream version 6.17.2. (diff)
downloadansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.tar.xz
ansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.zip
Adding upstream version 24.6.1.upstream/24.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/rule-complexity-pass.yml')
-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"