Ansible should cleanup the files inside that folder. It should be empty! I dont know a way to completly remove it... You could change the path to /tmp/.ansible and then it should automatically be cleaned by the OS (because /tmp is a tmpfs which is located in DRAM or if its a normal filesystem, by a systemd.timer).
Another thing you probably want to change, set no_logs to True: no_logs: True which prevents ansible to write the logs in syslog. Am Donnerstag, 6. Juli 2017 00:54:11 UTC+2 schrieb Nick Kakouros: > > I noticed that Ansible keeps a ~/.ansible directory. How can I delete it? > Are there other traces of Ansible on the VM being configured? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cf5219aa-e688-4d21-b2c1-30fa159be471%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
