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