---
- name: Install Packages
community.general.pkgng:
state: present
name: "{{ packages }}"
- command: which cpdup
register: result