summaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2023-05-05 17:07:48 +0200
committerjerome <jerome@xlinfo.fr>2023-05-05 17:07:48 +0200
commit10468afe36a0fc534bc889c4bf6aa1f28588f66b (patch)
tree3fcff19884285813e341dbfb46e812cc44a84598 /tasks/main.yml
downloadhelloworld-10468afe36a0fc534bc889c4bf6aa1f28588f66b.tar.gz
helloworld-10468afe36a0fc534bc889c4bf6aa1f28588f66b.zip
commit initial
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
new file mode 100644
index 0000000..d073391
--- /dev/null
+++ b/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+# tasks file for helloworld
+
+- name: echo 'hello world'
+ command: echo "Hello {{ world }}"
+ register: result
+
+- name: print message
+ debug:
+ msg: "{{ result.stdout_lines }}"
+