Is it possible to find Ansible command history on the remote machine?

1,295 views
Skip to first unread message

Eddie Peters

unread,
Dec 15, 2016, 12:19:26 PM12/15/16
to Ansible Project
I can't find an answer to this already, but maybe it's because I don't know what to search for.

Is it possible for someone with unrestricted access to the remote machine to find previously-run Ansible commands on that machine?

The specific thing I'm concerned in is whether they could find a password given as part of a command to the shell module.


To illustrate my question, if this task was run:

shell: do_something.sh --password="password_text" creates='some_file'

Could the root user find "password_text" anywhere?

Brian Coca

unread,
Dec 15, 2016, 2:35:29 PM12/15/16
to ansible...@googlegroups.com
​In the system log, but you can prevent this by setting no_log: true on the task.​


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages