summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/name-case.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
commitba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch)
treead369728c1edbe3631c8150585659078ae5d7d0b /examples/playbooks/name-case.yml
parentReleasing progress-linux version 6.17.2-3~progress7.99u1. (diff)
downloadansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz
ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip
Merging upstream version 24.6.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/name-case.yml')
-rw-r--r--examples/playbooks/name-case.yml31
1 files changed, 30 insertions, 1 deletions
diff --git a/examples/playbooks/name-case.yml b/examples/playbooks/name-case.yml
index 5480d2c..62d7b56 100644
--- a/examples/playbooks/name-case.yml
+++ b/examples/playbooks/name-case.yml
@@ -1,4 +1,33 @@
---
- name: this lacks a capitalization
hosts: localhost
- tasks: []
+ tasks:
+ - name: Task that always changes
+ ansible.builtin.debug:
+ msg: I always change!
+ changed_when: true
+ notify: my handler
+
+ - name: Task with notify as list
+ ansible.builtin.debug:
+ msg: I always change!
+ changed_when: true
+ notify:
+ - my handler 1
+ - my handler
+ - my handler 2
+
+ - name: Task without notify
+ ansible.builtin.debug:
+ msg: I always change!
+ changed_when: true
+
+ handlers:
+ - name: my handler
+ ansible.builtin.debug:
+ msg: I never run :(
+
+ - name: Test task for listen
+ ansible.builtin.debug:
+ msg: I never run :(
+ listen: "my handler"