From 35d866f90455d335992834abde88436716207927 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 16 Nov 2023 10:35:13 -0500 Subject: [PATCH] Update nolog.yml --- nolog.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nolog.yml b/nolog.yml index a5f11f9..8e910a3 100644 --- a/nolog.yml +++ b/nolog.yml @@ -10,8 +10,17 @@ tasks: - name: Echo password via command - ansible.builtin.command: "/bin/echo 'hello world - your password is {{ __my_password }}" + ansible.builtin.command: "/bin/echo 'hello world - your password is {{ __my_password }}'" - name: What about via debug... ansible.builtin.debug: - msg: "your password is {{ __my_password }}" \ No newline at end of file + msg: "your password is {{ __my_password }}" + + - name: Echo password via command (no_log) + ansible.builtin.command: "/bin/echo 'hello world - your password is {{ __my_password }}'" + no_log: True + + - name: What about via debug... (no_log) + ansible.builtin.debug: + msg: "your password is {{ __my_password }}" + no_log: True \ No newline at end of file