diff --git a/playbooks/hello.yml b/playbooks/hello.yml index 9b44099..5a8a0e4 100644 --- a/playbooks/hello.yml +++ b/playbooks/hello.yml @@ -9,6 +9,19 @@ debug: msg: Hello, world! + - name: get debug infos + shell: + cmd: |- + echo ID=$(id -u) + echo PWD=$PWD + git remote -v || true + + register: output + + - name: Local run context + debug: + var: output + - name: Hello World hosts: web gather_facts: no