In the previous section of this chapter, we covered how to protect your secrets at rest on the filesystem. However, that is not the only concern when operating Ansible with secrets. That secret data is going to be used in tasks as module arguments, loop inputs, or any number of other things. This may cause the data to be transmitted to remote hosts, logged to local or remote log files, or even displayed onscreen. This section of the chapter will discuss strategies for protecting your secrets during operation.
Protecting secrets while operating
Secrets transmitted to remote hosts
As we learned in Chapter 1, The System Architecture and Design of Ansible, Ansible will combine module code and arguments and write this out to a...