From ae011f18e8693037da2ccdfb71d5e3c44bc3fbdf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 5 Jul 2018 17:54:46 +0200 Subject: Squashed 'roles/desktop/' content from commit c2182ac git-subtree-dir: roles/desktop git-subtree-split: c2182aceefe0e1a5d9abc50be59c596def2fa5d2 --- tasks/RedHat.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tasks/RedHat.yml (limited to 'tasks/RedHat.yml') diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml new file mode 100644 index 0000000..eaa92ff --- /dev/null +++ b/tasks/RedHat.yml @@ -0,0 +1,29 @@ +--- + +- debug: var=redhat_desktop + +- name: Install RedHat Gnome desktop + yum: name="@^gnome-desktop-environment" state=present + when: redhat_desktop == 'gnome' or redhat_desktop == 'gnome_shell' + +- name: Install RedHat KDE desktop + yum: name="@^kde-desktop-environment" state=present + when: redhat_desktop == 'kde' + +- name: Install RedHat Cinnamon desktop + #shell: yum --enablerepo=epel -y install cinnamon* x11 + yum: enablerepo=epel name="@^cinnamon*" state=present + when: redhat_desktop == 'cinnamon' + +- name: Install RedHat MATE desktop + #shell: yum --enablerepo=epel -y groupinstall mate-desktop-environment x11 + yum: enablerepo=epel name="@^mate-desktop-environment" state=present + when: redhat_desktop == 'mate' + +- name: Install RedHat Xfce desktop + #shell: yum --enablerepo=epel -y groupinstall xfce-desktop x11 + yum: enablerepo=epel name="@^xfce-desktop" state=present + when: redhat_desktop == 'xfce' + +- name: Install RedHat X11 + yum: name="@x11" state=present -- cgit v1.2.3