summaryrefslogtreecommitdiffstats
path: root/tasks/RedHat.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-07-05 17:54:46 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-07-05 17:54:46 +0200
commitae011f18e8693037da2ccdfb71d5e3c44bc3fbdf (patch)
tree61e9a852b4827252c6328d0bd7e531a75f9b9435 /tasks/RedHat.yml
downloaditm-ae011f18e8693037da2ccdfb71d5e3c44bc3fbdf.tar.gz
itm-ae011f18e8693037da2ccdfb71d5e3c44bc3fbdf.tar.bz2
itm-ae011f18e8693037da2ccdfb71d5e3c44bc3fbdf.tar.xz
itm-ae011f18e8693037da2ccdfb71d5e3c44bc3fbdf.zip
Squashed 'roles/desktop/' content from commit c2182ac
git-subtree-dir: roles/desktop git-subtree-split: c2182aceefe0e1a5d9abc50be59c596def2fa5d2
Diffstat (limited to 'tasks/RedHat.yml')
-rw-r--r--tasks/RedHat.yml29
1 files changed, 29 insertions, 0 deletions
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