summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/transform-key-order-play.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/transform-key-order-play.yml')
-rw-r--r--examples/playbooks/transform-key-order-play.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/playbooks/transform-key-order-play.yml b/examples/playbooks/transform-key-order-play.yml
new file mode 100644
index 0000000..e61920d
--- /dev/null
+++ b/examples/playbooks/transform-key-order-play.yml
@@ -0,0 +1,10 @@
+---
+- hosts: localhost
+ name: This is a playbook # <-- name key should be the first one
+ tasks:
+ - name: A block
+ when: true
+ block:
+ - name: Display a message
+ ansible.builtin.debug:
+ msg: Hello world!