Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Accelerators public code
infra
ansible
cs8_common
Commits
3c7799f0
Commit
3c7799f0
authored
Nov 18, 2021
by
Jean-Michel Elyn
Browse files
Change background according to host group (canary, early_bird, default, dinosaur, fossil)
parent
8217f22c
Pipeline
#3257713
passed with stage
in 21 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
global_vars/tasks/main.yml
View file @
3c7799f0
-
name
:
Load global variables
debug
:
msg
:
Loaded global variables
\ No newline at end of file
-
name
:
Set special snapshot_group
set_fact
:
snapshot_group
:
'
{{
item.string
}}'
when
:
inventory_hostname in groups[ item.group ]
loop
:
-
{
group
:
all
,
string
:
default
}
-
{
group
:
fossil
,
string
:
fossil
}
-
{
group
:
dinosaur
,
string
:
dinosaur
}
-
{
group
:
early_bird
,
string
:
early_bird
}
-
{
group
:
canary
,
string
:
canary
}
graphics/files/lightdm/Elarun_2560x1600.png
deleted
100644 → 0
View file @
8217f22c
1.42 MB
graphics/files/lightdm/lightdm-gtk-greeter.conf
View file @
3c7799f0
...
...
@@ -2,4 +2,4 @@
# File managed by ansible
[
greeter
]
background
=/
usr
/
share
/
backgrounds
/
acc
/
Elarun_2560x1600
.
png
background
=/
usr
/
share
/
backgrounds
/
acc
/
background_default
.
png
graphics/tasks/main.yml
View file @
3c7799f0
...
...
@@ -21,7 +21,11 @@
src
:
'
{{
item.src
}}'
dest
:
'
{{
item.dest
}}'
loop
:
-
{
src
:
lightdm/Elarun_2560x1600.png
,
dest
:
/usr/share/backgrounds/acc
}
-
{
src
:
/nfs/cs-ccr-accadm/opt/accadm/ansible_files/backgrounds/cs8/background_canary.png
,
dest
:
/usr/share/backgrounds/acc/
}
-
{
src
:
/nfs/cs-ccr-accadm/opt/accadm/ansible_files/backgrounds/cs8/background_default.png
,
dest
:
/usr/share/backgrounds/acc/
}
-
{
src
:
/nfs/cs-ccr-accadm/opt/accadm/ansible_files/backgrounds/cs8/background_dinosaur.png
,
dest
:
/usr/share/backgrounds/acc/
}
-
{
src
:
/nfs/cs-ccr-accadm/opt/accadm/ansible_files/backgrounds/cs8/background_early_bird.png
,
dest
:
/usr/share/backgrounds/acc/
}
-
{
src
:
/nfs/cs-ccr-accadm/opt/accadm/ansible_files/backgrounds/cs8/background_fossil.png
,
dest
:
/usr/share/backgrounds/acc/
}
-
{
src
:
lightdm/lightdm-gtk-greeter.conf
,
dest
:
/etc/lightdm/
}
-
name
:
Set default target
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment