initial project commit
This commit is contained in:
commit
f03b8f902e
26
nolog.yml
Normal file
26
nolog.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Test Nolog
|
||||
hosts: all
|
||||
become: false
|
||||
gather_facts: false
|
||||
|
||||
vars:
|
||||
__my_password: 09fjgn34t87j3t8
|
||||
|
||||
|
||||
tasks:
|
||||
- name: Echo password via command
|
||||
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 }}"
|
||||
|
||||
- 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
|
Loading…
x
Reference in New Issue
Block a user