Skip to content
Snippets Groups Projects
Commit 02354802 authored by Chris Hines's avatar Chris Hines
Browse files

make our centos7 instances start kde instead of mate'

Former-commit-id: 89304fe1
parent 7427785f
No related branches found
No related tags found
No related merge requests found
---
#- include_vars: "{{ hostvars[ansible_hostname]['ansible_distribution'] }}_{{ ansible_architecture }}.yml"
- include_vars: "{{ ansible_distribution }}_{{ ansible_architecture }}.yml"
- include_vars: "CentOS_7_x86_64.yml"
......@@ -11,19 +10,7 @@
with_items: system_packages
when: ansible_os_family == 'Debian'
- name: yum group installs
shell: yum -y group install {{ item }}
sudo: true
with_items: system_group_packages
when: system_group_packages is defined
- name: install system packages yum
yum: name={{ item }} state=present update_cache=yes
sudo: true
with_items: system_packages
when: ansible_os_family == 'RedHat'
- name: force the use of mate desktop
- name: force the use of KDE desktop
template: src=vncserver.centos dest=/bin/vncserver
sudo: true
when: ansible_os_family == 'RedHat'
......
......@@ -59,7 +59,7 @@ $defaultXStartup
= ("#!/bin/sh\n\n".
"unset SESSION_MANAGER\n".
"unset DBUS_SESSION_BUS_ADDRESS\n".
"exec mate-session\n");
"exec startkde\n");
chop($host = `uname -n`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment