如何使用ansible清理apt缓存?
How to clean apt cache using ansible?
这 link 暗示存在一个模块,但我无法实现它。任何解决方案都是预期的。
The apt
module was altered to support autoclean
, but not clean
. Until that happens, you can use the command
module:
- command: apt-get clean
become: yes
这 link 暗示存在一个模块,但我无法实现它。任何解决方案都是预期的。
The apt
module was altered to support autoclean
, but not clean
. Until that happens, you can use the command
module:
- command: apt-get clean
become: yes