--- - name: Update apk cache. apk: update_cache=yes - name: Ensure common packages are installed. apk: "name={{ item }} state=present" with_items: common_packages