Update nolog.yml

This commit is contained in:
Chris Hammer 2023-11-16 10:35:13 -05:00
parent 00e961b1bd
commit 35d866f904

View File

@ -10,8 +10,17 @@
tasks: tasks:
- name: Echo password via command - 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... - name: What about via debug...
ansible.builtin.debug: ansible.builtin.debug:
msg: "your password is {{ __my_password }}" 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