pah_test/nolog.yml
2023-11-16 10:32:45 -05:00

17 lines
379 B
YAML

---
- 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 }}"