标签: ansible ansible-playbook apt
这个link暗示了模块的存在,但我无法实现它。预计会有任何解决方案。
答案 0 :(得分:3)
The apt module已被更改to support autoclean,but not clean。在此之前,您可以使用the command module:
apt
autoclean
clean
command
- command: apt-get clean become: yes