Commit | Line | Data |
---|---|---|
599b56d0 | 1 | --- |
eb2261ea KS |
2 | - name: Connect SLES Repo |
3 | when: ansible_distribution == 'SLES' | |
4 | ansible.builtin.command: | |
5 | argv: ['suseconnect', '-p', "{{item}}/{{ansible_distribution_version}}/{{ansible_architecture}}"] | |
6 | with_items: "{{common_sles_connect_repos}}" | |
7 | ||
599b56d0 | 8 | - name: Ensure common patterns are installed. |
58e747d8 | 9 | zypper: "name={{ common_patterns }} type=pattern state=present update_cache=yes" |
599b56d0 MJ |
10 | |
11 | - name: Ensure common packages are installed. | |
58e747d8 | 12 | zypper: "name={{ common_packages }} type=package state=present update_cache=yes" |