diff --git a/lib/ansible/modules/apt.py b/lib/ansible/modules/apt.py index 3e5c3cf2007..6a3e16eba63 100644 --- a/lib/ansible/modules/apt.py +++ b/lib/ansible/modules/apt.py @@ -324,7 +324,7 @@ EXAMPLES = ''' purge: true - name: Run the equivalent of "apt-get clean" as a separate step - apt: + ansible.builtin.apt: clean: yes '''