Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
02354802
Commit
02354802
authored
8 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/vncserver/tasks/main.yml
+1
-14
1 addition, 14 deletions
roles/vncserver/tasks/main.yml
roles/vncserver/templates/vncserver.centos
+1
-1
1 addition, 1 deletion
roles/vncserver/templates/vncserver.centos
with
2 additions
and
15 deletions
roles/vncserver/tasks/main.yml
+
1
−
14
View file @
02354802
---
#- 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'
...
...
This diff is collapsed.
Click to expand it.
roles/vncserver/templates/vncserver.centos
+
1
−
1
View file @
02354802
...
...
@@ -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
`);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment