From a012b242b883327a3fea4294d1e7732167621941 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 11 Nov 2020 21:53:44 +0000 Subject: [PATCH] Add devel patterns --- roles/opensuse-leap/tasks/packages-cli.yml | 11 +++++++++++ roles/opensuse-leap/tasks/packages-gui.yml | 1 + 2 files changed, 12 insertions(+) diff --git a/roles/opensuse-leap/tasks/packages-cli.yml b/roles/opensuse-leap/tasks/packages-cli.yml index 114a378..6960010 100644 --- a/roles/opensuse-leap/tasks/packages-cli.yml +++ b/roles/opensuse-leap/tasks/packages-cli.yml @@ -5,6 +5,7 @@ zypper: name: '{{ packages }}' state: present + type: package vars: packages: - ansible @@ -29,3 +30,13 @@ - tmux - vim - zsh +- name: Install CLI patterns + become: true + zypper: + name: '{{ patterns }}' + state: present + type: pattern + vars: + patterns: + - devel_C_C++ + - devel_rpm_build diff --git a/roles/opensuse-leap/tasks/packages-gui.yml b/roles/opensuse-leap/tasks/packages-gui.yml index 31d780a..d6b03a7 100644 --- a/roles/opensuse-leap/tasks/packages-gui.yml +++ b/roles/opensuse-leap/tasks/packages-gui.yml @@ -5,6 +5,7 @@ zypper: name: '{{ packages }}' state: present + type: package vars: packages: - emacs-x11