2 - name: Define common_patterns.
4 common_patterns: "{{ __common_patterns | list }}"
5 when: common_patterns is not defined
7 - name: Ensure common patterns are installed.
8 zypper: "name={{ item }} type=pattern state=present update_cache=yes"
9 with_items: "{{ common_patterns }}"
11 - name: Ensure common packages are installed.
12 zypper: "name={{ item }} type=package state=present update_cache=yes"
13 with_items: "{{ common_packages }}"