如何使用ansible清理apt cache?
答
The apt
module被改变了to support autoclean
,but not clean
。在此之前,您可以使用the command
module:
- command: apt-get clean
become: yes
为什么这个问题收到两个反对票? –