From faea1cb26354b0c4277abd6946864bc929b18f86 Mon Sep 17 00:00:00 2001 From: rcordier Date: Wed, 22 May 2024 11:31:28 -0400 Subject: [PATCH] fix: playbook --- playbooks/hello.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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